Get SendR Exchange Rate Information
Title: Get SendR Exchange Rate Information
Description: This endpoint is used to retrieve rate utilized during the conversion between two currency pairs for SendR Transactions. This rate expires in 300 Seconds. The amount in the query params is optional.
URL: https://laas.leatherback.co/payout/Disbursement/SendR/rate
Base URL: https://laas.leatherback.co
HTTP Method: GET
First, you need to pass the following Query parameters FromCurrency
, ToCurrency
, and Amount
as shown below:
Name | Description | Type | is Required |
| This is the base currency (Sender) | String e.g. NGN | Yes |
| This is the quote currency (beneficiary) | String e.g. GBP | Yes |
| This is the amount the sender intends to send to the beneficiary | Number e.g. 50000 | No |
The API will return the equivalent credit Amount in the Beneficiary currency using the current rate.
Expected URL Result: {{baseUrl}}/payout/Disbursement/SendR/rateToCurrency=NGN&FromCurrency=GBP&Amount=50000
Sample Response Body Response code: 200
{
"value": {
"rateId": "f8b6e950-709f-4fd0-b9eb-bc1846558183",
"rate": 417.122215,
"creditAmount": 2.4
},
"isSuccess": true,
"error": "",
"message": "",
"responseCode": null,
"type": null,
"title": null,
"status": 200,
"detail": null,
"instance": null,
"extensions": {}
}
Related articles
Related content
Leatherback 2024