Skip to main content
The xPay Server-to-Server (S2S) API enables you to process payments programmatically without requiring customer interaction through a hosted checkout page. This API is designed for aggregators and merchants who need direct server-to-server integration.

Overview

The S2S API provides endpoints for:
  • Customer Management: Create and retrieve customer profiles
  • Payment Intent Management: Create, trigger, and cancel payment intents
  • Refunds: Process full or partial refunds for completed transactions
  • Webhooks: Configure and receive real-time payment status updates

Getting Started

  1. Set up authentication: Obtain your API credentials from xPay
  2. Create customers: Set up customer profiles for future transactions
  3. Create intents: Initialize payment transactions
  4. Process payments: Trigger payments using card details or saved tokens
  5. Handle webhooks: Configure webhook endpoints to receive status updates

Version

Current Version: 1.0

Support

For integration support or questions, contact: