API Reference
Accounts

Update account

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

Retrieves, updates, or deletes a specific financial account. Active accounts cannot be deleted while holding balance.

Authorization

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

Path parameters

customerIdstringrequired
accountIdstringrequired

Body

application/json
namestringrequired

Descriptive name for the account.

Example: "Main BRL Account"
currencyIdinteger<int64>required

ID of the currency for this account (see GET /api/v1/customer/currencies).

Example: 1
enabledboolean

Whether the account is active. Defaults to true.

Example: true
isAutomaticApprovalboolean

Whether deposits are automatically approved without manual review. Defaults to true.

Example: true
autoExecuteDepositboolean

Whether deposit orders are automatically sent to the payment provider. Always false for CRYPTO accounts.

Example: true
autoExecuteWithdrawalboolean

Whether withdrawal orders are automatically sent to the payment provider.

Example: false
maxAllowedDebtnumber | null

Maximum negative balance allowed. Default is 0 (no debt allowed).

Example: 0
featureFlagsobjectrequired

Key-value feature flags for this account. Pass an empty object {} if none.

bankCodestring | null

Bank code (ISPB or routing code) for FIAT accounts.

Example: "237"
bankNamestring | null
Example: "Bradesco"
bankAccountNumberstring | null
Example: "12345-6"
bankBranchstring | null
Example: "0001"
walletAddressstring | null

On-chain wallet address for CRYPTO accounts.

depositFeePercentagenumber | null

Percentage fee applied to deposits (e.g. 0.5 = 0.5%).

Example: 0.5
depositFlatFeenumber | null

Fixed fee amount applied to each deposit, in account currency.

withdrawalFeePercentagenumber | null
Example: 0.3
withdrawalFlatFeenumber | null
maxPercentageDepositFeenumber | null

Cap on the percentage deposit fee amount.

minPercentageDepositFeenumber | null

Floor on the percentage deposit fee amount.

maxPercentageWithdrawalFeenumber | null
minPercentageWithdrawalFeenumber | null

Responses

200Account updated.
statusboolean
Example: true
statusCodeinteger
Example: 200
resultobject
Show child attributes
idinteger<int64>
Example: 10
namestring
Example: "Main BRL Account"
typestring
FIATCRYPTO
currencyIdinteger<int64>
Example: 1
customerIdinteger<int64>
Example: 42
enabledboolean
Example: true
maxAllowedDebtnumber
Example: 0
isAutomaticApprovalboolean
Example: true
autoExecuteDepositboolean
Example: true
autoExecuteWithdrawalboolean
Example: false
bankCodestring | null

Bank ISPB or COMPE code (FIAT accounts only).

Example: "341"
bankNamestring | null
Example: "Itaú Unibanco"
bankAccountNumberstring | null
Example: "12345-6"
bankBranchstring | null
Example: "0001"
walletAddressstring | null

Blockchain wallet address (CRYPTO accounts only).

featureFlagsobject

Key-value map of feature flags active for this account.

currencyobject

Currency details. Present only when includes=currency is requested.

Show child attributes
idinteger<int64>
Example: 1
codestring

ISO 4217 currency code (fiat) or ticker (crypto).

Example: "BRL"
namestring
Example: "Brazilian Real"
precisioninteger

Number of decimal places used for amounts in this currency.

Example: 2
typestring
FIATCRYPTO
Example: "FIAT"
enabledboolean
Example: true
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