v1

latestOpenAPI 3.0.32026-07-26184851.6 MB
Withdraw Fiat

Get Exchange Rates

Get Exchange Rates

get/v1/wallets/{walletId}/withdraw/fiat/rates

Query parameters

currencystring required
Example:NGN

destination fiat currency code

assetIdstring required
Example:f8112728-36a1-46f4-b7f5-5de836ecfaa1

asset ID of the stablecoin to withdraw

amountstring required
Example:1000

amount to withdraw in asset units

Request body

codestring

Example request

{
  "assets": [
    {
      "address": "0x8636d866C022abA90AAE13c8fE1De95dFc8Cb701",
      "amount": "0.1",
      "id": "ae455f23-3824-4125-baab-d158315cbcbd",
      "reference": "62343-USDT"
    },
    {
      "address": "0x8636d866C022abA90AAE13c8fE1De95dFc8Cb701",
      "amount": "0.00002",
      "id": "98582300-2f1d-4ef4-99f2-4361319fc776",
      "reference": "23432432-BNB"
    }
  ],
  "code": "339362"
}

Response

200

datanumber
messagestring
statusboolean

Example response

{
  "data": 1441.01,
  "message": "Exchange rates fetched successfully",
  "status": true
}