Skip to main content
When your cardholder adds their Adyen-issued card to the digital wallet, the card scheme (Visa or Mastercard) creates a network token for it. A network token is a 16-digit Primary Account Number (PAN) alternative that is unique for each card-device-wallet pairing. The benefits of using network tokens are:
  • Reduced user friction and declined payments because network tokens are maintained by card schemes.
  • Higher authorisation rates compared to payments made without network tokens.
  • Better payment security because each transaction is protected with a one-time use cryptogram.
With Adyen Issuing, you can manage network tokens separately from the cards. For example, you might want to temporarily suspend a network token or deactivate a network token, if the card has been lost or stolen.

Requirements

Before you begin, make sure that you fulfill the following requirements:

Get all network tokens

To get all network tokens that are linked to the Adyen-issued card:
  1. Make a GET /paymentInstruments/{id}/networkTokens request and specify the following parameter in the path: Get all network tokens of a card

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  2. Verify that you receive an HTTP 200 — OK response that returns all network tokens associated with the payment instrument, regardless of the network token status. For each network token, note the parameters in the following table: Response

Get a single network token

To get the details of a single network token that is linked to the Adyen-issued card:
  1. Make a GET /networkTokens/{networkTokenId} request and specify the following parameter in the path: Get a single network token of a card
  2. Verify that you receive an HTTP 200 — OK response that contains the details for the network token associated with the payment instrument. Note the parameters in the following table: Response

Update the status of a network token

You can update the status of a network token to:
  • Manually activate a network token after completing phone call authentication: You change the status from inactive to active.
  • Temporarily suspend a network token: You change the status from active to suspended.
  • Reactivate a suspended token: You change the status from suspended to active.
  • Permanently close a network token: You change the status from active or suspended to closed.
To update the status of a network token:
  1. Make a PATCH /networkTokens/{networkTokenId} request and specify the following parameter in the path: Provide the following parameters in the request body: Here’s an example of how to change the status of the network token to suspended. Update the status of a network token
  2. Verify that you receive an HTTP 202 — Accepted response with no content. This response means that the request has been accepted, but will be processed asynchronously.
  3. Listen to webhooks to receive the final result of this request.

Limit the usage of a network token

In some cases, you might need to limit the number of network tokens per card or set limits for transactions that use network tokens. You can do so by using the /transactionRules endpoint.

Limit the number of active network tokens

To limit the number of active network tokens allowed for a single card:
  1. Send a POST /transactionRules request and specify the following parameters: The following example shows how to limit the number of active network tokens to only one per card. Limit the number of active network tokens for a card

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  2. Verify that you receive an HTTP 200 — OK response that returns the id of the transaction rule that can be used to further update or delete this rule. Response—Transaction rule successfully created

Limit transactions using network tokens

To limit the transactions using network tokens for a card:
  1. Make a POST /transactionRules request and specify the following parameters: The following example shows how to block transactions that are greater than EUR 50 and use network tokens. Block the transactions using network tokens

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  2. Verify that you receive an HTTP 200 — OK response that returns the id of the transaction rule that can be used to further update or delete this rule. Response