Getting Started
ExpressCheckout SDK offers a payment experience where the UI is managed by the merchant, while the underlying payment flow is handled by Juspay. Merchants need to integrate with the SDK through a combination of APIs and SDK calls. Here are the steps to begin your integration journey:
Step-by-Step Integration
Step 1: Backend Integration
Use Juspay’s secure server-side APIs to:
Create and manage customers using the Get Customer
and Create Customer
APIs
Create order using Create Orders
Handle Webhooks
for real-time order status
Check Order Status using the Order Status API
Process Refunds via the Refund Order API
Step 2: Frontend Integration
Use Juspay’s SDK to Render the Checkout screen
and power payment options in your custom UI.
Display and manage payment options
, including Cards
, Wallets
, Bank Transfer
, and RTP (Real Time Transfer)
Capture payment responses through callback mechanisms
Handling of SDK lifecycle events
Step 3: Testing & Go-Live
Share UAT Build: Once integration is done, submit your UAT build to Juspay for QA validation.
Removal of Restricted Mode: After QA approval, Juspay will switch your account to Live Mode.
Go Live: Your integration is now live and ready for real users to complete their checkout.
Monitor & Analyse Post Go-Live
After going live, deploy your app with production credentials and use the Juspay Dashboard & Analytics to:
Track live transactions in real time
Analyze success and failure rates across payment methods
View logs and webhook events for troubleshooting and monitoring
Refund Handling
Process refunds using:
Juspay Dashboard:
Issue refunds manually using Juspay’s Dashboard interface
Refund Order API:
Automate refunds using the Refund Order API
Webhook Support: Get real-time notifications on refund status and completion through webhook events.
Additional Features
Mandate Support
Support recurring/subscription-based payments with:
Mandate Registration:
Used this API to set up standing instructions by selecting a preferred payment method
Mandate Execution:
After registering a mandate, use the Mandate Execution API to trigger recurring transactions without user input.
Webhook events:
Receive notifications for mandate creation, execution, failure, expiry and other status updates via webhooks
Additional Developer Resources
Explore additional documentation and resources, including:
Core Resources
The Core Resources section provides essential technical references required to build and manage your payment integration effectively. This includes:
Gateway Reference ID:
Helps map Juspay transaction IDs to gateway-specific references.
Transaction Status:
API and status lifecycle documentation to track payments.
Webhooks:
Details on all webhook types—Order, Transaction, Mandate, Refunds
Error Codes:
A comprehensive list of standard and gateway-specific error codes for debugging.

