Withdraw Request
Request
API URL: /merchant/v2/{GUID}/withdraw
Note
{GUID} Obtained from the merchant backend (API Docking -> GUID)
✅ Required ⭕ Optional ❌ Not used
Header | Content | Description |
---|---|---|
Content-Type | text/plain | |
X-Transaction-Signature | {transaction_signature} | Please refer to Transaction Signature |
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 | String | ✅ | ✅ | Transaction amount (Support up to 6 decimal places) |
currency | String | ✅ | ✅ | Please refer to Support Channel |
channel | String | ✅ | ✅ | Please refer to Support Channel |
timestamp | Integer | ✅ | ✅ | Request timestamp (10 digits), If the time difference is allowed to be 5 seconds, it will fail. |
details | Object | ✅ | ❌ | Details object depends on channel |
callback_url | URL | ⭕ | ❌ | Service will send a callback request to this URL when the transaction completes. |
remark | String | ⭕ | ❌ | Remark |
sign | String | ✅ | ❌ | Signature string. Please refer to Data Signature and Verification |
Details Object
Param | Type | Description |
---|
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. |
transaction_id | String | ✅ | ✅ | PTS withdraw transaction id |
channel | String | ✅ | ✅ | Supported channels please refer Support Channel |
submit_currency | String | ✅ | ✅ | Submit currency |
submit_amount | Float | ✅ | ✅ | Submit amount (Support up to 6 decimal places) |
accept_currency | String | ✅ | ✅ | The currency real paid |
accept_amount | Float | ✅ | ✅ | Paid amount of accept currency (Support up to 6 decimal places) |
exchange_rate | Float | ✅ | ✅ | Exchange rate |
sign | String | ✅ | ❌ | Signature string. Please refer to Data Signature and Verification |
Response Example