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="
  }
}

API Description

The Get User Deposit Address Interface is used to return the deposit amount, blockchain information, expiration time, and checkout URL. If the provided deposit amount cannot be guaranteed as unique, the interface will return the corresponding error code.

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.