v1

latestOpenAPI 3.0.02026-07-14866188.2 KB
Info

Convert currency amount to USD.

get/v0.2.4/info/convert/local-amount-to-usd

Query parameters

originCurrencystring required

Currency symbol e.g NGN, USD.

amountInOriginCurrencyinteger required

amount to be converted.

Response

Success.

statusstring

Status of the request.

messagestring

Message indicating the result of the operation.

Example response

{
  "status": "success",
  "message": "Amount converted to USD successfully",
  "data": {
    "amountInOriginCurrency": "20",
    "originCurrency": "NGN",
    "amountInUSD": 0.2,
    "validUntil": "2022-08-21T20:05:50.474Z"
  }
}