API Docs
SDK
API ReferenceWeb SDK

Web SDK

Integrate ReliancePays payments into your frontend application.

Overview

The ReliancePays Web SDK provides a pre-built, customizable payment form that handles card input, validation, 3D Secure authentication, and payment submission. It simplifies PCI compliance by ensuring sensitive card data never touches your servers.

Integration Options

How It Works

  1. Server-side: Create a payment with confirm: false to get a client_secret
  2. Client-side: Initialize the SDK with your publishable key and client secret
  3. User: Fills in payment details in the secure form
  4. SDK: Handles submission, 3DS authentication, and redirects
  5. Server-side: Receive webhook notification of payment result

The SDK handles PCI compliance for you — card data is sent directly to ReliancePays servers and never passes through your backend.