/api/v2/payoutCreate Wallet Payout (v2)
V2 adds two optional parameters to V1: wallet_id and from_address. It supports specifying the payout wallet or source address, which is useful for multi-wallet management.
If payout external verification is enabled for the project, Cregis first sends a Payout External Verification Notification to the external verification URL configured in the project, and then continues or stops processing based on the returned ok or deny response.
Rate limit: 1000 requests/minute
Request
Request Body
required
application/jsonnoncestringrequired6-character random string.
timestampinteger<int64>requiredTimestamp.
signstringrequiredSignature.
pidinteger<int64>requiredWaaS project ID you created.
currencystringrequiredCurrency identifier.
to_addressstringrequiredRecipient address. We recommend validating the recipient address before payout.
amountstringrequiredPayout amount.
third_party_idstringrequiredCaller business ID generated by your own business system.
wallet_idinteger<int64>Specified payout wallet ID. If omitted, the default payment address of the project's default payout wallet is used. See Create Project.
from_addressstringSender address. If omitted, the default payment address of the project's default payout wallet is used. See Create Project.
callback_urlstringCallback URL. When this payout is processed, Cregis sends a callback notification to the corresponding
callback_url. For callback details, see Payout Notification.remarkstringTransfer description. Maximum 256 characters.
memostringOn-chain memo/tag information. Supported only by TON and XRP.
Responses
200Success. Returns the Cregis system transaction ID.application/jsoncodestringReturn status code. The only success code is
code:00000; all other return codes indicate an exception. See Error Codes.msgstringResponse message.