Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Razorpay Refunds API

The Refunds API from Razorpay — 2 operation(s) for refunds.

Razorpay Refunds API is one of 6 APIs that Razorpay 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.

This API exposes 3 operations across 2 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

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

3 operations 2 paths 2 schemas 2 GET1 PATCH

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.razorpay.com/v1
Authentication
HTTP Basic
Contact
Resource Areas
1

Authentication & Security 1

Razorpay Refunds API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • basicAuth — HTTP Basic auth — username is Razorpay keyid, password is keysecret.

Paths & Operations 3

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

Refunds 3
GET
/refunds
List all refunds
listRefunds 4 params → 200
GET
/refunds/{id}
Get a refund
getRefund 1 param → 200
PATCH
/refunds/{id}
Update refund notes
updateRefund 1 param body → 200

Schemas 2

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

RefundList
object
3 properties
Refund
object
11 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

razorpay-refunds-api-openapi.yml Raw ↑

Other APIs Razorpay publishes across the network.

Razorpay Core REST API
Razorpay Payments API
Razorpay Webhooks
Razorpay Orders API
Razorpay Payments API