Get_Forex
RSP can use this method to retrieve the GloRemit quoted forex rate.
Request Description
Parameter Name | Required | Min/Max Length | Type | Remark |
UID | M | 5/50 | Alphanumeric | Username for validation. |
PWD | M | 5/50 | Alphanumeric | Password for validation, 3DES encrypted. |
rspSign | M | 32/50 | Alphanumeric | Digital signature of RSP. (Please refer to Digital signature) |
CurrFrom | M | 3/6 | Alphanumeric | ISO 4217 Currency Code. (Sell) |
CurrTo | M | 3/6 | Alphanumeric | ISO 4217 Currency Code. (Buy) |
Response Description
1 <?xml version="1.0" encoding="utf-8"?> 2 <string xmlns=http://tempuri.org/> 3 <CurrencyCodeFrom>ISO4217 Code</CurrencyCodeFrom> 4 <CurrencyCodeTo>ISO4217 Code</CurrencyCodeTo> 5 <CurrencyToken>0x230E6A0303AB5A233619C2C45</CurrencyToken> 6 <CurrencyRate>Value</CurrencyRate> 7 </string>
Parameter Name | Required | Type | Remark |
CurrFrom | M | Alphanumeric | Currency code according to ISO 4217. |
CurrTo | M | Alphanumeric | Currency code according to ISO 4217. |
CurrRate | M | Numeric | The exchange rate according to currency pair, up to 4 decimal points. |
FR_Key | O | Alphanumeric | For Future Purpose. |
M= Mandatory, C= Conditional, O= Optional