Overview
Store card and bank account details in the Preczn token vault, and charge the tokens with any of a merchant's connections.
Tokenization lets your platform charge a customer's card or bank account without keeping the account details yourself. Preczn stores the details in its token vault and gives you a token, a stand-in that has no value outside Preczn. Only Preczn's vault maps a token back to the account details, so you send the token on transactions, and Preczn runs each one to the merchant's processor. Preczn does three things for you:
- Keeps account details out of your systems. With PaymentElements, card and bank account details go from the customer's browser to Preczn and don't pass through your servers. Your systems store only tokens.
- Saves payment methods for later charges. A multi-use token lets you charge a returning customer again without asking for their card.
- Works across payment processors. Preczn holds the account details, so one token works with the merchant's payment processors, and a new processor doesn't mean collecting cards again.
The following diagram shows how a payment method becomes a token you charge with any connection:
flowchart LR
A["Customer's browser<br/>Card or bank account"] -- "Account details" --> B["<img src='https://files.readme.io/cf81688a760902dd88bc091cf29030cb150243a4dfad5e5fa2044ddb12dabb5e-Preczn_logo_white.png' width='110' /><br/>Token vault"]
B -- "Token" --> C["Your platform"]
C -- "Charge with the token" --> B
B --> D["Any of the merchant's<br/>connections"]
classDef customer fill:#0891b2,stroke:#0e7490,color:#ffffff
classDef platform fill:#2563eb,stroke:#1d4ed8,color:#ffffff
classDef preczn fill:#4013be,stroke:#300e90,color:#ffffff
classDef proc fill:#059669,stroke:#047857,color:#ffffff
class A customer
class B preczn
class C platform
class D proc
What your platform gets
- Offer card on file to your merchants. Your merchants can save their customers' payment methods for recurring billing, invoices, and faster checkout, without your platform building a vault.
- Change processors without re-collecting cards. Saved payment methods live in Preczn, not at the processor, so a merchant that moves to a different connection keeps charging the same tokens.
- Recognize returning payment methods. The same card returns the same platform token across your platform, so you can match a payment method to a customer you already know.
- Handle less sensitive data. Your servers work with tokens instead of account numbers. To compare how each integration handles card data, see Integrations.
When to use it
Use tokenization in the following cases:
- You collect payments at checkout. Collect the card or bank account in Preczn-hosted fields and charge the token they return.
- You charge a customer again later. Save the payment method as a multi-use token and charge it on a schedule or on demand.
- One customer pays several of your merchants. Save the payment method once and charge it to whichever merchant the customer pays.
Key concepts
Token vault
Where Preczn stores card and bank account details. Preczn is PCI DSS Level 1. The token vault is separate from the store of merchant data, which is described in Merchant Vault Overview.
Single-use token
A token for one transaction, typically returned by Preczn-hosted fields at checkout. It expires 24 hours after Preczn creates it, and an approved or pending transaction uses it up.
Multi-use token
A token you store and charge again. Preczn creates one when a transaction that uses account details or a single-use token is approved or pending. A multi-use token doesn't expire, and it doesn't store the card's security code (CVV).
Token scope
Whether a multi-use token works for one merchant or for every merchant on your platform. See Choosing a Token Scope.
Platform-bound tokens
A token works only with your platform's API keys. The same card returns the same platform token for every merchant on your platform, and a different platform gets a different token for that card.
How it works
The following steps show how a payment method moves from checkout to a later charge:
- The customer enters card or bank account details in Preczn-hosted fields on your checkout page.
- Preczn stores the details in the token vault and returns a single-use token to your page.
- Your platform sends a transaction with the single-use token. Preczn runs it to the merchant's processor.
- When the transaction is approved or pending, Preczn creates a multi-use token. Your platform asks for it in the response and stores it against the customer.
- For each later charge, your platform sends the multi-use token, and Preczn runs the transaction to the merchant's processor.
Where to go next
- If you want to collect card and bank account details on your checkout page, read PaymentElements Integration.
- If you want to save a payment method and charge it later, read Save a card for later use.
- If you want to decide which merchants can charge a saved payment method, read Choosing a Token Scope.
- If you want to compare how each integration handles card data, read Integrations.
Updated about 1 hour ago
