API Reference Guide

Easily generate API Keys in Test and Live Modes, check error responses, parameters, and other APIs - all within one place.

Curlec APIs are completely RESTful, and all our responses are returned in JSON.


  • Looking to integrate your website, ecommerce store or mobile app with Curlec Payment Gateway? Find the .
  • Accept payments using other Curlec products, such as Payment Links, Payment Pages and Invoices.

You can use Curlec APIs in two modes, Test and Live. The API keys are different for each mode. Know about


The Curlec API Gateway URL is https://api.razorpay.com/v1. You need to include this before each API endpoint to make API calls.

Use the URL https://api.razorpay.com/v1/payments to access payment resources.

Partners API Gateway URL

The Partners APIs use this URL: https://api.razorpay.com/v2

All Curlec APIs are backwards-compatible. If an API or its parameters are deprecated, we add a warning note for the same for a specific period of time.

Was this page helpful?