Tokenization is the proccess of representing sensitive payment information with a token that does not contain data and represents the payment method of the consumer in SensePass.
Tokenization is useful for recurring payments or any kind of future payments with interaction with the consumer.
Create a Token without capture
Call "transactions/init" in order to create an tokenization request and add the "methodType" field with "Tokenize".
{"TransactionNumber":"5f3275249792ee75b41322e636617ee039e2e1a49cc80c11f2177233","date":"2022-08-14T10:09:05.810Z","status":0,"statusName":"Initialize","timeoutDate":"2022-08-14T10:19:05.872Z","paymentCommit": {"messsage":"Payment commit is enabled for this transaction" },"businessId":"339978940107456","businessName":"Coffee Bar","pos":"POS 1","businessOwnerPhone":"3587292","businessCountry":"US","businessCity":"Virginia Beach","businessStreet":"123 Street","businessAddress":"123 Street, Virginia Beach","branchNumber":"1","branchId":"1","transactionPage": { "iOSLink": "https://pay.sandbox.sensepass.com/orderSummary/5f3275249792ee75b41322e636617ee039e2e1a49cc80c27f2177233",
"androidLink": "https://pay.sandbox.sensepass.com/orderSummary/5f3275249792ee75b41322e636617ee039e2e1a49cc80c27f2177233",
"qrURL": "https://pay.sandbox.sensepass.com/orderSummary/5f3275249792ee75b41322e636617ee039e2e1a49cc80c27f2177233"
},"paymentDetails": {"type":"Capture+Tokenize" }}
The consumer tap the sticker, or get the payment link through e-mail or SMS, and choose a payment method.
Payment Token
The consumer choose the payment method as usual and you will get an update regarding this transaction by websocket, callback and transaction status API.