List supported tokens with pagination and filters
curl --request GET \
--url https://api-beta.pepay.io/api/v1/merchant/tokens/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-beta.pepay.io/api/v1/merchant/tokens/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-beta.pepay.io/api/v1/merchant/tokens/search', 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-beta.pepay.io/api/v1/merchant/tokens/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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-beta.pepay.io/api/v1/merchant/tokens/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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-beta.pepay.io/api/v1/merchant/tokens/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-beta.pepay.io/api/v1/merchant/tokens/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"acceptance_policy": "accept_all",
"environment": "mainnet",
"total": 123,
"limit": 123,
"offset": 123,
"tokens": [
{
"id": 123,
"token_symbol": "<string>",
"token_name": "<string>",
"token_address": "<string>",
"token_decimals": 123,
"network": "<string>",
"network_environment": "<string>",
"token_type": "<string>",
"requires_memo": true,
"photo_uri": "<string>",
"supports_subscriptions": true,
"supports_stable_settlement": true,
"is_active": true,
"is_monitored": true,
"is_blocked": true,
"price": {
"usd": 123,
"last_updated_at": 123,
"provider_type": "<string>"
}
}
]
}Search Merchant Tokens
Filter and paginate supported tokens for a merchant.
GET
/
api
/
v1
/
merchant
/
tokens
/
search
List supported tokens with pagination and filters
curl --request GET \
--url https://api-beta.pepay.io/api/v1/merchant/tokens/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-beta.pepay.io/api/v1/merchant/tokens/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-beta.pepay.io/api/v1/merchant/tokens/search', 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-beta.pepay.io/api/v1/merchant/tokens/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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-beta.pepay.io/api/v1/merchant/tokens/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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-beta.pepay.io/api/v1/merchant/tokens/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-beta.pepay.io/api/v1/merchant/tokens/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"acceptance_policy": "accept_all",
"environment": "mainnet",
"total": 123,
"limit": 123,
"offset": 123,
"tokens": [
{
"id": 123,
"token_symbol": "<string>",
"token_name": "<string>",
"token_address": "<string>",
"token_decimals": 123,
"network": "<string>",
"network_environment": "<string>",
"token_type": "<string>",
"requires_memo": true,
"photo_uri": "<string>",
"supports_subscriptions": true,
"supports_stable_settlement": true,
"is_active": true,
"is_monitored": true,
"is_blocked": true,
"price": {
"usd": 123,
"last_updated_at": 123,
"provider_type": "<string>"
}
}
]
}Overview
Use this endpoint to search and paginate large token catalogs. It returns the same token objects as the list endpoint, plus pagination metadata.Authentication
- Merchant auth:
x-api-key: pk_...(scope=merchant) orAuthorization: Bearer <jwt>
Request
SDK
const tokens = await pepay.tokens.searchMerchantTokens({
environment: 'mainnet',
search: 'usdc',
network: 'base',
token_type: 'erc20',
limit: 25,
offset: 0
});
cURL
curl "https://api-beta.pepay.io/api/v1/merchant/tokens/search?environment=mainnet&search=usdc&network=base&limit=25" \
-H "x-api-key: pk_..."
Response
{
"acceptance_policy": "selective",
"environment": "mainnet",
"total": 2,
"limit": 25,
"offset": 0,
"tokens": [
{
"id": 123,
"token_symbol": "USDC",
"token_name": "USD Coin",
"network": "base",
"network_environment": "mainnet",
"photo_uri": "https://assets.coingecko.com/coins/images/6319/small/USD_Coin_icon.png",
"is_blocked": false
}
]
}
Errors
401missing/invalid merchant auth400invalid filters (unsupported network, token_type, or limit)
Examples
- Query all Base-network stablecoins:
curl "https://api-beta.pepay.io/api/v1/merchant/tokens/search?environment=mainnet&network=base&search=usd&limit=50" \
-H "x-api-key: pk_..."
Authorizations
bearerAuthApiKeyAuth
JWT token for wallet authentication
Query Parameters
Filter tokens by environment (defaults to the merchant environment).
Available options:
mainnet, devnet Max number of tokens to return.
Required range:
1 <= x <= 200Offset for pagination.
Required range:
x >= 0Search by token symbol, name, or address (case-insensitive).
Filter by network.
Available options:
ethereum, base, solana, avalanche, ton, bsc, arbitrum, optimism, cardano, sui Filter by token type.
Available options:
native, erc20, spl, sui, ton Filter by active status.
Filter by stable settlement capability.
Filter by blocked status (selective policy only).
Was this page helpful?

