Retrieve the status of an order
User/Buy
GET/api/v1/user/buy/orders/{id}
Send two credentials: your own, and the customer's.
How authentication works- Either
Authorization: BearerorUser-Authorization: Bearer
Language
Environment
Credentials
Your credential, or the customer's
Choose an environment first.
curl -X GET https://api.btcdirect.eu/api/v1/user/buy/orders/{id} \ -H "Authorization: Bearer $BTCD_PARTNER_TOKEN"Response
{ "id": 12345, "date": "2019-06-18T07:32:28Z", "currencyPair": "BTC-EUR", "status": "completed", "feeAmount": { "amount": 3000, "currencyCode": "EUR" }, "partnerFee": { "amount": 3000, "currencyCode": "EUR" }, "feePercentage": 1.5, "paymentMethodFee": { "amount": 3000, "currencyCode": "EUR" }, "networkFee": { "amount": 3000, "currencyCode": "EUR" }, "btcdirectFee": { "amount": 3000, "currencyCode": "EUR" }, "partnerOrderIdentifier": "4ea2b5e9-a413-4359-a8f6-9263ae8a0ee7", "spreadFee": { "amount": 0.42, "currencyCode": "EUR" }, "orderNotCompletedReasons": [ { "code": "011", "description": "Your IBAN account is not verified.", "solution": "Verify your IBAN account.", "url": "https://my.btcdirect.eu/nl-nl/iban-verification/", "userActionRequired": true, "supportActionRequired": false } ], "price": { "amount": 3000, "currencyCode": "EUR" }, "value": { "amount": 0.5, "currencyCode": "BTC" }, "paymentMethod": "iDeal", "walletAddress": "1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2", "destinationTag": { "default": "ABC1234", "XRP": 12341 }, "blockchainInfo": { "walletAddress": "3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5", "walletExplorer": "https://www.blockchain.com/btc/address/3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5", "transactionId": "f5d8ee39a430901c91a5917b9f2dc19d6d1a0e9cea205b009ca73dd04470b9a6", "transactionExplorer": "https://www.blockchain.com/btc/tx/f5d8ee39a430901c91a5917b9f2dc19d6d1a0e9cea205b009ca73dd04470b9a6" }, "isDcaOrder": false, "isEstimatedQuote": false, "expiresAt": "2025-04-07T18:30:00Z", "sourceCurrency": {}, "targetCurrency": {}}Parameters
idstring (path)required
The id or partner order identifier of the order to retrieve the status for.
Responses
200Order status retrieved successfully.400A list of possible errors for this endpoint.Body of the success response
idintegerrequired
The order id.
datedate-timerequired
The date and time of the order.
Example2019-06-18T07:32:28Z
currencyPairstringrequired
The currency pair of the order.
ExampleBTC-EUR
statusstringrequired
The current status of the order.
Can be one ofcancelledpendingin progressblockedcompletedrefunded
Examplecompleted
feeAmountobjectrequired
partnerFeeobject
feePercentagenumber
The fee earned by the partner in terms of a percentage for this order.
paymentMethodFeeobjectrequired
networkFeeobjectrequired
btcdirectFeeobjectrequired
partnerOrderIdentifierstring
Unique identifier provided by the partner.
Example4ea2b5e9-a413-4359-a8f6-9263ae8a0ee7
spreadFeestring
U
Defaultnull
orderNotCompletedReasonsobject[]required
reasons as of why the order is not yet completed.
Default
priceobjectrequired
valueobjectrequired
paymentMethodstring
The payment method used for the order.
Can be one ofbancontactbankTransfercreditCardepsgiropayiDealsofortapplepaygooglepaypaypal
ExampleiDeal
walletAddressstringrequired
The address of the wallet.
Example1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2
destinationTagstring|integer
The destination tag which should be used to send the coins to. This depends on the coin type and can be a string or an integer. For XRP it is an integer, for other coins it is a string.
blockchainInfoone of
The blockchain information involved in this order.
isDcaOrderboolean
The order was created because of a DCA deposit.
isEstimatedQuoteboolean
The order was created based on a estimated quote.
expiresAtdate-time
The expiry date-time that expires this confirmed quote. After this period it's no longer possible to pay for this order. The date does not apply for order that are paid through bank transfer.
Defaultnull
Example2025-04-07T18:30:00Z
sourceCurrencyone of
The source currency (fiat) of the order, including optional CAIP-19 identifier.
Defaultnull
targetCurrencyone of
The target currency (crypto) of the order, including optional CAIP-19 identifier.
Defaultnull
Every failure answers with a message and a code. Switch on the code — messages are written for people and can change.