About Server-to-Server JSON V1 Integration

Use S2S JSON V1 API to integrate with Razorpay Payment Gateway.


Our default

is simple.

  • The payment creation request returns a variety of responses. All of these responses need to render on your customer's browser to push the payment forward.
  • These responses result in redirecting the browser to a bank or gateway page to complete payment authentication.

However, if you want more control over how the customer is redirected, you can use the JSON API endpoint. The response to this endpoint contains only the necessary details and information about the next steps to be taken. Your integration is required to handle different flows to be able to process a payment.

Feature Request

This is an on-demand feature. Please raise a request with our

to get this feature activated on your Razorpay account.

  • Create a .
  • Generate from the Razorpay Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
  • Know about the .

Follow these integration steps:

  1. Build Integration:

    and .

    Handy Tips

    For other payment methods, we recommend you to follow the build integration steps mentioned on the netbanking page, except step 1.2 - Create a Payment. Please use the relevant Create a Payment sample code for the payment method.

    Payment MethodCreate Payment Sample Code
    EMI
    Cardless EMI
    Wallet
    Pay Later
    CRED

Is this integration guide useful?