API URL
POST /api/v1/sub_address_withdrawalRequest
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
pid | integer(int64) | Yes | WaaS project ID. Go to Cregis > WaaS > Select project > Settings > Developer to view |
currency | string | Yes | oken to withdraw (chain_id and token_id) |
from_address | string | No | Sender address. This address must be a sub-address under the corresponding WaaS project |
to_address | string | Yes | Recipient address. It is recommended to validate the recipient address before withdrawal |
amount | string | Yes | Withdrawal amount |
callback_url | string | No | Callback URL. When the withdrawal transaction is processed, the WaaS service will initiate a callback notification to the corresponding callback_url, Refer to Withdrawal Notify |
third_party_id | string | Yes | Business reference ID generated by your own business system |
remark | string | No | Transaction description (max 256 characters) |
memo | string | No | On-chain memo/tag (only for Ton, Xrp) |
nonce | string | Yes | 6-character random string |
timestamp | integer(int64) | Yes | Current timestamp (milliseconds) |
sign | string | Yes | Digital signature to prevent tampering |
Request Example
Response
Response Result
Name | Type | Description |
---|---|---|
code | string | Response Code |
msg | string | Response Message |
data | object | Response Data Object |
Response data
Object
Name | Type | Description |
---|---|---|
cid | integer(int64) | System Sequence Number |