Understanding automatic tokenization when creating payment methods
Authvia's auto tokenization feature automatically creates tokens when you configure a single payment token product alongside appropriate payment or payout method products. This allows you to receive tokens immediately when creating payment methods, reducing PCI scope and simplifying your integration.
How It Works
In order to have auto-tokenization happen you need to ensure you have the correct definition of enabled of payment and tokenize products. This is not the only scenario where the platform will handle creation of tokens for you, this just ensures that when you are using our platform using any of our solutions for that the correct payment method type will be returned.
How auto tokenization is configured:
- Single Payment Token Product: Configure one payment token product in your account
- Payment/Payout Method Products: Set up products for the payment or payout methods you want to tokenize
- Automatic Token Creation: When a payment method is created via API call for your customers within LOCK, or any API callers, a corresponding token is automatically generated
- Token Return: The token is returned in the payment method creation response
For additional token creation behaviors see the Payment Method Action as it also considers restrictions on payment products when making the decision. Enabling additional use cases where your customers can be using tokens or other tenders as appropriate.
Configuration
Example Configuration
[
{
"line": "payments",
"product": "token",
"provider": "authvia",
"config": { ... }
},
{
"line": "tokenize",
"product": "creditcard",
"provider": "authvia",
"config": { ... }
},
{
"line": "tokenize",
"product": "ach",
"provider": "authvia",
"config": { ... }
}
]
Benefits
- PCI scope reduction: Tokens replace sensitive payment data
- Simplified integration: Create payment method and get token in one request
- Enhanced security: Use tokens instead of raw payment data
- Immediate availability: Token ready for use right after creation