Skip to main content
XPayLabs returns errors using a standard R<T> envelope with an HTTP-compatible code and a human-readable msg. Unlike traditional payment processors, XPayLabs errors are primarily validation and authentication errors — since blockchain transactions are final, there are no “card declined” or “insufficient funds” errors at the API level (those are blockchain-level issues).

What is the error response format?

Status Codes

Common Validation Errors

Signature Errors (401)

Order Errors (400)

Handling Errors in Your Integration

Rate Limiting

XPayLabs enforces configurable rate limits per endpoint. Exceeding the limit returns a 429 response. Default limits:
Last modified on June 26, 2026