Cancel Device Sale
Cancel Device Sale API allows partners to cancel and in-process on device sale transaction.
post
https://<PayEngine-host>
/api/payment/cancel-device-sale
Request
Response
{
"merchant_id": "c03ce6ad-1e78-4bd7-ad35-e0d46b6b765d",
"data": {
"deviceId": "d9a63ebe-3036-4657-ba47-a4ad6e401b7c"
}
}
{
"data": {
"ID": "d764f5a1-d269-43c8-bdeb-d3d469b2ada5",
"TransactionID": "9732e3bd-008a-454e-b201-1d600ec95c3e",
"MerchantID": "e6803b29-68a4-4c2a-b3ee-019dfad86c61",
"CancelDeviceSaleResponse": {
"status": "PASS",
"responseMessage": "Transaction cancellation requested. If the transaction cannot be cancelled, you must process a void/refund request once the transaction is complete."
}
}
}
Webhook event: DEVICE_SALE_CANCEL

Webhook Payload Example

{
event_uid: 'f1b19120cb0b1d9dcf14c27fa59ea227',
event: 'DEVICE_SALE_CANCEL',
data: {
account_id: '3cab79a6-31bd-43e6-9a0c-e5870b18fa38',
payment_id: '8840e087-1083-412e-95f3-691c60957353',
merchant_id: 'e6803b29-68a4-4c2a-b3ee-019dfad86c61',
transaction_id: '0a73ef84-f969-4c8e-9a1f-5539deba84fc',
cancel_device_sale_response: {
status: 'PASS',
responseMessage: 'Transaction cancellation requested. If the transaction cannot be cancelled, you must process a void/refund request once the transaction is complete.'
}
}
}
​
Copy link
On this page
post