Available in🇮🇳 India
Check the prerequisites and the integration steps for Optimizer.
Prerequisites
- Create a Razorpay account.
- If you are an existing Razorpay user, please raise a request with our support team to get this feature activated on your Razorpay account.
Integration Steps
To accept payments using Optimizer, follow the steps given below:Step 1: Integrate With Razorpay Payment Gateway
You can start accepting payments by integrating your website, app, or ecommerce store with the Razorpay Payment Gateway through any of the integration methods available.Payments API
Payments API
Payments APIs are used to capture and fetch payments. The payment entity has one extra field with Optimizer to identify the payment provider through which the payment is processed.Given below is the additional response parameter apart from the Payment Entity:
gateway_provider
: string The payment provider used to process the payment. Possible values:payucashfreepaytmpinelabsccavenueingenicobilldesk_optimizer
Webhooks
Webhooks
You can use Webhooks to configure and receive notifications when a specific event occurs. When an event is triggered, we send an HTTP POST payload in JSON to the webhook’s configured URL. You can set up Webhooks from the Dashboard.Given below is the sample payload for webhook events for Optimizer. All the parameters and events will remain the same as shown in the sample payloads for payment webhooks except for one additional parameter,
gateway_provider.Step 2: Add Payment Providers
Watch this video to know how to add payment providers and configure rules using Optimizer.
The Razorpay Dashboard offers a self-serve flow to add Payment Providers by submitting your details. This process is secure, and the details you add are fully encrypted which is only visible on your Dashboard. Know more about Razorpay Security.