Sandbox Guide


  1. Sandbox environment only supports Bitcoin Testnet.
  2. Please DO NOT use VPN while accessing your XanPool account, as this will result in your account being flagged by our anti-fraud system. 
  3. Sandbox completion function is only available for the ‘Buy’ process.


  1. Login to your partner dashboard here:
  2. At the top of your dashboard, toggle the environment button to ‘Sandbox’
  3. At the top right of your dashboard, click ‘Settings
  4. Click ‘Generate API Key’ 
    1. This is your Sandbox API key. 
    2. It cannot be used for Production (real transactions).

Test with Checkout Page

  1. If you would like to display the widget on a separate page and avoid implementing javascript logic on your end, you can redirect a user to the checkout page (URL).
  2. Example:
  3. Replace the apiKey parameter with the Sandbox API Key that you have generated from your dashboard (earlier section above).
  4. Widget parameters are introduced here

Test with Widget

  1. Here is the guide to integrate the widget into your page
  2. For Sandbox integration, kindly use
  3. Widget options are introduced here
  4. Widget WebView
    1. Base URL:
    2. Sandbox URL:

Test with API

  1. Base URL:
  2. Sandbox URL:
  3. API Documentation

Be Notified of All Transactions' Updates

  1. Receive all transactions related updates on your server without constantly triggering REST API
  2. To do so, set up your webhook in the partner’s dashboard here:
  3. An example of a transaction’s event notification can be found here
  4. Understand more about the transaction object’s parameters here