Network tokens are an add-on feature and may be subject to extra charges.
Provisioning
In Commerce, network tokens are provisioned automatically. Commerce tokens can be enriched with network tokens from the card schemes: once a card payment method undergoes tokenization, and if the network tokens feature is enabled for your account, Commerce requests a network token from the card scheme and associates it with the token in the background. If this operation is successful, the network token status is updated toactive. The network token’s lifecycle is aligned with the Commerce token — you do not provision or manage it separately.
Network token payments
To use a network token for payment authorization, a cryptogram must first be requested. It is created and used during the payment request as proof of token validation for card transactions requiring authorization, helping to authenticate the transaction and ensure its integrity. The sequence diagram below shows how to use a network token and request a cryptogram. Both the network token (TPAN) and its cryptogram are PCI-scoped data. You can consume a payment-data bundle in two ways:- Decrypt it yourself — read
encrypted_authentication_datafrom the response, decrypt it with your merchant key, and send the network token and cryptogram to your PSP. This requires you to handle PCI-scoped data. - Forward without handling card data — let Commerce inject the network token, cryptogram, and related fields into your acquirer request server-side, so the raw values never reach your systems.
In the Managed Ecosystem operating model,
encrypted_authentication_data is not returned. Use forwarding to authorize payments.Step 1: Request authentication data
Commerce allows you to create these cryptograms using a previously imported token.Step 2: Decrypt authentication data
Commerce processes the request and returns the encrypted authentication data. This encrypted authentication data contains the network token and the cryptogram. For more information, please refer to our API documentation. The network token is used to authenticate the transaction, and the cryptogram is used to validate the network token. To decrypt the payload, follow these steps:- Use the
encryption_keythat was generated when the merchant was created - Use the
encrypted_authentication_datastring, which you receive as part of requesting a cryptogram response
Step 3: Authorize with your PSP
- Adyen v69
Forward without handling card data
If you would rather not decrypt and handle the network token and cryptogram yourself, forward your acquirer request throughPOST /payment-data/{id}/forward. Commerce forwards the request to the destination URL configured in your merchant settings and injects the PCI-scoped values via placeholders, so the raw network token and cryptogram never touch your systems. This is the only way to authorize payments in the Managed Ecosystem operating model.
Reference each value with a placeholder in your request body:
| Placeholder | Description |
|---|---|
{{ network_token }} | Network token number (TPAN). |
{{ cryptogram }} | TAVV cryptogram. |
{{ dynamic_cvv }} | Dynamic CVV, when present instead of a TAVV. |
{{ eci }} | Electronic Commerce Indicator. |
{{ cardholder_name }} | Cardholder name. |
{{ expiration_month }} | Two-digit expiry month. |
{{ expiration_year }} | Four-digit expiry year. |
{{ amount }} | Authenticated amount in minor units. |
{{ currency_code }} | Currency code of the authenticated amount. |
| unwrap to emit the native type, for example {{ expiration_year | unwrap }}. See Forward payment-data for the full reference. Under the hood this builds on Guardian’s cryptogram forwarding.