FOREX: Get Forex Next Scheduled Rate

RSP can use this method to retrieve the GloRemit scheduled next rate with the effective date time when the new rate will apply.

Definition:

GET /v1/payments/forex/nextrates?CurrFrom={CurrFrom}&CurrTo={CurrTo}

Sample Request:

>curl -v "http://staging-gloremit.tranglo.com:2014/v1/payments/forex/nextrates?CurrFrom=USD&CurrTo=MYR" \
-H "AuthorizationGLOREMIT <UID>:<PWD> :<rspSign>"

Request Description

Parameter NameRequiredMin/Max LengthTypeRemark
UIDM5/50AlphanumericUsername for validation.
PWDM5/50AlphanumericPassword for validation, 3DES encrypted.
rspSignM32/50AlphanumericDigital signature of RSP, see Section 4 for more info.
CurrFromM3/6AlphanumericISO 4217 Currency Code. (Sell)
CurrToM3/6AlphanumericISO 4217 Currency Code. (Buy)

Response Description

Sample Response:

{
"EffectiveDateTime":"",
"CurrFrom":"USD",
"CurrTo":"MYR",
"CurrRate":0.0
}
Parameter NameRequiredTypeRemark
CurrFromMAlphanumericCurrency code according to ISO 4217.
CurrToMAlphanumericCurrency code according to ISO 4217.
CurrRateMNumericThe exchange rate according to currency pair, up to 4 decimal points.
EffectiveDateTimeMAlphanumericEffective Date Time.
Date Format: MM/dd/YYYY HH:MM

M= Mandatory, C= Conditional, O= Optional