API URL
POST /api/v2/payoutRequest
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
pid | integer(int64) | Yes | WaaS Project ID. Navigate to: “Cregis > WaaS > Your Project > Settings > Developer” |
wallet_id | integer(int64) | No | The specific payout wallet ID. If empty, use project’s default payout wallet address,You may refer to project creation |
currency | string | Yes | Token to withdraw (chain_id and token_id) |
from_address | string | No | Sender address. If empty, use project’s default payout wallet address |
to_address | string | Yes | Recipient address. Validate address before withdrawal |
amount | string | Yes | Withdrawal amount |
callback_url | string | No | Callback URL. WaaS will POST notifications here when transaction is processed,You may refer to Payout notify |
third_party_id | string | Yes | Unique business ID generated by your system for tracking |
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 |