Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.

Synchronize tokens using batch files

Thales TIG lets the Issuer synchronize tokens that were not created through the TIG platform. This is useful when e-commerce Tokenization was enabled before the Issuer connected to TIG.

This service does not require new APIs in the issuer backend. It uses synchronization campaigns with the TSP to recover existing token data. Only Mastercard and Visa are supported.

To trigger a campaign, the Issuer uploads an input batch file (with card details to synchronize) to the Tokenization Service over a dedicated SFTP connection.

After processing completes, TIG generates an output results file in JSON format.

The Issuer can then download the results. TIG generates one output file per input file.

This is depicted, at a high level, in the picture below:

High-level token synchronization flow using batch files.

For help creating and managing an SFTP account with Thales, contact your Thales delivery team.

Batch file naming convention

Use this format for input batch file names:

"BatchId"-"SeqNumber"-"UNIX_UTC_Timestamp".json

Use this format for output batch file names:

"BatchId"-"SeqNumber"-"UNIX_UTC_Timestamp"_OUT.json

Where:

NAME
DESCRIPTION

BatchId

The unique identifier of the batch file.

SeqNumber

This is used when the batch contains a lot of records and is split into several files.

UNIX_UTC_Timestamp

A UNIX Epoch timestamp in seconds.

Example:

  • BatchId = 87889898

  • SeqNumber = 001

  • Input file: 87889898-001-1563188489.json

  • Output file: 87889898-001-1563188615_OUT.json

Supported operations

There is only one operation type supported by the batch file:

  • VIRTUAL_CARD_REGISTRATION

Virtual card registration

This operation queries the TSP for each card in the batch file. It then recovers the data TIG needs to manage those tokens.

You cannot manage tokens created outside TIG through TIG until you synchronize them.

Token data included

The token data registered in TIG depends on what the TSP provides. In most cases, TIG synchronizes:

  • Token ID

  • Token requestor ID (TRID)

  • PAN reference ID

  • Token PAN suffix

  • Token status

  • Token type

  • Token provisioning time (if available)

  • Token last status change time (if available)

  • Token requestor name (if available)

  • Device ID (if available)

  • Device name (if available)

Token synchronization does not mean TIG acts as a token vault.

The token vault role remains with the payment network TSP.

Last updated

Was this helpful?