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": "card",
"limits": {
"currencyCode": "USD",
"min": 10,
"max": 10000
},
"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"
}
}
],
"kycLimits": [
{
"provider": "BANXA",
"category": "CRYPTO_ONRAMP",
"countryCode": "US",
"limitType": "DAILY",
"currencyCode": "USD",
"level1": 1000,
"level2": 10000,
"level3": 50000
}
]
}
]{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}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. When both paymentMethod and paymentType are provided, paymentMethod takes precedence. Provider scope rules:
- No Basic Auth and no
Meld-Account-Id: results come from the global dataset. - Basic Auth only: results are restricted to the authenticated identity’s
providersclaim. Meld-Account-Idonly: results are restricted to providers configured for that account.- Both Basic Auth and
Meld-Account-Id: results are restricted to the intersection of both provider sets. - 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": "card",
"limits": {
"currencyCode": "USD",
"min": 10,
"max": 10000
},
"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"
}
}
],
"kycLimits": [
{
"provider": "BANXA",
"category": "CRYPTO_ONRAMP",
"countryCode": "US",
"limitType": "DAILY",
"currencyCode": "USD",
"level1": 1000,
"level2": 10000,
"level3": 50000
}
]
}
]{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}Headers
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