Create a crypto quote
Use this endpoint to request the current exchange rate of the selected fiat currency-cryptocurrency pair, and the required fees. Enter a fiat currency as the sourceCurrencyCode to buy crypto and enter a crypto currency in that field to sell crypto.
Authorizations
Query Parameters
If true, include both direct ramp/offramp quotes and stitched ramp+swap/offramp+swap quotes (CRYPTO_PURCHASE_SWAP / CRYPTO_SELL_SWAP) in the response. When false, swap is only used as a fallback when no direct ramp or offramp providers return quotes. Swap quotes are gated by the per-account onrampSwapEnabled / offrampSwapEnabled preferences regardless of this flag.
Body
Two-letter country code (ISO 3166-1 alpha-2)
"US"
Enter a cryptocurrency symbol here if purchasing crypto or a fiat currency 3 letter code if selling crypto.
1"BTC"
The source amount for this transaction.
x >= 0100
Enter a fiat currency 3 letter code here if purchasing crypto or a cryptocurrency symbol if selling crypto.
1"USD"
Meld generated unique identifier for your customer. This should be used to track customer activity.
Your unique identifier for your customer. If maintaining your own customer management system this can also be used for tracking customer activity.
Payment Method Type or SubType
The paymentMethodType and paymentMethodSubType included here are a sample set. Review the Supported Payment Methods section to view the complete list.
An optional list of Strings representing the Service Providers for this Quote.
Reference Crypto supported service providers for a full list of supported service providers
If this field is null or an empty list, Meld will get quotes from all the service providers linked to the API key used on the request.
ACROSS, AEROPAY, AKOYA, ALCHEMYPAY, APPLEPAY, AUTHORIZENET, BANXA, BILIRA, BINANCECONNECT, BINANCEPAY, BLOCKCHAINDOTCOM, BOOMFI, BRAINTREE, BRALE, BTCDIRECT, CASHAPP, CHECKOUT, CIRCLE, COINBASEPAY, COINFLOW, DUENETWORK, ELDORADO, FINICITY, FONBNK, GUARDARIAN, HARBOUR, KOYWE, KRYPTONIM, MERCURYO, MESH, MESO, MOONPAY, MOOV, MX, NMI, NOAH, ONMETA, ONRAMPMONEY, PAYBIS, PAYPAL, PLAID, RAMP, REVOLUT, ROBINHOOD, ROUTERPROTOCOL, SALTEDGE, SALTEDGEPARTNERS, SARDINE, SHIFT4, SHOPIFY, SIMPLEX, SKRILLCRYPTO, SQUARE, STRIPE, SUMSUB, SWAPPED, TANGOCARD, TELLER, TOPPER, TRANSAK, TREMENDOUS, TRANSFI, UNLIMIT, WYRE, XANPOOL, YELLOWCARD, YODLEE subdivision is a optional parameter Only applicable if the country code is US or CA.
Your customer's wallet address
Response
OK
List of quotes