Overview
Used to disable a bound QuickPay ID, preventing it from being used for subsequent payments while retaining the relevant records for business inquiries.
Process Flow
How It Works
- Set Request Headers:
'Content-Type:application/json',
'account:995149',
'terminal:99514901',
'secureCode:12345678'
- Call Oceanpayment Submit Required Parameters to deactivate the QuickPay ID.
cURL -X POST 'https://checkout-s.oceanpayment.com/pg/quickPay/cancel' \
-d
{
"quickpay": {
"id": "",
}
}
Handling the Response
Check the deactivation status of the QuickPay ID: quickpay.status.
{
"message": "SUCCESS",
"code": "000",
"data": {
"account": "995149",
"terminal": "99514901",
"order": {
"methods": "{{methods}}",
"referenceId": "250117093828061010584",
"remark": "",
"description": ""
},
"merchant": {
"referenceId": "test20250117093730"
},
"quickpay": {
"id": "test20250117093730",
"status": "1",
"expiryTime": "2030-10-01",
},
"customer": {
"id": ""
}
}
}