Get Fx Rates
Get FX rates for a particular currency pair.
The parameters that need to be sent to the service are shared below; Get Fx Rates Request Message Parameters
DealerNo
string
It is the dealer number created for the dealer.
Username
string
It is the username created for the dealer.
Password
string
It is the password created for the dealer.
An example JSON object to be sent to the service is as follows:
{
"Header": {
"DealerNo": "dealerno",
"Username": "username",
"Password": "password"
}
}Query Parameters:
SellCurrency
string
Return sell currency (3-letter ISO-4217 code)
BuyCurrency
string
Return buy currency (3-letter ISO-4217 code)
Example Response:
{
"SellCurrency": "EUR",
"BuyCurrency": "USD",
"CostFxRate": 1.067616,
"ElekseMargin": 0.0,
"TotalFxRate": 1.067616,
"Status": 0,
"Customer_Explanation": null,
"LOG_Explanation": null
}Response Parameters:
SellCurrency
string
It is the dealer number created for the dealer.
BuyCurrency
string
It is the username created for the dealer.
CostFxRate
decimal
It is the password created for the dealer.
ElekseMargin
decimal
Return Elekse Margin
TotalFxRate
decimal
Returns Instarem FX rate.
Status
StatusEnum
SUCCESS = 0, ERROR = 100, FIELD_ERROR = 101, TIME_OUT = 102, CORPORATION_PERMISSION_ERROR = 103, NOT_FOUND = 104,
ERROR_REQUIRECANCELINVOICE = 105, LIMIT_ERROR = 106,
AUTHENTICATION_ERROR = 401, HASNOTPAYMENTS = 999,
Customer_Explanation
string
Return Customer Explanation
LOG_Explanation
string
Return Logs
Last updated