Get Rate

This endpoint is used to get currency swap rate between two currency pairs e.g NGN to USD

POST {{base_url}}/business/rate

Headers

NameTypeDescription

Authorization*

String

Set value to Bearer PUBLIC_KEY

Take a look at how you might do this:

curl --location '{{base_url}}/business/rate' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer PUBLIC_KEY' \
--data '{
    "currencypair": "USDNGN"
}'

Sample Response

{
    "status": true,
    "message": "Exchange rate fetched successfully",
    "data": {
        "minAmount": 0.1,
        "maxAmount": 10000,
        "exchangeRate": 1429
    }
}

Last updated