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.
API Interface
Cancelling a pending transaction object (Payment Request)
POST
https://api.sensepass.com/api/transactions/cancel/{transactionNumber}
Path Parameters
Name
Type
Description
transactionNumber*
String
Transaction number to cancel
Authentication Request Body fields
See here our Authentication page
{
"status": 200,
"status_message": "Transaction Was Canceled"
}
Cancelling a pending transaction object using Device ID
POST
https://api.sensepass.com/api/transactions/cancelByDeviceId/{deviceId}
This API will cancel the last pending transaction of a given device
Path Parameters
Name
Type
Description
deviceId*
String
Device ID of the transaction
Authentication Request Body fields
See here our Authentication page
{
"status": 200,
"status_message": "Transaction Was Canceled"
}
Flow Chart
See our payment flow chart here
Transaction Status Flow
Last updated
Was this helpful?