Skip to main content

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

KeyValue FormatRequiredDescription
processingCodestringYESA unique property required to process this request.
partnerCodestringYESUnique 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

KeyValue FormatReturnedDescription
responseCodestringYES000 : successful request.
999 : Request failed, ensure you provide the correct processingCode.
responseMessagestringYESAn description of the request response.
resultsarrayif responseCode is 000An array of Excahange Rates. Use the first item in the array.
basearrayif responseCode is 000The Sender Currency
counterarrayif responseCode is 000The Receiver Currency
exchangeRatearrayif responseCode is 000An equivalent of 1 base currency against 1 counter currency.