Implementing Tokenization
Overview
Tokenization is the process of collecting and securely storing card data in a token that can be used to initiate a financial transaction request without the need for the cardholder to be present. This is useful when you want to set up recurring payments, like subscriptions or allowing the customer to finance their purchase. In order to do this, you need to execute a financial transaction and get the orderId and transactionId from the response, which will be used to create the token using the Moneris Gateway API.
Integration Methods
Creation
Direct & Cloud Integration
This example goes through creating an endpoint for generating a token using the Moneris Gateway API for the Direct and Cloud Integration methods.
NOTE: For an example that goes through using the token from this endpoint, visit Token Usage.
App-to-App Integration
This example goes through creating an endpoint for generating a token using the Moneris Gateway API for the App-to-app Integration methods using Kotlin.
NOTE: For an example that goes through using the token from this endpoint, visit Token Usage.
Usage
Direct & Cloud Integration
This example goes through using the token that was generated in the Token Creation Scenario using the Moneris Gateway API for the Direct and Cloud Integration methods.
App-to-App Integration
This example goes through using the token that was generated in the Token Creation Scenario using the Moneris Gateway API for the Moneris Gateway API for the App-to-app Integration methods using Kotlin.
NOTE
Tokenization is a premium feature and needs to be enabled. Contact your client consultant to enable this for the QA environment, and contact the sales team to enable this in your production environment.

