Configuration

Payment Methods

Retrieve the blockchain networks and assets currently available for your merchant account in the environment associated with the authenticated API key.

Endpoint

Method
GET
URL
https://crptox.com/api/v1/payment-methods

Example Request

Request BASH
curl https://crptox.com/api/v1/payment-methods \
  -H "Authorization: Bearer YOUR_API_SECRET"

Example Response

Response JSON
{
  "data": [
    {
      "network": "bsc",
      "asset": "USDT",
      "decimals": 6,
      "contract_address": "0x..."
    },
    {
      "network": "tron",
      "asset": "USDT",
      "decimals": 6,
      "contract_address": "T..."
    }
  ]
}
The response only includes payment methods that are enabled in the current environment and for which your merchant has an active wallet. Use this endpoint instead of hard-coding supported networks or assets.