SDK
API ReferenceSdk
Web SDK
Integrate Uprails payments into your frontend application.
Overview
The Uprails 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
- React Integration — Use our React components
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 Uprails servers and never passes through your backend.