- Sandbox environment only supports Bitcoin Testnet.
- Please DO NOT use VPN while accessing your XanPool account, as this will result in your account being flagged by our anti-fraud system.
- Sandbox completion function is only available for the ‘Buy’ process.
- Login to your partner dashboard here: https://partner.xanpool.com/
- At the top of your dashboard, toggle the environment button to ‘Sandbox’
- At the top right of your dashboard, click ‘Settings’
- Click ‘Generate API Key’
- This is your Sandbox API key.
- It cannot be used for Production (real transactions).
Test with Checkout Page
- Example: https://checkout.sandbox.xanpool.com/?apiKey=sandbox_AJJ1231kjj11
- Replace the apiKey parameter with the Sandbox API Key that you have generated from your dashboard (earlier section above).
- Widget parameters are introduced here
Test with Widget
- Here is the guide to integrate the widget into your page
- For Sandbox integration, kindly use https://cdn.widget.sandbox.xanpool.com/xanpool-sdk-v1.js
- Widget options are introduced here
- Widget WebView
Test with API
Be Notified of All Transactions' Updates
- Receive all transactions related updates on your server without constantly triggering REST API
- To do so, set up your webhook in the partner’s dashboard here: https://partner.xanpool.com/webhooks
- An example of a transaction’s event notification can be found here
- Understand more about the transaction object’s parameters here