Returns the exchange rate between two currency pairs. Currently supports USDNGN only.
USDNGN
curl --request GET \ --url https://api.sandbox.sudo.cards/accounts/transfer/rate/{currencyPair} \ --header 'Authorization: <api-key>'
"{\n \"statusCode\": 200,\n \"message\": \"Exchange rate fetched successfully.\",\n \"data\": {\n \"rate\": \"530.00\",\n \"sell\": \"482.00\",\n \"buy\": \"530.00\"\n }\n}"
Exchange Currency Pair. Example USDNGN.
200
The response is of type object.
object