API Reference
Get FX payment order
/api/v1/customer/{customerId}/orders/fx-payment/{orderId}https://bloquo.mimicr.dev · provider: https://api.bloquo.ioReturns details of a specific FX payment order.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Responses
200FX payment order details.
400425How the FX payment is funded. - Balance, deducted from existing account balance (requires compliance approval). - DepositOrder, a new deposit order is created to fund the FX payment.
BalanceDepositOrderWhether the funding source belongs to a Customer or a Counterparty.
CustomerCounterparty42"BRL"10000"USD"1950"3fa85f64-5717-4562-b3fc-2c963f66afa6"5.1282Deposit order created to fund this FX payment (only when fundingType = DepositOrder).
Withdrawal order delivering funds to the counterparty.
301Who owns the funding source or is the true sender/receiver.
CustomerCounterparty42Who owns the funding source or is the true sender/receiver.
CustomerCounterparty5When true, the outgoing withdrawal step was skipped.
falsefalseURLs of compliance documents attached to this order.
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_WITHDRAWALHuman-readable status label for display.
"COMPLETED"Status change history for this order, oldest first.
Show child attributes
"COMPLETED""Approved by compliance""2024-01-15T10:31:00Z""user@acme.com""System""2024-01-15T10:30:00Z""2024-01-15T10:32:00Z"