The Orders section of the Bloquo API allows you to create, list, and refund deposit and withdrawal orders. This functionality is essential for managing incoming and outgoing transactions on the platform.
POST Init Deposit OrderCreates a new deposit order with value, currency, expiration time, payer details, and a webhook URL.
Endpoint:
POST /orders/deposit/account/:accountIdπ Link to full request example
GET List Deposit OrdersLists existing deposit orders with filters by status, name, payment method, and more.
Endpoint:
GET /orders/depositπ Link to full request example
POST Refund Deposit OrderPerforms a refund on a specific deposit order. Currently available for BRL orders only.
Endpoint:
POST /orders/deposit/account/:accountId/refund/:depositIdπ Link to full request example
β οΈ Refunds can only be processed if the order is in a compatible status and the currency is BRL.
POST Init Withdrawal OrderCreates a withdrawal order with full recipient details, amount, currency, and webhook.
Endpoint:
POST /orders/withdrawal/account/:accountIdπ Link to full request example
GET List Withdrawal OrdersLists all withdrawal orders with filters by status, name, method, bank, and more.
Endpoint:
GET /orders/withdrawalπ Link to full request example
1. Do I need to authenticate before using the Orders endpoints?
Yes. All endpoints require a Bearer Token generated via authentication with
clientIdandclientSecret.
2. What happens if the deposit or withdrawal fails?
You can check the order history using the
orderHistoryfield in the response. For deposits, you may initiate a refund using the Refund Deposit Order endpoint.
3. Can I track deposit/withdrawal status in real-time?
Yes. When creating an order, provide a
webhookUrl. The API will send status updates to this URL.
4. Are all operations available in currencies other than BRL?
Refunds are currently supported only for BRL.
5. Whatβs the difference between requestedAmount and totalAmount?
totalAmountmay include additional fees, whilerequestedAmountis the amount specified in the order.
6. What is the format of the token used?
JWT (Bearer Token), sent in the
Authorizationheader.
You are now ready to use the Orders endpoints of the Bloquo API to manage transactions securely. If you have any questions, check the official documentation or contact our support team.