Razorpay Refunds API
The Refunds API from Razorpay — 2 operation(s) for refunds.
The Refunds API from Razorpay — 2 operation(s) for refunds.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/razorpay:razorpay-refunds-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Razorpay Core REST Refunds API
description: 'Razorpay''s RESTful API covering orders, payments, and refunds. All
endpoints are authenticated with HTTP Basic auth using the API
key_id as username and key_secret as password and return JSON.'
version: 1.0.0
contact:
name: Razorpay
url: https://razorpay.com/docs/api/
servers:
- url: https://api.razorpay.com/v1
description: Razorpay production API
security:
- basicAuth: []
tags:
- name: Refunds
paths:
/refunds:
get:
summary: List all refunds
operationId: listRefunds
parameters:
- $ref: '#/components/parameters/from'
- $ref: '#/components/parameters/to'
- $ref: '#/components/parameters/count'
- $ref: '#/components/parameters/skip'
responses:
'200':
description: Refund list.
content:
application/json:
schema:
$ref: '#/components/schemas/RefundList'
tags:
- Refunds
/refunds/{id}:
parameters:
- $ref: '#/components/parameters/id'
get:
summary: Get a refund
operationId: getRefund
responses:
'200':
description: Refund detail.
content:
application/json:
schema:
$ref: '#/components/schemas/Refund'
tags:
- Refunds
patch:
summary: Update refund notes
operationId: updateRefund
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
notes:
type: object
additionalProperties:
type: string
responses:
'200':
description: Updated refund.
content:
application/json:
schema:
$ref: '#/components/schemas/Refund'
tags:
- Refunds
components:
parameters:
count:
name: count
in: query
schema:
type: integer
default: 10
maximum: 100
id:
name: id
in: path
required: true
schema:
type: string
from:
name: from
in: query
schema:
type: integer
description: Unix timestamp (seconds) lower bound.
to:
name: to
in: query
schema:
type: integer
description: Unix timestamp (seconds) upper bound.
skip:
name: skip
in: query
schema:
type: integer
default: 0
schemas:
Refund:
type: object
properties:
id:
type: string
entity:
type: string
amount:
type: integer
currency:
type: string
payment_id:
type: string
receipt:
type: string
status:
type: string
enum:
- pending
- processed
- failed
speed_requested:
type: string
speed_processed:
type: string
created_at:
type: integer
notes:
type: object
additionalProperties:
type: string
RefundList:
type: object
properties:
entity:
type: string
count:
type: integer
items:
type: array
items:
$ref: '#/components/schemas/Refund'
securitySchemes:
basicAuth:
type: http
scheme: basic
description: HTTP Basic auth — username is Razorpay key_id, password is key_secret.