v3

Read one of your orders

One order created through your own credentials, by id, read by your server rather than by the customer. Use it to confirm what a webhook told you before acting on it: an app that sends a sell's coins itself should compare the `deposit` address here with the one in `order_awaiting_deposit` before letting its customer sign. The shape is the customer's own order read without the customer: `destination` (their payout account) is never included. Needs a partner access token from POST /api/v3/auth/tokens; an api-key is refused, because it is public.

GET/api/v3/partner/orders/{id}

Send your own access token. No customer is involved, and an api-key is refused: this call reads your whole book.

How authentication works
Yours
Authorization: Bearer

Language

Environment

Credentials

Your credential

Choose an environment first.

cURL request
curl -X GET https://api.btcdirect.eu/api/v3/partner/orders/{id} \  -H "Authorization: Bearer $BTCD_PARTNER_TOKEN"
Choose an environment to run this.

Response

The order.
{}

Parameters

iduuid (path)required

Responses

200The order.
403Called with an api-key instead of a partner access token.
404No such order created through your credentials.
503`maintenance` — full maintenance is on, and every endpoint refuses every request until it ends (`endsAt`, when it has an end). Nothing is wrong with the request and nothing was done; the same request is accepted afterwards. Told apart from any other 503 by `code`.

Every failure answers with a message and a code. Switch on the code — messages are written for people and can change.