The on-chain transaction bound to this order
The on-chain transaction funding this order's crypto deposit, as bound to the order's deposit step. Like the order itself, only for an order placed through one of your credentials. `transactionId` comes back empty when nothing is bound yet, which is the ordinary state until the customer's transfer has been seen. The POST on this same path is how a caller supplies one.
GET/api/v3/orders/{id}/deposit-transaction
Send two credentials: your own, and the customer's.
How authentication works- Yours
x-api-keyorAuthorization: Bearer- The customer's
User-Authorization: BearerorUser-Identifier
Reads back the transfer bound to the order, with what we currently know about it.
An empty transactionId is a normal answer
It means nothing is bound yet, not that the call failed. A sell that is waiting for the customer to send looks exactly like this, so branch on the field rather than treating the response as an error.
You do not need to poll it. The order's webhooks already report detection and confirmation; this is for reading state on demand, such as rendering your own status page. See the event catalogue.
Language
Environment
Credentials
Your credential
The customer's credential
Choose an environment first.
curl -X GET https://api.btcdirect.eu/api/v3/orders/{id}/deposit-transaction \ -H "x-api-key: $BTCD_API_KEY" \ -H "User-Authorization: Bearer $BTCD_USER_TOKEN"Response
{ "message": "The bound transaction, or an empty transactionId if none yet."}Parameters
iduuid (path)required
Responses
200The bound transaction, or an empty transactionId if none yet.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.