Skip to main content

Migration of data to a new PSP

This guide is intended for merchants who are currently operating with Fabrick's Open Payments and are interested in migrating to another PSP (Payment Service Provider). The purpose of this documentation is to provide information on the shared file formats and the methods of data sharing.


Key concepts

Card token

A card token is a unique identifier that replaces the PAN (Primary Account Number), i.e., the number printed on the payment card. Tokenization allows transactions to be performed without directly using the PAN, improving security against fraud and data theft.


Recurring payments

Recurring payments are transactions carried out at regular intervals (e.g., monthly subscriptions, installment plans) without the customer having to enter their card details each time. In MIT (Merchant Initiated Transaction) payments, the merchant initiates the payment independently, based on a previously completed authentication.


Migration objective

To provide all the data necessary for the new payment processor to continue existing recurring payments, and for the merchant to benefit from freedom of choice with operational continuity.


Examples of files provided

File format:

  • CSV format with UTF-8 encoding
  • All rows must have the same number of columns

PayPal token migration

File example

Example header and first row:

TOKENVALUE;CREATEDATE;DELETED;DELETEDATE;REFERENCEID;AGREEMENTDESC
PPPXOEXXXXX8CBO3;1/17/2017 9:04 AM;0;;B-0C311XXXXXX344154M;edicola1@mail.com

Field descriptions

FieldDescription
TOKENVALUEPayPal token identifier
CREATEDATEToken creation date
DELETEDBinary value: 0/1
DELETEDATEDeletion date, if applicable. Can be empty
REFERENCEIDReference to the PayPal transaction
AGREEMENTDESCText description of the agreement between the merchant and the customer. Often used to indicate a user reference (e.g., email address)

Card token migration

File example

Example header and first row:

IDTOKEN;IDSHOP;TOKENVALUE;TOKENTYPE;CARDNUMBER;EXPIRYMONTH;EXPIRYYEAR;CREATEDATE;DELETED;DELETEDATE;WITHAUTHORIZATION;WITHCVV;THREEDLEVEL;ONLYMASKEDPAN;IDGROUP;LASTABUUPDATEDATE
325XX397;160817;52MUOMYXXXEY4375;STD;522694XXXXX74375;09;26;4/2/2022 7:41 AM;0;;1;1;2;0;1864;

Field descriptions

FieldDescription
IDTOKENUnique token identifier in Fabrick
IDSHOPAssociated Fabrick shop code
TOKENVALUEToken used in place of the PAN
TOKENTYPEToken type
CARDNUMBERCard PAN
EXPIRYMONTHExpiry month (MM)
EXPIRYYEARExpiry year (YY)
CREATEDATECreation date (YYYY-MM-DD HH:MM:SS)
DELETEDBinary value: 0/1
DELETEDATEDeletion date
WITHAUTHORIZATIONBinary value: 0/1
WITHCVVAllowed values: Y / N
THREEDLEVEL3DS authentication level
ONLYMASKEDPANBinary value
IDGROUPFabrick token group
LASTABUUPDATEDATEAutomatic Billing Updater last update date in format (YYYY-MM-DD HH:MM:SS)

Recurring payment chain migration

File example

Example header and first row:

ID;IDSHOP;IDTOKEN;AUTH_DATA;AUTH_METHOD;AUTH_TIMESTAMP;ACS_TRANS_ID;BANKTRANSACTIONID;GLOBALPAYID;XID;FIRST_PAYMENT_ID;GATEWAY_FIRST;IDTRANSACTION_FIRST;IDCREDITCARDTRANSACTION_FIRST;RECOVERY;CREATED_DATE;RECURRING_TYPE;LAST_NEXT_DATE
234345;160817;9856927;;;;;-100;0;;f01c4eec-xxxx-4f29-b9e2-ea458286648b;I;689047016;1340432970;0;10/6/2022 2:04 PM;01;

Field descriptions

FieldDescription
IDRecurring chain identifier
IDSHOPFabrick Store ID
IDTOKENAssociated token
AUTH_DATAAuthentication data (if present)
AUTH_METHODAuthentication method
AUTH_TIMESTAMPAuthentication timestamp
ACS_TRANS_ID3DS ACS identifier
BANKTRANSACTIONIDFabrick shop-side ID
GLOBALPAYIDFabrick global transaction ID
XIDGUID identifier of the chain
FIRST_PAYMENT_IDID of the first payment in the chain
GATEWAY_FIRSTTransaction entry point
IDTRANSACTION_FIRSTUnique ID of the transaction that originated the chain
IDCREDITCARDTRANSACTION_FIRSTCredit card transaction reference
RECOVERYtrue / false / Y / N / empty
CREATED_DATECreation date (YYYY-MM-DD HH:MM:SS)
RECURRING_TYPE01 or 03
LAST_NEXT_DATEDate of the last MIT executed. Can be empty

Security and file submission

The CSV file must be encrypted using the public key provided by the destination Payment Service Provider, which must also provide the sFTP server address details and credentials to allow Fabrick to deposit the files directly.

The connection details required are:

  • server name
  • port
  • username

Expected timelines

Once the data indicated in the "Security and submission" section has been received, Fabrick commits to providing the data to the new PSP as quickly as possible. Depending on the quantity and type of data to be exported, the process may take from a few days to several weeks.


Contacts

For assistance in preparing the data or configuring the secure submission, please contact the Fabrick technical support team.