# API Reference

XanPay's REST API allows partners to integrate with XanPay using their own custom interface.

Base URL		https://api.xanpay.com/

Sandbox URL		https://api.sandbox.xanpay.com/

For a quick and efficient API integration, we recommend integrating XanPay's optimized interface for accepting payments. Here are the steps to do this:

  1. Create a checkout link
  2. Set up a URL to be notified upon charge completion
  3. Use our reporting API to access information about charges.