curl --request GET \
--url https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}import requests
url = "https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"partner": "BANXA",
"source": "USD",
"destination": "BTC",
"paymentMethods": [
{
"paymentType": "CARD",
"name": "CREDIT_DEBIT_CARD",
"partnerMethodName": "debit-credit-card",
"category": "CRYPTO_ONRAMP",
"limits": {
"currencyCode": "USD",
"min": 10,
"max": 15000
},
"logo": {
"dark": "https://cdn.meld.io/images-paymentmethod/CREDIT_DEBIT_CARD/logo_dark.png",
"light": "https://cdn.meld.io/images-paymentmethod/CREDIT_DEBIT_CARD/logo_light.png"
},
"headlessSupported": true,
"checkoutSupported": true,
"cardRenderMode": "IFRAME",
"headlessPresentation": {
"surface": "VENDOR_SDK",
"protocol": "BANXA_CHECKOUT",
"version": 1
},
"headlessProviderMethod": "debit-credit-card"
}
],
"kycLimits": [
{
"provider": "BANXA",
"category": "CRYPTO_ONRAMP",
"countryCode": "US",
"limitType": "DAILY",
"currencyCode": "USD",
"level1": 1000,
"level2": 10000,
"level3": 50000
}
]
}
]List supported routes
Searches supported partner routes by category, country, optional subdivision, source currency, destination currency, and payment method or payment type. For onramp categories the route is fiat to crypto; for non-swap offramp categories it is crypto to fiat. Swap and CRYPTO_TRANSFER routes are crypto to crypto. Provider matching uses the destination crypto for CRYPTO_ONRAMP_SWAP and CRYPTO_TRANSFER, and the source crypto for CRYPTO_OFFRAMP_SWAP. Each payment method carries one limits object rounded to 2 decimal places, in the fiat currency when known, otherwise the crypto currency; /v2/supported/routes returns every denomination at full precision. When both paymentMethod and paymentType are provided, paymentMethod takes precedence. An unknown countryCode, or a subdivision outside US and CA, returns 400. Provider scope rules:
- No authentication: results come from the global dataset;
Meld-Account-Idis ignored. - Basic Auth only: results are restricted to the authenticated identity’s
providersclaim. An identity without aprovidersclaim, or with an empty one, is unrestricted. Meld-Account-Idonly: ignored for anonymous callers.- Both Basic Auth and
Meld-Account-Id: results are restricted to the intersection of both provider sets. An account id this service has no account data for leaves the scope unchanged; a known account with no providers yields an empty scope. - Naming an account that does not belong to the caller returns
403when account-header enforcement is enabled, unless the caller has an authorized administrator or service role. With enforcement in monitor mode, the request is only reported and proceeds. - Explicit partner filters are intersected with the resolved provider scope.
Explicit partners filtering is intersected with the resolved provider scope.
If the effective provider scope contains no providers, this collection endpoint returns 200 with an empty result.
curl --request GET \
--url https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}import requests
url = "https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sb.meld.io/network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"partner": "BANXA",
"source": "USD",
"destination": "BTC",
"paymentMethods": [
{
"paymentType": "CARD",
"name": "CREDIT_DEBIT_CARD",
"partnerMethodName": "debit-credit-card",
"category": "CRYPTO_ONRAMP",
"limits": {
"currencyCode": "USD",
"min": 10,
"max": 15000
},
"logo": {
"dark": "https://cdn.meld.io/images-paymentmethod/CREDIT_DEBIT_CARD/logo_dark.png",
"light": "https://cdn.meld.io/images-paymentmethod/CREDIT_DEBIT_CARD/logo_light.png"
},
"headlessSupported": true,
"checkoutSupported": true,
"cardRenderMode": "IFRAME",
"headlessPresentation": {
"surface": "VENDOR_SDK",
"protocol": "BANXA_CHECKOUT",
"version": 1
},
"headlessProviderMethod": "debit-credit-card"
}
],
"kycLimits": [
{
"provider": "BANXA",
"category": "CRYPTO_ONRAMP",
"countryCode": "US",
"limitType": "DAILY",
"currencyCode": "USD",
"level1": 1000,
"level2": 10000,
"level3": 50000
}
]
}
]Headers
Optional. Base58 encoded account id, ignored for anonymous callers. For authenticated callers, intersects identity providers with account providers. With account-header enforcement enabled, the account must belong to the caller unless the caller has an authorized administrator or service role.
Path Parameters
Provider category Categories of functionality offered by a service provider
CRYPTO_ONRAMP, CRYPTO_OFFRAMP, CRYPTO_TRANSFER, BANK_LINKING, FIAT_PAYMENTS, CRYPTO_VIRTUAL_ACCOUNT_ONRAMP, CRYPTO_VIRTUAL_ACCOUNT_OFFRAMP, CUSTOMER_KYC, CRYPTO_ONRAMP_SWAP, CRYPTO_OFFRAMP_SWAP Query Parameters
Response
Supported routes