POST
/
api
/
deposit
/
getUserAddressIndependent
curl --request POST \
  --url https://waasapi.url/api/v1/api/deposit/getUserAddressIndependent \
  --header 'Content-Type: <content-type>' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '[
  {
    "chainName": "TRON",
    "symbol": "USDT",
    "tenantUserId": "tenant123",
    "depositAmount": "50.25",
    "paymentValidity": 300,
    "orderId": "order-20250425-001",
    "showDepositNotice": true,
    "showExchangeRate": "1 USDT = 7.2 CNY",
    "showMerchantLogo": true,
    "language": "zh-cn"
  }
]'
{
  "code": 0,
  "message": "success",
  "data": [
    {
      "chainName": "ETH",
      "symbol": "USDT",
      "depositAmount": "2",
      "depositAddress": "0xa0e0cfd25f5db034abfd69cd555cb5d8cfe91aea",
      "depositUrl": "https://waas-payment-hk.example.com/deposit?data=eyJkYXRhIjpbeyJjaGFpbk..."
    }
  ]
}

API Description

The Get User Deposit Address Interface is used to return the deposit amount, blockchain information, and checkout URL.

Headers

Content-Type
string
required

请求内容类型。

Example:

"multipart/form-data"

X-API-KEY
string
required

平台分配的 API-KEY。

Example:

"your-api-key"

Body

application/json · object[]

获取存款地址的请求参数列表(JSON 数组格式)

The body is of type object[].

Response

200
application/json

成功响应,返回存款地址和支付详情列表

The response is of type object.