# 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/
If you wish to implement a custom interface for accepting payments with XanPay, you need to follow these steps for each charge:
- Verify customer's phone number
- Secure transaction with a hash
- Create a charge
- Set up a URL to be notified upon charge completion
In your custom interface design, we require that predefined user interface strings are used. You can access these strings through our translations API.
If you wish to use XanPay's prebuilt interface for payment, you can:
Some API endpoints are restricted to a limited number of partners. If you require access to functionality like charge creation, please contact us through the dashboard (opens new window).