Paytm Refunds API

The Refunds API from Paytm — 1 operation(s) for refunds.

Operations 1

POST /refund/apply Initiate refund #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/paytm-refunds-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API 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 Specification

paytm-refunds-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Paytm Payment Gateway Payments Refunds API
  description: Server-to-server REST APIs for Paytm Payment Gateway integrations. Covers transaction initiation (returning a txnToken used by checkout SDKs), transaction processing for selected payment modes, and refund initiation. Requests are signed via Paytm's checksum logic and the signature is sent in the request head.
  version: '1.0'
  contact:
    name: Paytm for Business
    url: https://business.paytm.com/docs/api/
servers:
- url: https://securegw.paytm.in
  description: Production
- url: https://securegw-stage.paytm.in
  description: Staging
- url: https://secure.paytmpayments.com
  description: Production (paytmpayments.com host)
- url: https://securestage.paytmpayments.com
  description: Staging (paytmpayments.com host)
security: []
tags:
- name: Refunds
paths:
  /refund/apply:
    post:
      tags:
      - Refunds
      summary: Initiate refund
      description: Initiates a refund (full or partial) for a completed Paytm transaction. Refunds are asynchronous; success of this call only acknowledges registration.
      operationId: initiateRefund
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                head:
                  type: object
                  properties:
                    signature:
                      type: string
                body:
                  type: object
                  required:
                  - mid
                  - orderId
                  - refId
                  - txnId
                  - txnType
                  - refundAmount
                  properties:
                    mid:
                      type: string
                    orderId:
                      type: string
                    refId:
                      type: string
                      description: Merchant-generated unique refund reference.
                    txnId:
                      type: string
                      description: Paytm payment transaction id being refunded.
                    txnType:
                      type: string
                      enum:
                      - REFUND
                    refundAmount:
                      type: string
                      description: Up to 2 decimal places.
      responses:
        '200':
          description: Refund registered.
components:
  securitySchemes:
    paytmChecksum:
      type: apiKey
      in: header
      name: signature
      description: Checksum signature computed over the request body using Paytm's merchant key. Carried in the request head.signature property and/or as a request header per endpoint guidance.