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.
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.
- The direction to convert value. Defaults to
toTarget
.
toTarget
Possible values: - The invoice id for fixed invoices rates.
GET /api/v2/exchange/rate HTTP/1.1
Host: api.xgateway.tech
Accept: */*
{
"data": "0.00001668",
"success": true
}
Last updated