API Reference
Deposits and withdrawals

List deposit orders

GET/api/v1/customer/{customerId}/orders/deposit
Base URL: https://bloquo.mimicr.dev · provider: https://api.bloquo.io

Returns paginated deposit orders for the customer.

Authorization

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

Path parameters

customerIdinteger<int64>required

Query parameters

statusstring
18 values
CREATEDACCEPTEDPENDING_DEPOSITPENDING_APPROVALPENDING_TREASURYSENT_TO_CONNECTORPENDING_IN_BANKPROCESSINGCOMPLETEDFAILEDCANCELLEDPROCESSING_REFUNDRETURNEDEXPIREDBLOCKEDREJECTEDWAITING_FUNDSWAITING_WITHDRAWAL
startDatestring<date-time>
endDatestring<date-time>
pageinteger
pageSizeinteger

Responses

200Paginated deposit orders.
itemsobject[]
Show child attributes
orderCreatedboolean

False when the deposit was auto-processed without creating a formal order (e.g. auto-crypto without on-chain confirmation). True in all other cases.

Example: true
idinteger<int64>
Example: 200
customerIdinteger<int64>
Example: 42
accountIdinteger<int64>
Example: 10
requestedAmountnumber
Example: 1000
totalAmountnumber

Amount credited to the account after fees.

Example: 995
currencystring
Example: "BRL"
createdBystring
Example: "user@acme.com"
statusstring

Lifecycle status of an order. Key statuses: - PENDING_DEPOSIT, awaiting payment confirmation from the bank (FIAT deposits with auto-execute). - PENDING_TREASURY, manually reviewed or crypto orders waiting for treasury action. - WAITING_FUNDS, FX payment waiting for the funding deposit to be confirmed. - PENDING_APPROVAL, FX payment awaiting compliance review. - COMPLETED, order fully settled. - FAILED / REJECTED / EXPIRED: terminal failure states.

18 values
CREATEDACCEPTEDPENDING_DEPOSITPENDING_APPROVALPENDING_TREASURYSENT_TO_CONNECTORPENDING_IN_BANKPROCESSINGCOMPLETEDFAILEDCANCELLEDPROCESSING_REFUNDRETURNEDEXPIREDBLOCKEDREJECTEDWAITING_FUNDSWAITING_WITHDRAWAL
originstring

How the order was created.

APIMANUALCSV_IMPORT
pixKeystring | null

PIX key used as destination for FIAT deposits (when applicable).

pixCopyPastestring | null

PIX copy-paste code for FIAT deposits. Null for crypto deposits.

Example: "00020126580014br.gov.bcb.pix..."
e2eIdstring | null

End-to-end transaction identifier returned by the payment provider.

namestring | null

Name of the payer (for FIAT deposits).

Example: "João Silva"
payerTaxIdstring | null

CPF/CNPJ of the payer.

Example: "123.456.789-00"
bankCodestring | null

Bank code for FIAT deposits.

bankBranchstring | null
bankAccountstring | null
walletAddressstring | null

Blockchain deposit address for CRYPTO deposits.

Example: "0x1234567890abcdef1234567890abcdef12345678"
blockchainstring | null
Example: "Ethereum"
expireAtstring<date-time> | null

Expiration time for the deposit instruction (PIX or crypto address).

Example: "2024-01-15T11:30:00Z"
webhookUrlstring | null
Example: "https://your-system.example.com/webhooks/deposit"
orderHistoryobject[]

Status change history for this order, oldest first.

Show child attributes
statusNamestring
Example: "COMPLETED"
descriptionstring | null
Example: "Deposit confirmed by bank"
createdAtstring<date-time>
Example: "2024-01-15T10:32:00Z"
createdAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
lastUpdatedAtstring<date-time>
Example: "2024-01-15T10:32:00Z"
metaobject

Pagination metadata returned by all list endpoints.

Show child attributes
currentPageinteger
Example: 1
pageSizeinteger
Example: 10
totalItemsinteger
Example: 42
totalPagesinteger
Example: 5