Withdraw Confirmation
PTS provides a withdrawal confirmation function. You can use it to double-check the withdrawal request was sent from you. While withdrawal confirmation is enabled, our system will send a withdrawal confirmation for each withdrawal request we received to the URL you given to us. If this withdrawl request is confirmed, then the transaction will continue. Otherwise, the withdrawal request will be halted and mark it as an anomaly.
If you want to use our withdrawal confirmation function, please contact our customer service team. Also, you need to implement the API described below and provide your confirmation URL to us.
Request
Content-Type: application/json
Param | Type | Required | Sign | Description |
---|---|---|---|---|
user_id | String | ✅ | ✅ | Merchant identification |
order_id | String | ✅ | ✅ | Withdraw order Id of merchant system. The order id should be unique. |
amount | Integer | ✅ | ✅ | Transaction amount (Support up to 6 decimal places) |
timestamp | Integer | ✅ | ✅ | The timestamp which provides within withdraw request (10 digits) |
sign | String | ✅ | ❌ | Signature string |
Response
Param | Type | Required | Sign | Description |
---|---|---|---|---|
user_id | String | ✅ | ✅ | Merchant identification |
order_id | String | ✅ | ✅ | Withdraw order Id of merchant system. The order id should be unique. |
confirm | String | ✅ | ✅ | Return SUCCESS indicated order confirmed. Other values indicate failure. |
sign | String | ✅ | ❌ | Signature string |