Generate a sell quote.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”Generates a quote for a coin to fiat currency pair.
object
The currency pair that is used for the quote.
Example
BTC-EURThe payment method that the user wants to use to receive the payment.
Example
bankTransferThe amount at which the user wants to buy cryptos.
Example
50The amount of cryptos that the user wants to buy.
The profit in terms of a percentage for this order. If not present or null, your default fee is used. The default fee is also used for DCA and the widgets and can be set by your accountmanager.
Example
1.5Responses
Section titled “ Responses ”Returns a quote and appropriate data.
object
The quote that is generated based on the submitted data.
Example
eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEyMzQ1NjcsImV4cCI6MTU1NDU0NThe currency pair that is used for the quote.
Example
BTCEURThe amount that the user will receive.
Example
50The amount of cryptos that the user will have to pay.
Example
0.5The fee charged for consolidating transactions on the blockchain.
Example
0The fee charged by BTC Direct.
Example
0.75The fee charged in percentage by BTC Direct.
Example
0.75The fee earned by the partner.
Example
1.00The fee earned in percentage by the partner.
Example
1.00The estimated value of a single coin.
Example
96779.04The date and time when this quote expires.
Example
2019-06-06T16:16:16ZWhether or not the bank account provided has been disabled. Only bank accounts which have not been disabled can be used to sell cryptos to us.
Replaced by quoteUnconfirmableReasons.
Whether the user has exceeded their personal limit.
Replaced by quoteUnconfirmableReasons.
Whether the currency limit has been exceeded.
Reasons why this quote can not be confirmed.
Example
[ "currencyLimitExceeded", "userLimitExceeded", "userRegistrationNotCompleted"]A cryptocurrency representation
object
The currency code.
Example
BTCThe currency name.
Example
BitcoinThe precision.
Example
8Whether the currency supports a memo or a destination tag.
The currency ticker.
Example
BTCThe chain through which the currency is delivered.
Example
SolanaThe token smart contract address
Example
0x514910771af9ca656af840dff83e8264ecf986caobject
The currency code.
Example
EURThe currency name.
Example
EuroThe precision.
Example
2A list of possible errors for this endpoint.
object
Example
{ "errors": { "ER010": { "code": "ER010", "message": "Unknown currency pair.", "solution": "Provide a supported currency pair." }, "ER011": { "code": "ER011", "message": "The provided fiatAmount is invalid.", "solution": "Provide a valid fiatAmount." }, "ER012": { "code": "ER012", "message": "The provided cryptoAmount is invalid.", "solution": "Provide a valid cryptoAmount with max 8 decimals." }, "ER019": { "code": "ER019", "message": "No bankAccount provided.", "solution": "Provide the bankAccount" }, "ER056": { "code": "ER056", "message": "Invalid IBAN number provided.", "solution": "Provide a valid IBAN number." }, "ER800": { "code": "ER800", "message": "Authorization token is invalid.", "solution": "Provide a valid authorization token." }, "ER801": { "code": "ER801", "message": "Authorization token has expired.", "solution": "Request a new authorization token." }, "ER802": { "code": "ER802", "message": "Authorization token not found.", "solution": "Provide an authorization token." }, "ER803": { "code": "ER803", "message": "Multiple authorization methods used.", "solution": "Use exactly one authorization method." }, "ER805": { "code": "ER805", "message": "API key is invalid.", "solution": "Provide a valid API key." }, "ER806": { "code": "ER806", "message": "API key not found.", "solution": "Provide an API key." }, "ER999": { "code": "ER999", "message": "A general error has occurred. Please contact our support team.", "solution": "Contact our support team." } }}