Skip to main content
GET
/
v1
/
supported
Get supported payment kinds
curl --request GET \
  --url https://api.mrdn.finance/v1/supported \
  --cookie siwe-session=
import requests

url = "https://api.mrdn.finance/v1/supported"

headers = {"cookie": "siwe-session="}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {cookie: 'siwe-session='}};

fetch('https://api.mrdn.finance/v1/supported', 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.mrdn.finance/v1/supported",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "siwe-session=",
]);

$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.mrdn.finance/v1/supported"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("cookie", "siwe-session=")

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.mrdn.finance/v1/supported")
.header("cookie", "siwe-session=")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.mrdn.finance/v1/supported")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["cookie"] = 'siwe-session='

response = http.request(request)
puts response.read_body
{
  "kinds": [
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "<string>"
    }
  ]
}
Get the list of supported payment types and networks for x402 payments.

Response

{
  "kinds": [
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "avalanche"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "base"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "bsc"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "bot-chain"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "base-sepolia"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "arc-testnet"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "bot-chain-testnet"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "fluent-testnet"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "optimism"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "arbitrum"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "optimism-sepolia"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "polygon"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "unichain"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "ink"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "worldchain"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "sei"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "hyperevm"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "megaeth"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "tempo"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "monad"
    },
    {
      "x402Version": 1,
      "scheme": "exact",
      "network": "robinhood"
    }
  ]
}

Payment Kinds

Each payment kind specifies:
  • x402Version: Version of the x402 protocol (currently 1)
  • scheme: Payment scheme type (currently “exact”)
  • network: Supported blockchain network

Supported Networks

Currently supported networks:

Mainnet

Network IDChain
avalancheAvalanche
baseBase
bscBNB Smart Chain
bot-chainBOT Chain
optimismOptimism
arbitrumArbitrum One
polygonPolygon
unichainUnichain
inkInk
worldchainWorld Chain
seiSei
hyperevmHyperEVM
megaethMegaETH
tempoTempo
monadMonad
robinhoodRobinhood Chain

Testnet

Network IDChain
arc-testnetArc Testnet
bot-chain-testnetBOT Chain Testnet
base-sepoliaBase Sepolia
fluent-testnetFluent Testnet
optimism-sepoliaOptimism Sepolia

Usage

const response = await fetch("/v1/supported");
const data = await response.json();

console.log("Supported payment kinds:", data.kinds);

// Check if a specific network is supported
const isOptimismSupported = data.kinds.some(
  (kind) => kind.network === "optimism",
);

Authorizations

siwe-session
string
cookie
required

Response

200 - application/json

Supported payment kinds

kinds
object[]
required