Skip to main content
POST
cURL

Body

application/json
withdrawRequestId
string
required

Withdraw request id sent from Merchant. It will also be used for idempotent check.

Maximum string length: 64
currency
string
required

Withdraw currency

Minimum string length: 1
amount
string
required

Withdraw amount

Minimum string length: 1
description
string
required

Withdraw description information

Maximum string length: 128
merchantInfo
object
required

Merchant info

withdrawRequestedAt
string
required

Merchant-side withdraw request time ISO_8601_FORMAT: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'

Minimum string length: 1
notifyUrl
string
required

The callback address to notify the merchant after the withdrawal is successful or failed

Maximum string length: 256
Pattern: ^(http|https)://.*$
extendInfo
string

Reserved. Json format e.g. {"key1":"value1", "key2":"value2"}

Maximum string length: 128
accountNo
string

The balance account number. (Typically, your company will have only one balance account for the same currency. However, in certain exceptional cases, such as when your company re-signs with a different entity from waffo, a new account may be generated according to the new contracting entity. Therefore, if you need to make a withdrawal for a specific account, you can specify that account for the withdrawal operation.)

bankAccountId
integer<int64>

Merchant bank account id selected under the withdrawal agreement. If empty, the default bank account of the agreement is used.

Response

200 - */*

OK

response data

code
string
Example:

0

msg
string
Example:

"success"

data
object