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.
Sandbox testing accounts are allocated to merchants per their needs. To get AlipayHK public keys, contact AlipayHK technical support team. You can use the following test accounts to start your test:
Merchant test accounts
ClientId: 4Q5XSH6SSG02T006
Merchant ID: 2160400000002013
Test AlipayHK APP(IOS version )
Account: 13241056950
Login Password: a111111
Payment Password: b111111
You can scan the QR code below, and copy the link into your browser to download the AlipayHK app for testing.
Sandbox API GateWay
API | URL |
alipay.intl.acquiring.agreement.pay | http://isupergw.alipaydev.com/isupergw/alipay/intl/acquiring/agreement/pay/V200.htm |
alipay.intl.acquiring.common.refund* | http://isupergw.alipaydev.com/isupergw/alipay/intl/acquiring/common/grefund.htm |
alipay.intl.acquiring.common.payCancel* | http://isupergw.alipaydev.com/isupergw/alipay/intl/acquiring/common/paycancel.htm |
alipay.intl.acquiring.common.payQuery | http://isupergw.alipaydev.com/isupergw/alipay/intl/acquiring/common/payQuery.htm |
alipay.intl.oauth.auth.applyToken* | http://isupergw.alipaydev.com/isupergw/alipay/intl/oauth/auth/applyToken.htm |
alipay.intl.oauth.auth.queryByAuthInfo* | http://isupergw.alipaydev.com/isupergw/alipay/intl/oauth/auth/queryByAuthInfo/V200.htm |
alipay.intl.oauth.auth.cancelByAuthInfo* | http://isupergw.alipaydev.com/isupergw/alipay/intl/oauth/auth/cancelByAuthInfo/V200.htm |
alipay.intl.oauth.auth.prepareForRedirect | http://isupergw.alipaydev.com/isupergw/alipay/intl/oauth/auth/prepareForRedirect.htm |
For further queries, please contact the AlipayHK technical support team.