SFTP configuration
Send the following information to the Support Team to create a secure FTP (SFTP) directory for you to upload your batch files:- Your Customer Area company account.
- Your source IP address(s): the IP addresses of the servers you from which you are going to upload batch request files. Make sure that these are external IP addresses and not your internal network ones.
- Your public SSH key: you need to generate an RSA SSH key pair (public and private keys). The length of your SSH key must be 2048 bits or 4096 bits. Reference for [Linux/terminal](<https://www.ssh.com/academy/ssh/keygen#:~:text=t option and-,key size,-using the -b>) OR for Windows.
- Technical point of contact: the names and email addresses of your technical points of contact.
Connecting to the SFTP server
When you connect to the SFTP server, use the following information: TestHost:
sftp-test.adyen.comPort:
5892User: the user provided to you by Support. For example:
batch_12345@Company.YOUR_COMPANY_ACCOUNT.Allowlist host IP:
213.52.172.120, 147.12.18.50
LiveHost:
sftp-live.adyen.comPort:
5631User: the user provided to you by Support. For example:
batch_56789@Company.YOUR_COMPANY_ACCOUNT.Allowlist host IP:
82.199.87.148
PGP encryption
To keep your customer data secure, you must encrypt batch files with Adyen’s PGP key before uploading them. Then, Adyen processes the batch and signs a batch result file using Adyen’s PGP key. For additional security, you can register your PGP public key with Adyen. When you register your PGP public key in the Customer Area, Adyen encrypts the batch result file with it. To encrypt with Adyen’s PGP key:- In your Customer Area, go to Settings > Account settings.
- Click the Manage PGP Keys link.
- Select the Adyen key you want to use. To download the public part, select Download.
- Encrypt the file with this key before sending it to Adyen. Adyen signs the batch result file with this key.
PGP troubleshooting
In some cases, your file may be rejected. You receive a batch acknowledgment file providing details about the rejections. Common causes for batch file rejection are:- You send a PGP-encrypted file whose decryption operation returns errors.
For example, a failure to verify the signature, or the key used to sign the file is not configured for your company account. - You send a PGP-encrypted file, but you do not have a public key to encrypt the response file.
- You send an unencrypted file containing live card numbers.