Saltar para o conteúdo principal
GET
/
v1
/
wallets
/
{walletId}
/
withdraw
/
fiat
/
rates
{
  "data": 1441.01,
  "message": "Exchange rates fetched successfully",
  "status": true
}

Autorizações

x-api-key
string
header
obrigatório

Parâmetros de caminho

walletId
string
obrigatório
Exemplo:

"YOUR_WALLET_ID"

Parâmetros de consulta

currency
string
obrigatório

destination fiat currency code

Exemplo:

"NGN"

assetId
string
obrigatório

asset ID of the stablecoin to withdraw

Exemplo:

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

amount
string
obrigatório

amount to withdraw in asset units

Exemplo:

"1000"

Corpo

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

"339362"

Resposta

200

data
number
Exemplo:

1441.01

message
string
Exemplo:

"Exchange rates fetched successfully"

status
boolean
Exemplo:

true