Fetch FX Rate by operator ID
The /operators/fx-rate
endpoint allows you to fetch an operator's foreign exchange rate for international top-ups
FX Rate
POST
https://topups.reloadly.com/operators/fx-rate
Headers
Authorization*
string
Your access token is required as a bearer token in the request's header
Request Body
operatorId*
integer
The ID of the receiving mobile number's operator
amount*
integer
The top-up amount being sent to the receiving mobile number
{
"id":174,
"name":"Natcom Haiti",
"fxRate":465.00,
"currencyCode":"HTG"
}
Request samples
curl --location --request POST 'https://topups.reloadly.com/operators/fx-rate' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN_HERE' \
--header 'Accept: application/com.reloadly.topups-v1+json' \
--header 'Content-Type: application/json' \
--data-raw '{
"operatorId":"341",
"amount":"10"
}'
Response parameters
Parameter
Type
Description
id
integer
Indicates the ID of the operator
name
string
Indicates the operator's name
fxRate
integer
Indicates the exchange rate of the operator's currency to your account's currency. For example, if your account is in Indian Rupees( INR ) and you are making a top-up to a number registered to Natcom Haiti
, the exchange rate returned will be 1.16 ( 1 INR = 1.16 HTG )
currencyCode
string
Indicates the currency symbol of the country where the operator is registered
Last updated
Was this helpful?