Razorpay IPs and Certificates

Download Razorpay SSL certificates and whitelist our API and Webhooks IP addresses.

You can whitelist Razorpay-issued SSL certificates and IP addresses to communicate with Razorpay APIs and Webhooks. By downloading Razorpay SSL certificates and whitelisting our IPs, you can verify that you are securely communicating with our servers.

SSL certificates for api.razorpay.com with valid date ranges are listed below.

Certificate FileValid FromExpiry
& Jan 5th, 2024Jan 4th, 2025
& Feb 3rd, 2023Feb 2nd, 2024
& May 19th, 2022May 19th, 2023
& July 7th, 2021June 7th, 2022
& March 13th, 2020July 28th, 2021
& April 10th, 2019April 15th, 2020
& Feb 7th, 2016April 12th, 2019

As we roll out our infrastructure changes gradually, we recommend whitelisting our certificate as per Valid From/Expiry timelines. You should whitelist all the certificates in that range if they overlap.

Watch Out!

We highly discourage pinning our SSL certificate to your applications. Use the certificates provided in the table above only if you are mandated by internal policies to whitelist Razorpay's SSL certificates. Instead, use the

provided by your OS.

Requests to Razorpay APIs should be routed to api.razorpay.com. This will be resolved to various IPs controlled by our load balancers. However, if the IPs to which the requests should be sent are restricted, all your API requests can be routed to prod-api-static.razorpay.com. This will be resolved to any of the following IPs:

Handy Tips

All our SDKs use proper DNS caching and honour the TTLs that we set. However, if you are not using our SDKs, ensure that DNS TTLs set by Razorpay are honoured and are not cached aggressively.

Below is the list of IPs from which Webhooks are sent from our servers.

We highly recommend using

to validate the integrity of the webhooks, even if you have whitelisted our Webhook IPs.

Below is the list of UAT egress IPs.

Was this page helpful?