POST
/
api
/
deposit
/
getUserAddressShare
curl --request POST \
  --url https://waasapi.url/api/v1/api/deposit/getUserAddressShare \
  --header 'Content-Type: <content-type>' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '{
  "preDepositOrderId": "PD987654321",
  "depositAmount": "50.25",
  "chainName": "TRON",
  "symbol": "USDT",
  "showDepositNotice": true,
  "showExchangeRate": "1 USDT = 7.2 CNY",
  "showMerchantLogo": true
}'
{
  "code": 0,
  "message": "success",
  "data": {
    "depositAmount": "50.25",
    "chainName": "TRON",
    "symbol": "USDT",
    "depositAddress": "TPXLEfsrochsCB3WiTb7urvnx7wtQZKbFm",
    "preDepositOrderId": "PD987654321",
    "expirationTime": "2023-10-25T12:30:00Z",
    "depositUrl": "https://checkout.example.com/deposit?data=eyJkZXBvc2l0QW1vdW50IjoiNTAuMjUiLCJjaGFpbk5hbWUiOiXA6MDBaIn0="
  }
}

接口描述

获取用户存款地址接口,用于返回存款金额、链信息、过期时间、收银台 URL 等。若提供的存币金额不能保证唯一性,接口会返回相应的错误码。

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.