Access SFTP reports
PayPal’s report server is a secure file transfer protocol (SFTP) server that enables business partners and large merchants to fetch PayPal processing results. You can communicate with the server through the command line or any SFTP client of your choice, such as WinSCP, Cyberduck, or FileZilla. See PayPal Secure FTP Server Specification for more information about communicating with the server after you've set up your account.
Know before you code
- If you haven't done so already, contact your account manager to set up report access and parameters.
- It can take up to 48 hours to create an SFTP server user account. PayPal sends an email message to your primary email address when the server is ready.
- The PayPal account user interface recently changed. If you're having trouble finding the Secure FTP Users item after your account has been enabled, refer to Secure SFTP Server Users. Your PayPal account must be enabled for report access before you can create an SFTP user account.
Create SFTP account
- Once report access is enabled, log in to your PayPal account.
- Click the settings icon in the upper right-hand corner of the page and then click Account Settings.
- On the Account access page, click Update next to the Secure FTP Users item.
- Follow the instructions on the screen until you complete the user account setup and the final screen displays the new user information.
Download your reports from PayPal’s live or sandbox environment.
To use command-line SFTP to retrieve reports:
Open a Terminal window.
To access reports on sandbox:
$ sftp <sftp_account_username>@reports.sandbox.paypal.com
To access reports on live:
Enter your SFTP account password.
Change directory to your outgoing reports:
$ cd ppreports/outgoing
List the files in this directory:
Download report files:
$ Get <filename>
Log off the reporting server:
For more information about retrieving reports by using an SFTP client such as WinSCP for Windows, go to PayPal's Merchant Technical Support website.