Info
Convert USD to Local currency amount.
get/v0.2.4/info/convert/usd-to-local-amount
Request
- Base URLhttps://api.chimoney.io
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
destinationCurrencystring required
currency symbol e.g NGN, KES.
amountInUSDinteger required
amount in usd.
Response
Success.
Example response
{
"status": "success",
"message": "USD converted to local amount successfully",
"data": {
"amountInUSD": "100",
"destinationCurrency": "NGN",
"amountInDestinationCurrency": 1000,
"validUntil": "2022-08-21T20:05:50.474Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.