Testing in sandbox

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.

Before going live in the production environment, it is very helpful to verify whether all API requests and responses are correctly handled, and whether user experiences are as expected. You can test AlipayHK payment features integrated with your applications in sandbox environment before going live.

To access the Alipay sandbox portal to start the test, you need to make some preparations. See Prerequisites for details.