Skip to main content

Initiate withdrawal application

POST 

/withdraw/apply

The merchant initiates a withdrawal request, which needs to be approved on the management platform. After the transaction is successful, the system will send a withdrawal result notification to the callback address provided by the merchant.

Request

Body

required

Withdrawal application form

    chainId int32required

    Chain ID

    This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface

    currencyId int32required

    Currency ID

    Can be obtained from Get Currency List interface

    withdrawAddress stringrequired

    Withdrawal address

    Merchant Pro only: Can include multiple addresses, separated by ,, corresponding one-to-one with the withdrawal amount.

    withdrawAmount stringrequired

    Withdrawal amount

    Note: It is the actual amount, must be a positive number, can be a decimal.

    Merchant Pro only: Can include multiple amounts, separated by ,, corresponding one-to-one with the withdrawal address.

    outTradeNo string

    Merchant order number

    Note: Cannot pass in an empty string or a string containing only spaces.

    notifyUrl uri

    Merchant callback address

    Must be a publicly accessible HTTPS protocol address, otherwise the callback notification cannot be received

Responses

OK

Schema

    code int32required

    Status code

    msg stringrequired

    Status message on success or error message on failure

    description string

    Detailed description when error

    data

    object

    required

    withdrawId int32required

    Withdrawal order ID

Loading...