---
title: "Create a crypto quote"
method: POST
path: "/payments/crypto/quote"
tags: ["Retail Ramp"]
---

# Create a crypto quote

`POST /payments/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.

## Query parameters

- `includeSwap` string

## Request body

- CryptoQuoteRequest
  - `countryCode` string, required — Two-letter country code (ISO 3166-1 alpha-2)
  - `customerId` string — Meld generated unique identifier for your customer. This should be used to track customer activity.
  - `destinationCurrencyCode` string, required — Enter a cryptocurrency symbol here if purchasing crypto or a fiat currency 3 letter code if selling crypto.
  - `externalCustomerId` string — Your unique identifier for your customer. If maintaining your own customer management system this can also be used for tracking customer activity.
  - `paymentMethodType` string — Payment Method Type or SubType The paymentMethodType and paymentMethodSubType included here are a sample set. Review the [Supported Payment Methods](https://www.meld.io/coverage/payment-methods) section to view the complete list.
  - `serviceProviders` string[] — An optional list of Strings representing the Service Providers for this Quote. Reference [Crypto supported service providers](https://www.meld.io/coverage/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.
  - `sourceAmount` number, required — The source amount for this transaction.
  - `sourceCurrencyCode` string, required — Enter a fiat currency 3 letter code here if purchasing crypto or a cryptocurrency symbol if selling crypto.
  - `subdivision` string — subdivision is a optional parameter Only applicable if the country code is US or CA.
  - `walletAddress` string — Your customer's wallet address

## Response `200`

OK

## Other responses

- `400` — Bad Request : check request values and format
- `401` — Invalid credentials
- `403` — Unauthenticated or authenticated with insufficient access
- `500` — Server Error. This applies to all 5xx errors, including but not limited to 500, 501, 502, 503, and 504 errors. You should treat all of these errors the same.

---

[API](https://skmtc.net/meld/apis/bank-linking.md) · [All operations](https://skmtc.net/meld/apis/bank-linking/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meld/bank-linking/revisions/818d6079a611/schema)
