SFTP Connection
How to obtain reconciliation files:
You can connect to SFTP server to obtain reconciliation files.
To login to the SFTP server, complete the following steps:
- Notify Alipay HK the public IP address of the merchant or others that act on behalf. A white list mechanism is adopted on the backend, so the IP address must be added to the list.
 - Obtain the login credentials (the username and password) from Alipay HK.
 - Use the following settings to connect to SFTP to retrieve files:
 
Field  | Settings  | 
Host  | isftp.alipay.com  | 
Port  | 22  | 
Username  | Obtained in preceding step  | 
Password  | Obtained in preceding step  | 
The file naming rule is:
- PID_transaction_YYYYMMDD.txt;
 - PID_settlement_YYYYMMDD.txt