Passer au contenu principal
GET
/
v1
/
wallets
/
{walletId}
/
withdraw
/
fiat
/
rates
{
  "data": 1441.01,
  "message": "Exchange rates fetched successfully",
  "status": true
}

Autorisations

x-api-key
string
header
requis

Paramètres de chemin

walletId
string
requis
Exemple:

"YOUR_WALLET_ID"

Paramètres de requête

currency
string
requis

destination fiat currency code

Exemple:

"NGN"

assetId
string
requis

asset ID of the stablecoin to withdraw

Exemple:

"f8112728-36a1-46f4-b7f5-5de836ecfaa1"

amount
string
requis

amount to withdraw in asset units

Exemple:

"1000"

Corps

application/json
assets
object[]
Exemple:
[
{
"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
string
Exemple:

"339362"

Réponse

200

data
number
Exemple:

1441.01

message
string
Exemple:

"Exchange rates fetched successfully"

status
boolean
Exemple:

true