Exchange rates
The system provides an API, which serves exchange rates.
Returns a converted amount to the specified currency formatted as a string.
- The amount to convert (optional). Can be a number or string
representation. Defaults to
1
.
1
Represents all currencies in the payment processing system.
Used to specify the currency of accounts, exchange rates, and transactions in the payment processing system.
It provides a controlled and standardized list of supported currencies for all transactions and balances in the payment processing system.
New currencies can be added to the payment processing system as additional members.
Supported cryptocurrencies:
BNB
- Binance CoinbUSDT
- Tether (pegged to USD), issued on BNB Smart Chain network (BEP20 token)BTC
- BitcoinETH
- EthereUSDC
- USD Coin (pegged to USD), issued on Ethereum network (ERC20 token)eUSDT
- Tether (pegged to USD), issued on Ethereum network (ERC20 token)FTN
- FasttokenPOL
- POLpUSDC
- USD Coin (pegged to USD), issued on Polygon network (ERC20 token)SOL
- SOLsUSDT
- Tether (pegged to USD), issued on Solana network (SPL token)tUSDC
- USD Coin (pegged to USD), issued on Tron network (TRC20 token)tUSDT
- Tether (pegged to USD), issued on Tron network (TRC20 token)wpUSDC
- wrapped USD Coin (pegged to USD), issued on Polygon network (ERC20 token)wpUSDT
- wrapped Tether (pegged to USD), issued on Polygon network (ERC20 token).
Supported fiat currencies:
AZN
- Azerbaijani ManatBDT
- Bangladeshi TakaEUR
- EuroGBP
- Pound SterlingINR
- Indian RupeeJPY
- Japanese YenKES
- Kenyan ShillingPKR
- Pakistani RupeeRUB
- Russian RubleTRY
- Turkish LiraUSD
- United States DollarUZS
- Uzbekistani Som.
Represents all currencies in the payment processing system.
Used to specify the currency of accounts, exchange rates, and transactions in the payment processing system.
It provides a controlled and standardized list of supported currencies for all transactions and balances in the payment processing system.
New currencies can be added to the payment processing system as additional members.
Supported cryptocurrencies:
BNB
- Binance CoinbUSDT
- Tether (pegged to USD), issued on BNB Smart Chain network (BEP20 token)BTC
- BitcoinETH
- EthereUSDC
- USD Coin (pegged to USD), issued on Ethereum network (ERC20 token)eUSDT
- Tether (pegged to USD), issued on Ethereum network (ERC20 token)FTN
- FasttokenPOL
- POLpUSDC
- USD Coin (pegged to USD), issued on Polygon network (ERC20 token)SOL
- SOLsUSDT
- Tether (pegged to USD), issued on Solana network (SPL token)tUSDC
- USD Coin (pegged to USD), issued on Tron network (TRC20 token)tUSDT
- Tether (pegged to USD), issued on Tron network (TRC20 token)wpUSDC
- wrapped USD Coin (pegged to USD), issued on Polygon network (ERC20 token)wpUSDT
- wrapped Tether (pegged to USD), issued on Polygon network (ERC20 token).
Supported fiat currencies:
AZN
- Azerbaijani ManatBDT
- Bangladeshi TakaEUR
- EuroGBP
- Pound SterlingINR
- Indian RupeeJPY
- Japanese YenKES
- Kenyan ShillingPKR
- Pakistani RupeeRUB
- Russian RubleTRY
- Turkish LiraUSD
- United States DollarUZS
- Uzbekistani Som.
- The direction to convert value. Defaults to
toTarget
.
toTarget
Possible values: - The invoice id for fixed invoices rates.
Ok
Not found
Unprocessable content
Internal server error
GET /api/v2/exchange/rate?target=USDC&source=USDC HTTP/1.1
Host: api.xgateway.tech
Accept: */*
{
"data": "0.00001668",
"success": true
}
Last updated