Getting the Files
Before Primer can perform any token migration, we need access to the token files from your payment processor. There are two standard ways to transfer these files to us:- The processor hosts the files on their own SFTP server, and Primer fetches them.
- The processor uploads the files to Primer’s SFTP server.
Our preferred approach is Option 1, where the processor hosts the files and Primer fetches them. This is faster and easier for us to manage, requiring minimal setup on our side.
However, we understand this isn’t always possible, and we support both options.
Option 1 (Preferred) - Processor hosts files on their own SFTP server, and Primer fetches them
If the processor hosts their own SFTP server, there are two supported authentication methods Primer can use to fetch the files:- Processor shares SFTP login credentials using GPG encryption.
- Processor creates an SFTP account with the public SSH key that is shared by Primer.
Processor shares SFTP login credentials using GPG encryption.
In this approach, your processor will share SFTP login credentials using GPG encryption. The following are the steps:- Processor encrypts credentials using Primer’s Public PGP key.
- Processor send the encrypted credentials to us via email or a secure channel
- Primer fetches the files
Primer PGP Key
If you’re unfamiliar with PGP keys, we recommend checking out GnuPG (GPG) and following these import instructions.- Key type: RSA
- Key size: 4096 bits
- Key ID:
3BFC42E548A5A06657452A42BA0C6B013C259DC9
Encrypt and send your files
After importing the public key, run this command:YOUR-FILENAME.gpg which you can safely send us.
Processor creates an SFTP account with the public SSH key that is shared by Primer.
In this approach, Primer will share our public SSH key with your processor and they will share the SFTP login credentials with us. The following are the steps:- Primer shares its public SSH key with the processor
- Processor creates an SFTP account with our public key and share the connection details with Primer
- Primer fetches the files
Primer Public SSH Key
Option 2 - Processor uploads the files to Primer’s SFTP server.
If the processor is unable to host their own SFTP server, Primer can provide a SFTP server for them to upload the files. The following are the steps:- Processor shares their public SSH key of their user uploading the file with Primer
- Primer will provision the SFTP account using the public SSH key provided
- Primer shares the SFTP credentials to the processor
- Processor upload the files to Primer SFTP server