Commit Transaction

Backend verification step to complete the payment

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

Name
Type
Description

transactionNumber*

String

transaction number of the ready-transaction

"pay" callback from the SDK contains the transaction number for this API call

Request Body

Name
Type
Description

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

metadata

Array

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

products

Array

receipt

Object

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?