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
- Server Setup — Create a payment on your server
- Client Integration — Add the payment form to your frontend
How It Works
- Server-side: Create a payment with
confirm: falseto get aclient_secret - Client-side: Initialize the SDK with your publishable key and client secret
- User: Fills in payment details in the secure form
- SDK: Handles submission, 3DS authentication, and redirects
- 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.