curl --request GET \
--url https://api-sb.meld.io/network-partner/supported/payment-methodsimport requests
url = "https://api-sb.meld.io/network-partner/supported/payment-methods"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-sb.meld.io/network-partner/supported/payment-methods', 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/payment-methods",
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/payment-methods"
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/payment-methods")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sb.meld.io/network-partner/supported/payment-methods")
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[
{
"countryCode": "US",
"providerMethod": "debit-credit-card",
"method": "CREDIT_DEBIT_CARD",
"category": "CRYPTO_ONRAMP",
"name": "Credit & Debit Card",
"type": "CARD",
"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
}
]Search supported payment methods
Searches payment methods supported across providers for the requested filters, all optional. Returns one row per canonical payment method, or with direction one row per payment method and category, each carrying its category. countryCode and providerMethod come from one representative provider row, so they describe a single matching offer rather than every country or provider. headlessSupported and checkoutSupported are true when any matching provider offers the method in that flow. category is present when category or direction is requested. category and direction are mutually exclusive: supplying both returns 400. A subdivision without a US or CA country 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/payment-methodsimport requests
url = "https://api-sb.meld.io/network-partner/supported/payment-methods"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-sb.meld.io/network-partner/supported/payment-methods', 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/payment-methods",
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/payment-methods"
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/payment-methods")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sb.meld.io/network-partner/supported/payment-methods")
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[
{
"countryCode": "US",
"providerMethod": "debit-credit-card",
"method": "CREDIT_DEBIT_CARD",
"category": "CRYPTO_ONRAMP",
"name": "Credit & Debit Card",
"type": "CARD",
"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
}
]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.
Query 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 Ramp direction, instead of category. Rows are returned per payment method and category, each with its category. Ramp direction. ONRAMP covers CRYPTO_ONRAMP and CRYPTO_VIRTUAL_ACCOUNT_ONRAMP; OFFRAMP covers CRYPTO_OFFRAMP and CRYPTO_VIRTUAL_ACCOUNT_OFFRAMP. Swap categories are not included.
ONRAMP, OFFRAMP Response
Supported payment method list
Category of this entry: the requested category, or with a direction filter this row's category (one entry per method and category). Null only when neither category nor direction was requested.
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 "CRYPTO_ONRAMP"