Skip to main content

Withdraw Request

Request​

API URL: /merchant/v2/{GUID}/withdraw

Note

{GUID} Obtained from the merchant backend (API Docking -> GUID)

✅ Required ⭕ Optional ❌ Not used

HeaderContentDescription
Content-Typetext/plain
X-Transaction-Signature{transaction_signature}Please refer to Transaction Signature
ParamTypeRequiredSignDescription
user_idString✅✅Merchant identification
order_idString✅✅Withdraw order Id of merchant system. The order id should be unique.
amountString✅✅Transaction amount (Support up to 6 decimal places)
currencyString✅✅Please refer to Support Channel
channelString✅✅Please refer to Support Channel
timestampInteger✅✅Request timestamp (10 digits), If the time difference is allowed to be 5 seconds, it will fail.
detailsDetails⭕❌Details object depends on channel
callback_urlURL⭕❌The url to receive callback request from PTS when transaction complete.
remarkString⭕❌Remark
signString✅❌Signature string. Please refer to Data Signature and Verification

Details Object

ParamTypeDescription
channel_subjectStringChannel subject. Please refer to Support Channel
account_numberStringPayee's Account number. (Numbers 10~20)
emailStringValidate email format.
phoneString1. The phone number starts with "09" and consists of 11 digits, for example: 09123456789.
2. The phone number starts with "9" and consists of 10 digits, for example: 9123456789.
nameStringPayee's Name.
1. Must be within 30 characters and cannot include special characters, such as: \"/*!@#...\". Values exceeding this limit will be truncated.
2. The format should be: firstname middlename (optional) lastname. If lastname is missing, the system will default to "NA".
addressStringPayee's Address.

Response​

ParamTypeRequiredSignDescription
user_idString✅✅Merchant identification
order_idString✅✅Withdraw order Id of merchant system. The order id should be unique.
transaction_idString✅✅FTIPH transaction id
channelString✅✅Please refer to Support Channel
submit_currencyString✅✅Submit currency
submit_amountFloat✅✅Submit amount (Support up to 6 decimal places)
accept_currencyString✅✅The currency real paid
accept_amountFloat✅✅Paid amount of accept currency (Support up to 6 decimal places)
exchange_rateFloat✅✅Exchange rate
signString✅❌Signature string. Please refer to Data Signature and Verification

Response Example​

{
"code": "1000",
"message": "Accepted",
"data": {
"user_id": "28",
"order_id": "202407311241124",
"transaction_id": "W282024073113412453",
"channel": "MAYA",
"submit_currency": "PHP",
"submit_amount": 20000,
"accept_currency": "PHP",
"accept_amount": 20000,
"exchange_rate": 1,
"sign": "daseqw3t6uhghfsdeD8t2RyNzL..."
}
}