Skip to main content
Available in🇮🇳 India
S2S integration is an API-based white label integration provided by Razorpay wherein you can capture payment details on your page and pass on the same to Razorpay via a backend API call. Given below are some of the best practices to be followed for a smoother integration and payment experience:
  1. We recommended using S2S JSON API for S2S integration.
  2. For redirect flow, you must open the HTML provided as part of the API response, as is from the customer’s browser.
  3. You should pass the actual user_agent, customer IP and referrer to avoid any failures due to risk.
  4. You should integrate webhooks to get a callback via a server to server call.
  5. Integrate the Payments Rainy Day kit to tackle payment exceptions such as late authorized payments, payment downtimes and errors.