API Reference
Counterparties and FX payments

Update counterparty

PUT/api/v1/customer/{customerId}/counterparty/{counterpartyId}
Base URL: https://bloquo.mimicr.dev · provider: https://api.bloquo.io

Updates bank details or contact information of a counterparty.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

customerIdinteger<int64>required
counterpartyIdinteger<int64>required

Body

application/json
legalNamestring
Example: "Maria Santos"
tradeNamestring | null
taxIdstring
Example: "987.654.321-00"
taxIdCountrystring
Example: "BR"
addressstring
Example: "Rua das Flores, 123, São Paulo, SP, 01310-100"
defaultCurrencystring | null
Example: "BRL"
bankInformationsobject[]

Full replacement of the counterparty's payment methods when provided.

Show child attributes
currencystringrequired

ISO 4217 currency code or crypto ticker.

Example: "BRL"
countrystringrequired

ISO 3166-1 alpha-2 country code.

Example: "BR"
typestringrequired

Payment rail type for this bank information entry.

PIXTEDCRYPTOWIRESEPAACH
labelstring

Human-readable label for this payment method.

Example: "PIX CPF"
isDefaultboolean

Whether this is the default payment method for this currency.

Example: true
beneficiaryNamestring | null
Example: "Maria Santos"
beneficiaryTaxIdstring | null
Example: "987.654.321-00"
beneficiaryTaxIdCountrystring | null
Example: "BR"
bankNamestring | null
Example: "Itaú Unibanco"
bankCodestring | null

Bank ISPB or COMPE code.

Example: "341"
bankBranchstring | null
Example: "0001"
accountNumberstringrequired

Account number, PIX key, or wallet address depending on type.

Example: "987.654.321-00"
accountTypestring | null

Account type (e.g. checking, savings).

routingNumberstring | null
abastring | null
ibanstring | null
swiftBicstring | null
walletAddressstring | null

Blockchain wallet address (CRYPTO type only).

blockchainstring | null

Blockchain network (CRYPTO type only).

tagOrMemostring | null

Tag or memo required by some blockchains (e.g. XRP, XLM).

Responses

200Counterparty updated.
statusboolean
Example: true
statusCodeinteger
Example: 200
resultobject
Show child attributes
idinteger<int64>
Example: 5
legalNamestring
Example: "Maria Santos"
tradeNamestring | null
taxIdstring
Example: "987.654.321-00"
taxIdCountrystring
Example: "BR"
entityTypestring

Legal entity type of the counterparty.

IndividualCompany
enabledboolean
Example: true
addressstring
Example: "Rua das Flores, 123, São Paulo, SP, 01310-100"
riskLevelstring | null

Risk classification assigned by compliance.

relatedCustomerIdinteger<int64> | null

If this counterparty is also a Bloquo customer, their customer ID.

bankInformationsobject[]
Show child attributes
idinteger<int64>
Example: 1
ownerTypestring
Example: "Counterparty"
ownerIdinteger<int64>
Example: 5
currencystring
Example: "BRL"
countrystring
Example: "BR"
typestring

Payment rail type for this bank information entry.

PIXTEDCRYPTOWIRESEPAACH
labelstring
Example: "PIX CPF"
enabledboolean
Example: true
isDefaultboolean | null
Example: true
beneficiaryNamestring | null
Example: "Maria Santos"
beneficiaryTaxIdstring | null
Example: "987.654.321-00"
beneficiaryTaxIdCountrystring | null
Example: "BR"
bankNamestring | null
bankCodestring | null
bankBranchstring | null
accountNumberstring

Account number, PIX key, or wallet address.

Example: "987.654.321-00"
accountTypestring | null
routingNumberstring | null
abastring | null
ibanstring | null
swiftBicstring | null
walletAddressstring | null
blockchainstring | null
tagOrMemostring | null
createdBystring
Example: "admin"
lastUpdatedBystring
Example: "admin"
createdAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
lastUpdatedAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
messagestring | null