Getting Started

The Express Checkout API integration is a server-to-server integration. In this setup, the merchant manages the frontend (UI/UX) and handles the backend using Juspay APIs. 

Integration Options 

Juspay supports two modes of integration to suit different checkout experiences:

1. link iconSeparate Order Creation & Payment APIs (/orders + /txns API)

In this flow, you use two distinct API calls:

2. link iconCreate Order with Payments API (/txns API)

This API is typically invoked when the user clicks “Proceed to Pay” on your checkout screen. It combines all necessary order and payment data to initiate the transaction immediately.

refer to Step 3: Call Order with Payment APIlink icon


Step-by-Step Integration

Step 1: Backend Integration

Use Juspay’s secure server-side APIs to:

Note

Depending on the integration, this can be either a Separate Order and Payments APIlink icon or Create Order with Payments APIlink icon.

Step 2: Testing & Go-Live

  1. Share UAT Build: Once integration is done, submit your UAT build to Juspay for QA validation.

  2. Removal of Restricted Mode: After QA approval, Juspay will switch your account to Live Mode.

  3. 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 & Analyticslink icon 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:

Webhook Events:link icon Get real-time notifications on refund status and completion through webhook events.


Additional Feature

Mandate Support

Support recurring/subscription-based payments with:

  • Mandate Registration:link icon Used this API to set up standing instructions by selecting a preferred payment method

  • Mandate Execution:link icon After registering a mandate, use the Mandate Execution API to trigger recurring transactions without user input.

  • Webhook Events:link icon 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:link icon Helps map Juspay transaction IDs to gateway-specific references.

  • Transaction Status:link icon API and status lifecycle documentation to track payments.

  • Webhooks:link icon Details on all webhook types—Order, Transaction, Mandate, Refunds

  • Error Codes:link icon A comprehensive list of standard and gateway-specific error codes for debugging.

Last updated 1 month ago