The Payment Company Logo
Crypto PaymentsCrypto payin

Crypto Payin Supported Currencies

Fetch all supported cryptocurrencies for The Payment Company's Crypto Payin API. This endpoint returns a list of available cryptocurrencies for payin based on country and amount.

API Endpoint

POSThttps://api.thepayment.company/api/v1/live/crypto/currencies

Parameters

ParameterTypeDescriptionRequired
countryStringCountry code (ISO 3166-1 alpha-2 format)Yes
amountNumberTransaction amount (can be any decimal value, e.g., 45, 20.5, 10.00)Yes

Request Example

curl --location 'https://api.thepayment.company/api/v1/live/crypto/currencies' --header 'Authorization: Bearer YOUR_SECRET_KEY' --header 'Content-Type: application/json' --data '{
"country": "AE",
"amount": 45
}'

Payload

{
  "amount": 45,
  "country": "AE"
}

Example Responses

Success Response

{
  "message": "Crypto currencies fetched successfully",
  "data": [
    {
      "code": "BTC",
      "networks": [
          "BITCOIN"
      ]
    },
    {
      "code": "ETH",
      "networks": [
          "ETHEREUM"
      ]
    },
    {
      "code": "BNB",
      "networks": [
          "BINANCE_SMART_CHAIN",
          "ETHEREUM"
      ]
    },
    {
      "code": "USDT",
      "networks": [
          "ETHEREUM",
          "TRON",
          "BINANCE_SMART_CHAIN",
          "POLYGON",
          "SOLANA",
          "AVALANCHE",
          "OMNI"
      ]
    }
  ]
}

Error Responses

{
  "message": "Authentication token is missing."
}
{
  "message": "Invalid Secret Key."
}

Integration Examples

You can use this endpoint in any backend or frontend application. Here are some sample requests in different languages:

    const axios = require('axios');
 
  const payload = {
    country: 'AE',
    amount: 45
  };
 
  const response = await axios.post(
    'https://api.thepayment.company/api/v1/live/crypto/currencies',
    payload,
    {
      headers: {
        'Content-Type': 'application/json',
        'Authorization': 'Bearer YOUR_SECRET_KEY'
      }
    }
  );
 
  console.log(response.data);
  

Notes

  • The endpoint requires a valid Bearer token in the Authorization header.
  • The response will include all supported cryptocurrencies for the given country and amount.

On this page