Get_NextRate - Tranglo

Get_NextRate

The Corporate Customers may use this method to retrieve the scheduled next Forex rate, along with the effective date and time when the new rate will take effect.

Definition

GET/api/wallets/{Account_ID}/next-rates

Sample Request

curl -X GET "{{base_URL}}/api/wallet/{{Account_ID}}/next-rates?Currency_To=php&Trxn_Type&Issuer_Code" \
-H "Authorization: Bearer " \
-H "Content-Type: application/json"

Request Description

Parameter NameRequiredMin/Max LengthTypeRemark
AuthorizationMBearer <jwt-token>String
Account_IDM15/15StringCorporate Customer's Wallet Account ID.
Currency_ToM3/3CharCurrencyTo (Buy)
Trxn_TypeO1/2NumericTransaction Type. Preset parameter as Optional.
Issuer_CodeO3/16StringBeneficiary Account's Issuer Code. Preset parameter as optional.

Sample Response

HTTP 200 OK
{
"Currency_From": "USD",
"Currency_To": "MYR",
"Currency_Rate": 4.2,
"EffectiveDateTime": "2025-01-07T14:30:00"
}

Response Description

ParameterData TypeRequiredDescription
Currency_FromCharMCurrency From (Sell)
Currency_ToCharMCurrency To (Buy)
Currency_RateNumericMThe exchange rate according to currency pair.
EffectiveDateTimeDate TimeMEffective Date Time for the upcoming rates.

M = Mandatory, C = Conditional, O = Optional