Bulk Import via CSV
When adding many merchants to Preczn, such as your initial upload of merchant data, you may find it helpful to import your merchants in bulk rather than adding then piecemeal via the Dashboard or API. Please reach out to your account manager to receive a bulk merchant upload template tailored to your Preczn Instance.
Merchant Import Template
The Merchant Import feature utilizes a template to organize and import your merchant data. This template encompasses all the merchant fields accessible via the merchant API. Consequently, you can specify the following details for each merchant within the template:
- PlatformUID - This identifier will be used in the output file to match with the resulting Preczn MID.
- Merchant Business Information
- Owners
- Bank Account Information
- Bank Connection Credentials
- Assigned Plans
- Merchant Enablement
The template also offers the option to upload connection credentials for connections that have been pre-configured for your platform. Please be aware that if you introduce additional connections, new credential columns will be added to the template. Therefore, make sure to download the most recent template.
Data Preparation
Data Forming and Validation
To guarantee that data is accurately transmitted to connections during the onboarding process, the Merchant Import adheres to the same data validation standards as the Merchant API.
Before submitting your data, we recommend that you review and prepare it according to the following guide.
Should any merchant record contain improperly formatted data, that specific record will be marked as 'failed' in your import results. However, the import process for the remaining merchant records will continue uninterrupted.
Multiple Owners and Banks
By default, the template includes columns for one set of Owner and Bank Account records, using enumeration such as owner.0.firstName.
If you wish to include multiple owners or bank accounts, simply add additional columns. For example, if you want to include two owners with different first names, your CSV should contain columns for both owner.0.firstName and owner.1.firstName. This will result in the creation of two separate owner records.
Connection Credentials
When importing a merchant, you have the option to include the merchant's connection credentials. These credentials will be verified against the connection to ensure their validity.
Should any merchant record contain credentials that fail validation, that specific record will be marked as 'failed' in your import results. However, the import process for the remaining merchant records will continue uninterrupted.
Assigning Plans
When importing a merchant, you can optionally assign a plan at the time of import. To successfully assign a plan, the merchant must have valid connection credentials for all connections associated with that plan. Therefore, when assigning a plan during the import process, ensure that the merchant possesses valid credentials for all relevant connections.
Should any merchant record be missing connection credentials required for the plans, that specific record will be marked as 'failed' in your import results. However, the import process for the remaining merchant records will continue uninterrupted.
Enabling a Merchant
When importing a merchant, you have the option to enable them, making them active immediately after import. This is advantageous as it allows the merchant to start making transactions right away, in accordance with the rules of the assigned plan.
To enable a merchant, it's necessary for them to have an assigned plan. Therefore, please ensure that the merchant import record includes both the required connection credentials for the plan and the plan itself.
Should any merchant record be missing a plan, that specific record will be marked as 'failed' in your import results. However, the import process for the remaining merchant records will continue uninterrupted.
Encryption & Armoring
If your import is for the purpose of enrichment, and doesn't contain sensitive data or credentials for your merchants, you may provide the file back to your account manager without encryption.
Preczn employs Pretty Good Privacy (PGP) to encrypt and decrypt merchant import files, thereby ensuring the secure handling and management of sensitive data.
For Mac users, we recommend using GPG Tools as a convenient method for file encryption.
Before uploading a merchant or a token import file to Preczn, the file must be encrypted using Preczn's current public PGP key, linked on the Merchant Import page of the preczn dashboard.
Likewise, Preczn mandates that files be armored before uploading them.
If you're using a tool such as GPG Tools, you can execute the following command line to both encrypt and armor the file:
gpg -r [email protected] -a -e --output <YourCSVFileName>.gpg <YourCSVFileName>Uploading
Once you have properly encrypted the merchant import file you can send it back to your account manager, or send it to [email protected].
Updated 14 days ago
