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)
How to deploy XPayLabs in 4 steps
Deploy XPayLabs with Docker Compose
Clone the repository and start all services:This starts all services including Java backends (xpay-user, xpay-merchant, xpay-eth, xpay-tron, xpay-sui), blockchain scanners, and the checkout UI. Verify everything is running:All services should show a
Up status.Configure your merchant token
XPayLabs authenticates API requests using HMAC-SHA256 signatures. Your merchant token is generated in the gateway dashboard when you create your merchant account.
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.

