Sandbox is an environment where you can mimic the characteristics of the production environment and create simulated responses from all APIs the application relies on before going live. You can make API tests based on your own requirements including making a transaction, cancel, or refund a transaction, and so on.
Use the Alipay Sandbox gateway for testing. The URL of the Sandbox gateway is:
Alipay Sandbox is under maintenance starting on every Sunday at 12:00 GMT+8 and back online on Monday at 12:00 GMT+8. Access to the Sandbox environment might be unavailable during this window.
Watch the video below to have a quick overview of Alipay Sandbox portal:
There are two types of test account: merchant test account and buyer test account.
Find the merchant test account information in the Alipay Sandbox portal under Sandbox Accounts > Merchant. More than one test accounts are provided, and the accounts are sorted by payment product. Find the correct one to use according to the payment product you want to test. For example, to test the Alipay Auto Debit product, use the account information provided under Alipay Auto Debit.
Use the buyer test account to login to the Alipay Sandbox App.
The buyer test account information can be found in the Alipay Sandbox portal under Sandbox Accounts > Buyer.
The Alipay Sandbox App supports only Android at this time.
To login to the Alipay Sandbox App, use the buyer test account and login password that are provided in the portal under Sandbox Accounts > Buyer.
|New Cross-border Online Payment||
|HK Online Payment||
|Cross-border In-store Payment||
|HK In-store Payment||
|Sandbox Reconciliation Files||
||Contact Technical Support.|
|Globalprod Reconciliation Files||
||Login to Alipay Portal (Sandbox environment), and then go to My Alipay to download the reconciliation files.|