Cancel a pending transaction
Cancelling a pending transaction endpoint allows you to block the payment flow for consumers that currently visiting the payment page and also block the payment page for new consumers - only for specific transaction.
post
https://api.sensepass.com/api
/transactions/cancel/{transactionNumber}
Cancelling a pending transaction object (Payment Request)
Parameters
Path
transactionNumber*
Transaction number to cancel
Body
deviceId
string
Terminal unique device ID provided by SensePass (For Device based Transactions) - Required if apiKey is empty
apiKey
string
Merchant ID provided by SensePass (For Web based Transactions) - Required if deviceId is empty
Responses
200: OK
OK
400: Bad Request
Invalid Input
500: Internal Server Error
Internal Error
501: Not Implemented
This transaction cannot be cancelled due to cosumers activity
Last modified 1mo ago