Commit Transaction
Backend verification step to complete the payment
This API call must be performed from your backend and not through the JS in the frontend.
Backend verification step to complete the payment
POST https://api.sensepass.com/api/transactions/:transactionNumber/commit
Authentication options:
Device ID / Merchant API Key + Branch Number / Branch API key
Path Parameters
transactionNumber*
String
transaction number of the ready-transaction
Request Body
deviceId
String
location's device id - required if no api key
methodType*
Enum
manual_capture or tokenize or authorize
apiKey
String
merchant/location api key
branchNumber
String
required if merchant api key is used.
e.g. 123
callbackURL
String
URL (POST/GET) to receive transaction changes
currency
String
Defaults to location's locale.
USD | CAD | EUR | ILS (etc)
Required for manual_capture transactions
amount
Amount in cents.
Required for manual_capture or authorize transactions
posData
Object
Any object/array you'd like to receive using the callback URL
Example - Manual Capture Response
Example - Tokenize Response
Example - Authorization Response
Example - Decline
Last updated
Was this helpful?
