Exchange Rates
Manage exchange rates
Convert values between supported fiats and cryptocurrencies from a single endpoint.
GET https://api.ivorypay.io/v1/cryptofiat-conversion
{
"success": true,
"message": "Query successful",
"data": [
{
"uuid": "056654fd-f8e5-455b-a81b-30c7aacb63d0",
"name": "Cedi",
"code": "GHS",
"type": "fiat",
"status": "active",
"createdAt": "2022-07-25T15:20:12.622Z"
},
{
"uuid": "6a78ccaf-194d-4aed-8a84-e8ab4708a1f2",
"name": "Naira",
"code": "NGN",
"type": "fiat",
"status": "active",
"createdAt": "2022-05-29T10:08:33.135Z"
},
{
"uuid": "62bc5812-0fdc-4d19-9390-cbde83cdda05",
"name": "Rand",
"code": "ZAR",
"type": "fiat",
"status": "active",
"createdAt": "2022-07-25T15:20:12.622Z"
},
{
"uuid": "2dfc9e26-546a-4ca2-8d63-54f666c6e5f5",
"name": "Shilling",
"code": "KES",
"type": "fiat",
"status": "active",
"createdAt": "2022-07-25T15:20:12.622Z"
},
{
"uuid": "2d656db3-fd76-49c3-b3c4-27ef750ee2dc",
"name": "USDC",
"code": "USDC",
"type": "crypto",
"status": "active",
"createdAt": "2022-05-29T10:08:33.135Z"
},
{
"uuid": "788141e0-5154-4976-a9f5-057e8d118a86",
"name": "USDT",
"code": "USDT",
"type": "crypto",
"status": "active",
"createdAt": "2022-05-29T10:08:33.135Z"
}
]
}
Name | Type | Required | Description |
---|---|---|---|
from | string | Y | Currency to convert from. Supported values are: USDT , USDC , SOL , NGN , KES , GHS , USD and ZAR . |
to | string | Y | Currency to convert to. Supported values are: USDT , USDC , SOL , NGN , KES , GHS , USD and ZAR . |
amount | number | N | An optional numeric value to convert. Defaults to 1. |
Last modified 12d ago