Create Sell Order

View as Markdown

Create a sell order for the selected quote.

The API also generates the payload and signature used by the Ledger device to verify transaction data with the corresponding private/public key pair.

Authentication

x-api-keystring
Transak API key available from the Transak Dashboard.

Request

This endpoint expects an object.
quoteIdstringRequired
Quote identifier returned from the quote endpoint.
amountstringRequired
Sell amount in crypto units.
refundAddressstringRequired
Refund wallet address.
fromCryptoCurrencystringRequired

Ledger-formatted crypto currency identifier.

toFiatCurrencystringRequired
Fiat currency code.
payloadCryptoCurrencystringRequired
Asset identifier used in the signed Ledger payload.
noncestringRequired

Nonce used for device-side verification.

Response

Sell order created successfully.
sellIdstringformat: "uuid"
Sell order identifier generated by the wrapper.
amountstring
Confirmed sell amount.
payinAddressstring
Deposit address where the user must send crypto.
createdAtdatetime
Sell order creation timestamp.
providerFeesstring
Provider fee charged for the sell order.
referralFeesstring
Referral fee charged for the sell order.
providerSigobject

Errors

400
Bad Request Error
500
Internal Server Error