Get Crypto Currencies
Returns a complete list of supported crypto currencies on TradPay. Use this to retrieve currency IDs for paylink creation.
GET /currencies/crypto
Headers
Name
Value
Accept
application/json
X-TX-AppId
YOUR-APP-ID
Query Params
Name
Type
Description
Required
chains
string
Specifies whether to filter by chain name. Valid options are ETH  BNB  Polygon  ARB  OP  TRON  
optional
Request
curl -X GET https://api.tradpay.io/v1/currencies/crypto?chains=eth,bnb \
    -H "Accept: application/json" \
    -H "X-TX-AppId: YOUR-APP-ID"Response
{
  "code": 200,
  "msg": "OK",
  "status": "success",
  "result": [
    {
      "id": 201,
      "name": "USD Tether",
      "symbol": "USDT",
      "logoUrl": "usdt.svg",
      "chains": [
        {
          "chainName": "BNB",
          "symbol": "BNB",
          "chainLogo": "bnb01.svg",
          "chainType": "EVM",
          "networkId": "56",
          "decimals": 18
        },
        {
          "chainName": "Ethereum",
          "symbol": "ETH",
          "chainLogo": "eth01.svg",
          "chainType": "EVM",
          "networkId": "1",
          "decimals": 6
        }
      ]
    },
    {
      "id": 202,
      "name": "USD Coin",
      "symbol": "USDC",
      "logoUrl": "usdc.svg",
      "chains": [
        {
          "chainName": "Ethereum",
          "symbol": "ETH",
          "chainLogo": "eth01.svg",
          "chainType": "EVM",
          "networkId": "1",
          "decimals": 6
        },
        {
          "chainName": "BNB",
          "symbol": "BNB",
          "chainLogo": "bnb01.svg",
          "chainType": "EVM",
          "networkId": "56",
          "decimals": 18
        }
      ]
    }  
  ]
}Last updated
