Learn about WSPNâs sandbox environment for safe development and testing.
WSPNâs sandbox environment is a development tool that allows you to safely test prototypes and integration without generating actual financial transactions. Sandbox APIs match those in production, making it easy to move into the production phase.To ensure success, please note the following:When using the Payments API in sandbox, avoid using real payment method details such as real card numbers. Though your payment method will not be charged on sandbox, we recommend using false details, such as those on our list of test card numbers.
Safe Development#
The sandbox environment is perfect for prototyping and integration testing. The APIs on sandbox respond authentically to your requests without connecting to the live WSPN backend.Easy Transitions#
The sandbox APIs align perfectly with those in production. Once youâve perfected your code in the sandbox environment, you can simply replace the sandbox endpoints with the production ones to create working code.Simulated Transactions#
The APIs on sandbox do not actually charge payment methods or manipulate actual money or WUSD. The sandbox environment connects safely to WUSD using test networks only.API Environments and Hosts#
Use these hosts to access APIs on sandbox and production environments.How to run api in the Apifox#
1
First Step
Select the Api you want to Run and click the Run in Apifox button in the top right corner to get to the Api running page.
2
Second Step
Click the Environment Configuration button in the upper right corner to configure the necessary global environment variables.
Note: The access_token parameter is obtained from
ăGet Access Tokenă. Before you can execute the Get Access Token Api you need to configure the api_key, api_secret and sign_key parameters.
Configure your parameters
3
Third Step
After completing the global environment configuration, you can choose the Sandbox or Production environment to run the Api