跳转到主要内容
GET
/
v1
/
wallets
/
{walletId}
/
withdraw
/
fiat
/
rates
{
  "data": 1441.01,
  "message": "Exchange rates fetched successfully",
  "status": true
}

授权

x-api-key
string
header
必填

路径参数

walletId
string
必填
示例:

"YOUR_WALLET_ID"

查询参数

currency
string
必填

destination fiat currency code

示例:

"NGN"

assetId
string
必填

asset ID of the stablecoin to withdraw

示例:

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

amount
string
必填

amount to withdraw in asset units

示例:

"1000"

请求体

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

"339362"

响应

200

data
number
示例:

1441.01

message
string
示例:

"Exchange rates fetched successfully"

status
boolean
示例:

true