Best Practices

Find the best practices to follow while working with Razorpay APIs.


Follow these best practices while working with APIs.

  • Do not share your API Key secret with anyone or on any public platforms. This can pose security threats for your Razorpay account.
  • While sending API requests to Razorpay servers, it is recommended to honour the TTL of the entries and not cache the DNS aggressively at your end. This is applicable when you are not using Razorpay SDKs.
  • If you are using our SDKs, our SDKs can handle DNS caching and honour the TTLs that are set in the records.

What's New

Razorpay has added support for three decimal currencies such as KWD, BHD, and OMR, allowing business to accept international payments in these currencies. Know more about

(April 2023).


Was this page helpful?