Skip to main content
GET
/
api
/
v1
/
merchant
/
tokens
Get all supported tokens and their acceptance status
curl --request GET \
  --url https://api-beta.pepay.io/api/v1/merchant/tokens \
  --header 'Authorization: Bearer <token>'
{
  "acceptance_policy": "selective",
  "environment": "devnet",
  "tokens": [
    {
      "id": 10,
      "token_symbol": "DUSDC",
      "token_name": "Devnet USDC",
      "network": "solana",
      "network_environment": "devnet",
      "is_blocked": false,
      "price": null
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token for wallet authentication

Query Parameters

environment
enum<string>

Filter tokens by environment (defaults to the merchant environment).

Available options:
mainnet,
devnet

Response

List of tokens with their acceptance status

acceptance_policy
enum<string>
Available options:
accept_all,
accept_none,
selective
environment
enum<string>
Available options:
mainnet,
devnet
tokens
object[]