Orders
Returns the latest state of user orders
Last updated
Returns the latest state of user orders
Last updated
The Orders API allows you to fetch a list of up to 50 recent orders or query for specific ones either by order id or by external reference, set by the partner.
This information can be used to learn order state changes in a passive-polling way. It is an alternative to subscribing to webhooks, which provide automatic and instant updates.
Since this API shares sensitive data of the orders, it requires private authentication.
Returns either:
externalReference
query parameter is provided, returns a list of order details for orders that match requested external reference. It could be several orders.walletAddress
query parameter is provided, returns a list of order details for orders that match requested wallet address. It could be several orders.ok
Unique identifier of the order
"f41a3e45-6392-457c-8566-a282b5f3e177"
An optional external order reference set by the partner. It is limited to 100 characters.
"your_order_id"
An optional 3rd party reference set by the partner. It is limited to 50 characters.
"your_sub_partner_id"
Type of the order. BUY for on-ramp, SELL for off-ramp
"BUY"
Timestamp of the order creation
"2024-10-01T12:00:00Z"
Current state of the order
"COMPLETED"
Timestamp of the last order state change
"2024-10-01T13:00:00Z"
Payment method used for the order
"CARD"
Currency code used for funding the order
"USD"
Amount of input currency used for the order
"100.00"
Currency code of the output currency
"BTC"
Amount of output currency
"0.001"
Amount of the transaction denominated in USD. Will be an approximate value in case of inputCurrency
different than USD.
"100.00"
Blockchain.com Pay processing fee denominated in inputCurrency
"1.00"
Blockchain.com Pay processing fee denominated in USD. Will be an approximate value in case of inputCurrency
different than USD.
"1.00"
Partner fee denominated in inputCurrency
"0.50"
Partner fee denominated in USD. Will be an approximate value in case of inputCurrency
different than USD.
"0.50"
Network fee denominated in inputCurrency
"1.50"
Transaction network fee denominated in USD. Will be an approximate value in case of inputCurrency
different than USD.
"1.50"
Unique identifier of the user
"2b6f0cc9-7b0c-4f3b-8f3b-6f0cc97b0c4f"
Target wallet address of the crypto transaction
"bc1q897va9he4zcppqgp3h7ue8hj7448ra0mr6xqtu"
Transaction hash of the crypto transaction. Will only be present for orders in COMPLETED state
"4b1549abe58cface17d400bf50ff0fe0c2e2ca8121f4e3764d807dc841a2ab80"
Returns order details for a given order id.
Unique identifier of the order
"f41a3e45-6392-457c-8566-a282b5f3e177"
ok
Unique identifier of the order
"f41a3e45-6392-457c-8566-a282b5f3e177"
An optional external order reference set by the partner. It is limited to 100 characters.
"your_order_id"
An optional 3rd party reference set by the partner. It is limited to 50 characters.
"your_sub_partner_id"
Type of the order. BUY for on-ramp, SELL for off-ramp
"BUY"
Timestamp of the order creation
"2024-10-01T12:00:00Z"
Current state of the order
"COMPLETED"
Timestamp of the last order state change
"2024-10-01T13:00:00Z"
Payment method used for the order
"CARD"
Currency code used for funding the order
"USD"
Amount of input currency used for the order
"100.00"
Currency code of the output currency
"BTC"
Amount of output currency
"0.001"
Amount of the transaction denominated in USD. Will be an approximate value in case of inputCurrency
different than USD.
"100.00"
Blockchain.com Pay processing fee denominated in inputCurrency
"1.00"
Blockchain.com Pay processing fee denominated in USD. Will be an approximate value in case of inputCurrency
different than USD.
"1.00"
Partner fee denominated in inputCurrency
"0.50"
Partner fee denominated in USD. Will be an approximate value in case of inputCurrency
different than USD.
"0.50"
Network fee denominated in inputCurrency
"1.50"
Transaction network fee denominated in USD. Will be an approximate value in case of inputCurrency
different than USD.
"1.50"
Unique identifier of the user
"2b6f0cc9-7b0c-4f3b-8f3b-6f0cc97b0c4f"
Target wallet address of the crypto transaction
"bc1q897va9he4zcppqgp3h7ue8hj7448ra0mr6xqtu"
Transaction hash of the crypto transaction. Will only be present for orders in COMPLETED state
"4b1549abe58cface17d400bf50ff0fe0c2e2ca8121f4e3764d807dc841a2ab80"