For additional flexibility with real-time, recurring, and card-on-file transactions, Merchants have Tokenization gives merchants the ability to securely save their customers' card payment and eCheck data by creating a tokenpayment information. By tokenizing a customer's payment method, Merchants merchants can schedule future card-on-file charges and create recurring payment plans.
Info |
---|
Tokens save the payment method while fully protecting the cardholder’s sensitive data, simplifying your PCI compliance requirements. Payrix Tokens do not expire. |
...
Note: While Payrix Tokens do not expire, OmniTokens do have an expiration date, shown on the Transaction Details page.
Payrix provides the following resources for implementing tokenization and card-on-file/recurring payments:
Page Tree | ||||||||
---|---|---|---|---|---|---|---|---|
|
This page includes the following information about Payrix’s tokenization and recurring payments solutions:
...
How to Tokenize a
...
Customer’s Payment Method
There are two ways in which a cardholder’s payment data can be saved for CoF & recurring billing payment transactions:
Creating a Customer in the Payrix Portal/wiki/spaces/PAL/pages/764805252
Merchants have the ability to tokenize a cardholder’s payment method data directly in the Portal /wiki/spaces/PAL/pages/764805252 via the Customers section on the Dashboard menu. When creating a Customer customer, the Merchant will be prompted to enter the cardholder’s personal information, including name, address, and email address.
Info |
---|
Saving address information on a Customer customer is not technically required to create a token. However, it is strongly recommended that it the customer’s address be saved to the record to increase successful recurring and card-on-file transactions with when using the token. |
...
Once a Customer customer is created, the a Merchant can attach a saved payment method (token) to that Customer customer for future CoF or recurring billing.
A Merchant can also attach multiple tokens to a customer if they have more than one payment method that will be used for future CoF and recurring payment transactions.
Info |
---|
For our full step-by-step instructions for creating a Customer & attaching a tokenized payment method, please visit our Portal User Guide /wiki/spaces/PAL/pages/764805252. |
Tokenizing a Payment Method Via the API
A customer’s payment method can also be saved (tokenized) via the Payrix API. This is done by sending a POST request to the /tokens endpoint. Within the BODY of the request, you will include the customer’s personal information (name, address etc.), as well as the payment method (card/account number, exp. date etc.) that you would like to tokenize.
Info |
---|
Technically, the customer’s address is not required when creating a token. However, we strongly recommend including it to prevent future payments from being blocked/declined due to AVS mismatch. Please visit our API Reference for optional fields & additional information. |
Location | Syntax | ||
---|---|---|---|
URL |
| ||
HEADER |
| ||
BODY |
|
Creating a Token SimultaneouslyAs You Submit a Transaction in the API
You also have the ability to tokenize a customer’s payment method simultaneously as you submit a transaction via the API. To do this, you will need to include the customer’s personal information within the BODY of your POST request to the /txns endpoint.
Info |
---|
Please note, the syntax for creating a token simultaneously as you submit a transaction differs slightly for card payments and eCheck payments (as shown in the sample code below). |
Location | Syntax | ||
---|---|---|---|
URL |
| ||
HEADER |
| ||
BODY (for card payments) |
| ||
BODY (for eCheck payments) |
|
...
Recurring Payments
One of the key features of Tokenizing tokenizing a payment method is the ability for Merchants to use it to schedule recurring payments. This solution gives a Merchant the ability to charge their customer’s tokenized payment method in their desired amount and at their desired frequency. For example, Merchants can utilize recurring payments to charge their customers a monthly fee or for billing on a subscription-based business model.
Recurring payments can be set up directly in the Portal, by creating a recurring payment plan & subscribing your desired customer/s to that plan.
Setting Up Recurring Payments
Info |
---|
You can find step-by-step instructions for setting up recurring payment plans & subscriptions here /wiki/spaces/PAL/pages/765788206. |
Setting up recurring payments within Payrix consists of three components:
Creating a Customer/wiki/spaces/PAL/pages/764805252
In order to set up recurring payments, you must first save the cardholder’s personal & payment information by creating a customer (with a token). You can read more about creating a customer /wiki/spaces/PAL/pages/764805252.
Info |
---|
In the Portal, you have the ability to create recurring payments using a |
...
new payment method, and this will save the customer simultaneously as you subscribe them to a recurring payment plan. |
Recurring Payment Plans
A plan dictates the amount and how often a recurring payment will be charged. Plans are not unique to a specific customer, rather multiple customers can be added to the same plan, and each will be charged the same amount at the intervals dictated in the plan.
Subscriptions
Once a plan dictating the recurring payment amount & frequency is created, customers can be added to the plan via subscriptions. Therefore, customers can be added or removed from a recurring payment plan without any changes being made to the actual plan. Simply adjust a customer’s subscription to make any changes.
To summarize, a plan determines the amount & frequency of a recurring payment, and customers can be added to a plan via a subscription.
...
How to Submit a Card-On-File (CoF) Payment Using a Token
Once a customer’s payment method has been tokenized it can also be used by Merchants to submit CoF transactions.
How to Submit a CoF Transaction in the Portal
To submit a CoF payment in the Portal, locate the customer’s profile page. Scroll to the bottom of the customer’s profile page and select the Charge Customericon. Once the icon is hit you will have the option to select any of the customer’s existing tokens as the payment method and then you will be prompted to enter the payment details (amount etc.).
...
How to Submit a CoF Transaction Via the API
To submit a CoF transaction via the API you will need to add the token (which can be found on the customer’s profile page) to your POST request to the /txns endpoint. If the customer’s address information was saved then it will be automatically included when a Merchant submits a transaction using their token
Info |
---|
The API syntax for CoF card payments and CoF eCheck payments differs slightly as shown below: |
Location | Syntax | ||
---|---|---|---|
URL |
| ||
HEADER |
| ||
BODY (for card payments) |
| ||
BODY (for eCheck payments) |
|
...
Related Articles
Child pages (Children Display) |
---|