Skip to main content
Version: 1.0.x

Withdraw Request

Request

API URL: /merchant/withdraw

Note

✅ Required ⭕ Optional ❌ Not used

HeaderContentDescription
Content-Typetext/plain
Authorization{token_type} {access_token}Concat token_type and access_token with whitespace.
ParamTypeRequiredSignDescription
user_idStringMerchant identification
order_idStringWithdraw order Id of merchant system. The order id should be unique.
amountStringTransaction amount (Support up to 6 decimal places)
currencyStringPlease refer to Currencies & Channels.
channelStringPlease refer to Currencies & Channels.
card_noStringWithdraw card number.If your channel is running virtual currency, then put the wallet address here.
card_nameStringCard (Virtual wallet) owner's name.
card_typeInteger1 = private 2 = public.
bank_codeStringPlease Refer to Banks.
bank_nameStringPlease Refer to Banks.
bank_branchStringBank branch(Limited length: 20, a Chinese word length is 2).
bank_provinceStringBank province(Limited length: 20, a Chinese word length is 2).
bank_cityStringBank city(Limited length: 20, a Chinese word length is 2).
cnaps_codeStringBank lines. REQUIRED when card_type = 2.
emailStringValidate email format.
phoneStringValidate phone number format, ex: 09123456789.
first_nameStringClient's first name, cannot contain numbers, if channel = GCASH_API, this field is required.
middle_nameStringClient's middle name, cannot contain numbers, this could empty string, if channel = GCASH_API, this field is required.
last_nameStringClient's last name, cannot contain numbers, if channel = GCASH_API, this field is required.
callback_urlURLService will send a callback request to this URL when the transaction completes.
timestampIntegerRequest timestamp (10 digits).
remarkStringRemark.
signStringSignature string.

Response

ParamTypeRequiredSignDescription
user_idStringMerchant identification
order_idStringWithdraw order Id of merchant system. The order id should be unique.
transaction_idStringPTS withdraw transaction id
channelStringSupported channels please refer Currencies & Channels
submit_currencyStringSubmit currency
submit_amountFloatSubmit amount (Support up to 6 decimal places)
accept_currencyStringThe currency real paid
accept_amountFloatPaid amount of accept currency (Support up to 6 decimal places)
exchange_rateFloatExchange rate
signStringSignature string

Response Example

{
"code": "1000",
"message": "Accepted",
"data": {
"user_id": "1",
"order_id": "20210521181858",
"transaction_id": "W12021052118190115910",
"channel": "CNY2ERC",
"submit_currency": "CNY",
"submit_amount": 40000,
"accept_currency": "USDT-ERC",
"accept_amount": 6644,
"exchange_rate": 0.1661,
"sign": "hZJiccj0EPEQkoOlsmkRWEzHZ+dvbgD8t2RyNzL..."
}
}