Get Sell quote
Returns a set of key-value pairs representing a real-time sell quote for a currency. Supply the currency code, the base amount, your extra fee percentage, the payment method and whether the base amount is inclusive of fees, and MoonPay will return a detailed sell quote.
Documentation Index
Fetch the complete documentation index at: https://dev.moonpay.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
The code of the cryptocurrency from the currencies list
Query Parameters
Response
Successful response — Sell Quote
Fiat currency the customer wants to get.
"eur"
Crypto currency the customer wants to sell.
"btc"
A positive number representing how much the customer wants to sell.
0.575
A positive number representing the amount of cryptocurrency the customer will receive.
1521.11
The price of the crypto the customer wants to sell
45677.965840087985
A positive number representing the fee for the transaction.
15.36
A positive number representing your extra fee for the transaction.
0
The transaction's payout method. Possible values are credit_debit_card, ach_bank_transfer, paypal, sepa_bank_transfer, and gbp_bank_transfer .
ach_bank_transfer, credit_debit_card, paypal, gbp_bank_transfer, sepa_bank_transfer "credit_debit_card"
The signature for executing the quote for fixed flow
"really-long-string"
The time in seconds until the quote expires.
1800
Time at which the quote expires. Returned as an ISO 8601 string.
"2024-02-23T00:58:26.577Z"