Passer au contenu principal
POST
/
v1
/
wallets
/
{walletId}
/
withdraw
/
fiat
/
quote
Master Wallet Get Quote
curl --request POST \
  --url https://api.blockradar.co/v1/wallets/{walletId}/withdraw/fiat/quote \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "accountIdentifier": "8032324141",
  "amount": 0.5,
  "assetId": "37079b6b-b74f-48e9-a394-9a5cbae88f12",
  "currency": "NGN",
  "institutionIdentifier": "OPAYNGPC"
}
'
{
  "data": {
    "estimatedArrivalTime": 30,
    "nativeBalance": "0.001341843733953408",
    "nativeBalanceInUSD": "0.0013413069964598266368",
    "networkFee": "0.000012017210897804",
    "networkFeeInUSD": "0.0000120124040134448784",
    "transactionFee": "0"
  },
  "message": "Successful",
  "status": true
}

Autorisations

x-api-key
string
header
requis

Paramètres de chemin

walletId
string
requis
Exemple:

"YOUR_WALLET_ID"

Corps

application/json
accountIdentifier
string
requis

destination bank account identifier

Exemple:

"8032324141"

amount
number
requis

amount to withdraw in asset units

Exemple:

0.5

assetId
string
requis

asset ID of the stablecoin to withdraw

Exemple:

"37079b6b-b74f-48e9-a394-9a5cbae88f12"

currency
string
requis

destination fiat currency code

Exemple:

"NGN"

institutionIdentifier
string
requis

bank or institution identifier code

Exemple:

"OPAYNGPC"

Réponse

200 - application/json

200

data
object
message
string
Exemple:

"Successful"

status
boolean
Exemple:

true