This quickstart walks you through deploying XPayLabs on your own server and making your first collection order. By the end, you’ll have a running payment gateway and a working test collection.Documentation Index
Fetch the complete documentation index at: https://docs.xpaylabs.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A server with 8GB RAM / 4 vCPU (Ubuntu 22.04+ recommended)
- Docker and Docker Compose installed
- RPC endpoints for the blockchains you want to support (TRON, EVM, SUI)
Steps
Deploy XPayLabs with Docker Compose
Clone the repository and start all services:This starts the core API server (port All services should show a
3010), blockchain scanners, webhook dispatcher, and the checkout UI. Verify everything is running:Up status.Configure your merchant token
XPayLabs authenticates API requests using HMAC-SHA256 signatures. Your merchant token is configured in the gateway configuration file:Restart the core container after making changes:
The merchant token is a shared secret. It never appears in API requests directly — instead, you use it to sign request payloads. Store it securely and never commit it to version control.
Create a test collection
Send a See the Authentication page for how to compute the
POST request to create a collection order. The request body must include a sign field computed over the payload.sign value.What’s Next?
Authentication
Learn how the HMAC signing algorithm works and how to implement it in your language.
API Reference
Explore all endpoints for collections, payouts, and webhooks.

