API Reference
Deposits and withdrawals

List withdrawal orders

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

Returns paginated withdrawal 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 withdrawal orders.
itemsobject[]
Show child attributes
idinteger<int64>
Example: 300
customerIdinteger<int64>
Example: 42
accountIdinteger<int64>
Example: 10
requestedAmountnumber
Example: 500
totalAmountnumber

Total deducted from balance (requestedAmount + fee).

Example: 502.5
currencystring
Example: "BRL"
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
customerStatusstring | null

Human-readable status label for display.

Example: "COMPLETED"
originstring

How the order was created.

APIMANUALCSV_IMPORT
receiverNamestring | null
Example: "João Silva"
receiverTaxIdstring | null
Example: "987.654.321-00"
receiverAccountKeystring | null

PIX key of the recipient (for FIAT withdrawals).

Example: "987.654.321-00"
receiverWalletAddressstring | null

Blockchain destination address (for CRYPTO withdrawals).

receiverBlockchainstring | null
e2eIdstring | null

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

Example: "E18236120202401151100XYZ"
webhookUrlstring | null
Example: "https://your-system.example.com/webhooks/withdrawal"
orderHistoryobject[]

Status change history for this order, oldest first.

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

Pagination metadata returned by all list endpoints.

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