Skip to content

Card tokenization

Use a token in a Payweb payment request in place of card details. Use a single-use Hosted Fields token for the current checkout and a saved-card token for scheduled charges.

Hosted Fields token lifetime
5 minutes
per Hosted Fields token
1 request
repeat charges on a saved card
Subscriptions

How card tokenization works

A token is an identifier linked to the card details. How you obtain and use it depends on whether you are taking the current payment or setting up future charges.

Current payment

  1. The customer enters card details in Payweb fields
  2. Payweb issues a Hosted Fields token
  3. The backend submits the token in a payment request
  4. One request within 5 minutes

Future charges

  1. The customer agrees to recurring payments
  2. The backend gets a saved-card token
  3. The backend submits this token for a new charge
  4. Charges under the subscription terms

Tokenization and PCI DSS scope

With Hosted Fields, card details go directly from the embedded fields to Payweb. The merchant's backend receives a token and uses it in the payment request.

PCI DSS scope depends on the complete integration. It considers systems that handle card data or can affect its security. Review the data flow and assessment requirements with your acquirer.

How to integrate card tokens

  1. Choose the payment flow

    For Hosted Fields, check which requests support the token. For a saved card, agree how the token is issued and where it can be used.

  2. Plan the backend integration

    Confirm which identifier to send, how your backend gets the payment status and when to request a fresh token.

  3. Test in the sandbox

    Run a payment with a token and check its status. Test what happens when a single-use token expires. If you offer subscriptions, test a saved-card charge as well.

Card tokenization questions

Discuss payments with card tokens

Tell us where customers enter their card details, whether you need future charges and which acquirers your platform uses.