How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Curlec Refunds API

Refunds return captured payment amounts to customers. Normal refunds take 5-7 business days. Instant (optimum) refunds settle immediately but may fall back to normal. Use X-Refund-Idempotency header to safely retry without duplicates.

Curlec Refunds API is one of 30 APIs that Curlec publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Refunds. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

This API exposes 6 operations across 5 paths, and defines 4 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://api.razorpay.com/v1.

6 operations 5 paths 4 schemas 4 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.razorpay.com/v1
Authentication
HTTP Basic, OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 2

Curlec Refunds API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (basicAuth). It supports OAuth 2.0 (oauth2) using the authorizationCode and clientCredentials flows, exposing 1 scope. By default, every request must be authenticated.

  • basicAuth — HTTP Basic authentication using your Razorpay API key pair. Use keyid as the username and keysecret as the password. Encode as Base64(keyid:keysecret). Keys ar…
  • oauth2 — OAuth 2.0 via the Razorpay MCP server (mcp.razorpay.com). Supports Authorization Code with PKCE (S256) for user-delegated access and Client Credentials for ser…

Paths & Operations 6

Across 5 paths, the API surfaces 6 operations — 4 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Refunds 6

Refunds return captured payment amounts to customers. Normal refunds take 5-7 business days. Instant (optimum) refunds settle immediately but may fall back to normal. Use X-Refund…

POST
/payments/{id}/refund
Create a refund
createRefund 1 param body → 200400401404429
GET
/payments/{payment_id}/refunds
Fetch refunds for a payment
fetchPaymentRefunds 5 params → 200401404429
GET
/payments/{payment_id}/refunds/{refund_id}
Fetch a specific refund for a payment
fetchPaymentRefund 2 params → 200401404429
GET
/refunds
Fetch all refunds
fetchAllRefunds 4 params → 200400401429
GET
/refunds/{id}
Fetch refund by ID
fetchRefund 1 param → 200401404429
PATCH
/refunds/{id}
Update a refund
updateRefund 1 param body → 200400401404429

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Refund (13 properties), Collection (3 properties), Error (1 property). Each schema is shown below with its type and property counts.

Refund
object
13 properties
Collection
object
3 properties
Notes
object
Key-value pairs for storing custom metadata. Maximum 15 pairs. Each key and value must not exceed 256 characters.
Error
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

curlec-refunds-api-openapi.yml Raw ↑

Other APIs Curlec publishes across the network.

Curlec Bills API
Curlec Customers API
Curlec Disputes API
Curlec Documents API
Curlec Instant Settlements API
Curlec Invoices API
Curlec Items API
Curlec Linked Accounts API
Curlec Orders API
Curlec Partner Accounts API
Curlec Partner Documents API
Curlec Partner Stakeholders API
Where this information came from

This is an independent, third-party profile of Curlec Refunds API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.