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 "Authorization: GLOREMIT <UID>:<PWD> :<rspSign>"

Request Description

Parameter NameRequiredMin/Max LengthTypeRemark
rspSignM32/50AlphanumericDigital signature of RSP
UIDM5/50AlphanumericUsername for validation
PWDM5/50AlphanumericPassword for validation
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 TimeDate Format: MM/dd/YYYY HH:MM