Environments
All Wonder Gateway OpenAPIs use the same endpoint, different environments provide different access to the domain name, except for the domain name all other information is identical (including API Uri / Header etc...).
Environment | Domain |
---|---|
Sandbox | https://gateway-stg.wonder.today |
Production | https://gateway.wonder.today |
Sandbox environments are usually virtual transactions, but in order to maintain a more consistent experience with production environments, some payment methods are still real payment behaviors in the test environment.
- Alipay.
- Wechat pay.
So, if you have tested the above payment methods in a Sandbox environment, you can return the money to the test account via the Void Transaction API.
For credit cards, the Sandbox environment does not support the use of an arbitrary card number, and you need to initiate a transaction with the test card number provided as follows.