Rates
This endpoint returns an array of available Rates.
Request Parameters
Endpoint
https://sandbox.remitcore.co/api/v1/req
Method
POST
Header
key : Authorization
value : <session_key_from_auth>
Body
{
"processingCode":"GET_EXCHANGE_RATES",
"partnerCode": "<assigned_partner_code>"
}
Request Body Parameters Description
Key | Value Format | Required | Description |
---|---|---|---|
processingCode | string | YES | A unique property required to process this request. |
partnerCode | string | YES | Unique ID assigned to your organization by Remitcore Money Transfer. |
Request Response
Sample Response
{
"responseCode": "000",
"responseMessage": "<result_description>",
"results": [
{
"base": "USD",
"counter": "KES",
"exchangeRate": "163.00"
}
]
}
Response Parameters Description
Key | Value Format | Returned | Description |
---|---|---|---|
responseCode | string | YES | 000 : successful request. 999 : Request failed, ensure you provide the correct processingCode. |
responseMessage | string | YES | An description of the request response. |
results | array | if responseCode is 000 | An array of Excahange Rates. Use the first item in the array. |
base | array | if responseCode is 000 | The Sender Currency |
counter | array | if responseCode is 000 | The Receiver Currency |
exchangeRate | array | if responseCode is 000 | An equivalent of 1 base currency against 1 counter currency. |