POST
/
api
/
deposit
/
getPreDepositInfo
curl --request POST \
  --url https://waasapi.url/api/v1/api/deposit/getPreDepositInfo \
  --header 'Content-Type: <content-type>' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '{
  "preDepositOrderId": "PD123456789",
  "adjustDepositAmount": "100.50",
  "adjustAmountUpperBound": "105.00",
  "adjustAmountLowerBound": "95.00",
  "chainName": "TRON",
  "symbol": "USDT"
}'
{
  "code": 0,
  "message": "success",
  "data": {
    "uniqueDepositAmount": "100.53",
    "preDepositOrderId": "PD123456789"
  }
}

接口描述

请求预存款接口,用于调整存币金额以确保金额唯一性。 此接口仅用于辅助租户调整存币金额,不实际获取存币地址。

Headers

Content-Type
string
required

请求内容类型

Example:

"multipart/form-data"

X-API-KEY
string
required

平台方分配的 API-KEY

Example:

"your-api-key"

Body

application/json

预存款请求参数(JSON 格式)。

The body is of type object.

Response

200
application/json

成功响应,返回调整后的唯一存币金额及预存币单号。

The response is of type object.