Token Imports

Importing existing tokens into Preczn

Token Migration Guide: Importing Tokens into Preczn

This guide explains how the token import process works when migrating existing tokens from a Payment Service Provider (PSP) to Preczn. It covers the responsibilities of each party, outlines Preczn's secure and automated procedures, and clarifies what customers should expect during the process. By understanding the steps and complexities involved, our customers can better prepare for successful token migrations.


Overview

Preczn enables businesses to seamlessly migrate tokens from an existing PSP into the Preczn platform with minimal disruption. Token migrations are a critical but sensitive operation that require careful coordination between:

  • The customer
  • The merchant
  • The source PSP (the current token holder)
  • Preczn

Preczn provides operational support, system-level automation, and encryption guarantees to ensure the secure and reliable onboarding of tokens.


Step-by-Step Process: Importing Tokens from a PSP into Preczn

1. Customer Initiates Token Migration

Customers typically begin by informing Preczn of their intent to migrate tokens. This includes providing:

  • The source PSP’s name
  • Merchant identifiers at the PSP
  • Expected token types and counts

2. Preczn Engages with Source PSP

Preczn directly engages with the source PSP (when permitted by the customer) to facilitate and streamline the export. Preczn can provide any documentation or technical specs the PSP needs to generate a valid export package.

Note: Some PSPs require the customer to initiate the process directly. In such cases, Preczn can advise on required steps and expected responses.

3. Token Export and Encryption

  • The source PSP generates the export file(s) containing sensitive tokenized payment data.
  • These files are encrypted using industry-standard PGP encryption.
  • Only the Preczn system holds the private key to decrypt this data. No individual Preczn staff member can decrypt these files manually.

4. Preczn System Decrypts and Analyzes Data

Once received, the encrypted files are ingested by Preczn’s automated systems. The process includes:

  • Decryption of the file contents using the secure private key
  • Parsing and validation of the data structure
  • Dynamic data mapping to the Preczn token format

Preczn makes a best-effort attempt to match and interpret fields such as customer identifiers, token formats, and billing data. Accuracy depends on the completeness and structure of the source PSP's export.

Important: Preczn has no visibility into the format or contents of these files before decryption. Errors in formatting, missing fields, or ambiguous mappings may reduce the success rate of token imports.

5. Import Report Generation

After import, Preczn generates a detailed CSV report that summarizes the status of every attempted token import. The report includes the following fields:

Preczn PlatformId
Preczn MerchantId
Preczn MerchantExternalId
Processor Payment Token
Processor Customer ID
Preczn Token
Card Brand
Account Last 4
Expiration
Routing Number
Bank Country
First Name
Last Name
Status

Statuses include indicators such as success or failed, which help customers reconcile the result against their expectations.


Optional: Use Imported Tokens with Preczn’s Payment Platform

Once the token import process is completed, customers may optionally begin processing transactions directly through Preczn using the newly imported tokens.

If your integration is live with the Preczn payment platform (see Tokenization for implementation guidance), you can:

  1. Map Tokens to Internal Systems
    Use the import report to associate each original token from your old PSP with the newly issued Preczn token. This mapping enables a seamless transition in your backend systems.

  2. Initiate Transactions
    Once mapped, the Preczn tokens can be used to initiate payments through the Preczn API just like any native Preczn-generated token.

This option allows for:

  • Continuity of customer experience
  • Immediate testing and validation of token usability
  • Fast time-to-value post-import

For customers using Preczn as both token vault and transaction processor, this intermediate step eliminates the need to re-export tokens again unless migrating to a third-party PSP.


Edge Cases & Complexities

1. Partial or Incomplete Token Files

If the source PSP omits key information (e.g., customer references, expiration dates), Preczn may be unable to successfully import or later export certain tokens.

2. Unrecognized Token Formats

Some PSPs use proprietary token data structures or naming conventions that are not standard. Preczn attempts to identify and normalize these, but in some cases manual intervention may be needed.

3. Duplicate Tokens

If tokens already exist on Preczn (from prior imports or overlapping integrations from the same customer), the import process will automatically deduplicate tokens.

4. Data Mapping Conflicts

Ambiguities in customer vs. token relationships can result in mapping conflicts. Preczn flags these tokens when identified.


Additional Caveats & Industry Realities

The token migration process to and from PSPs is inherently inconsistent and poses several common challenges. Customers should be aware of the following:

1. Lack of Export Standards from PSPs

Most PSPs do not publish a formal specification for token export files—and many may not even have one. This lack of standardization is why Preczn developed a secure and dynamic file import process capable of adapting to various formats and structures with minimal assumptions.

2. Data Parity Issues Between PSPs

Token and customer data typically lacks parity between PSP systems. One PSP may export the bare minimum (e.g., token ID, card number, expiration date), while another requires more complete datasets including billing address and cardholder name. Due to these inconsistencies, Preczn may need to work directly with the customer to obtain supplemental information if an export to a destination PSP is to be performed.

3. Stale or Invalid Token Data

Exported tokens often contain legacy, expired, or inactive records. Tokens may reference expired cards, closed accounts, or otherwise invalid payment instruments. These "stale" tokens may be rejected during import into Preczn or flagged as unqualified for re-export. Preczn includes visibility into these issues in its token import and export migration reports so customers can take appropriate action.


Value Provided by Preczn

  • Security-first approach: PGP encryption and secure system-only decryption eliminate human access to clear account data.
  • Automation and scalability: Systems are built to handle large batch imports quickly and reliably.
  • Hands-on support: Preczn collaborates directly with PSPs and advises customers throughout the process.
  • Detailed audit trail: Import reports give transparency and traceability into each token’s import status.

What Customers Need to Do

To ensure a smooth import process:

  • Proactively coordinate export process with merchants and the source PSP.
  • Inform Preczn of timelines, expected volumes, and any data or file format documentation.
  • Review the import report carefully after job completion and flag any anomalies.
  • If applicable, map Preczn tokens in your system to begin live payment processing.
  • Prepare for additional data validation before export, especially if migrating to another PSP.

Did this page help you?