Razorpay · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Razorpay Core REST Payments API

8 actions 8 updates phrasing extends openapi/razorpay-payments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Razorpay's API. It is a proposal applied on top of the contract, not a document Razorpay publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/payments'].get
$.paths['/payments/{id}'].get
$.paths['/payments/{id}'].patch
$.paths['/payments/{id}/capture'].post
$.paths['/payments/{id}/card'].get
$.paths['/payments/{id}/refund'].post
$.paths['/payments/{id}/refunds'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Razorpay Core REST Payments API
  version: 1.0.0
extends: openapi/razorpay-payments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-16'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/payments'].get
  update:
    x-apievangelist-phrasing:
      intent: List payments
      effect: read
      questions:
      - Which payments have been captured in the last month?
      - Can I page through all my payments?
      instructions:
      - text: List payments from {from} to {to}.
        slots:
          from: query.from
          to: query.to
      - text: Show {count} payments starting at {skip}.
        slots:
          count: query.count
          skip: query.skip
      method: generated
      generated: '2026-11-16'
- target: $.paths['/payments/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a payment
      effect: read
      questions:
      - What is the status of a specific payment?
      - Can I look up one payment by its ID?
      instructions:
      - text: Get payment {id}.
        slots:
          id: path.id
      - text: Show the details of payment {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/payments/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Add notes to a payment
      effect: write
      questions:
      - Can I attach notes to a payment?
      - Is it possible to add a note to a payment without changing anything else?
      instructions:
      - text: Add notes {notes} to payment {id}.
        slots:
          notes: requestBody.notes
          id: path.id
      - text: Tag payment {id} with {notes}.
        slots:
          id: path.id
          notes: requestBody.notes
      method: generated
      generated: '2026-11-16'
- target: $.paths['/payments/{id}/capture'].post
  update:
    x-apievangelist-phrasing:
      intent: Capture an authorized payment
      effect: write
      questions:
      - How do I capture a payment that was authorized but not yet captured?
      - Can I capture only part of an authorized amount?
      instructions:
      - text: Capture payment {id} for {amount} {currency}.
        slots:
          id: path.id
          amount: requestBody.amount
          currency: requestBody.currency
      - text: Capture {amount} {currency} of authorized payment {id}.
        slots:
          amount: requestBody.amount
          currency: requestBody.currency
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/payments/{id}/card'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the card used for a payment
      effect: read
      questions:
      - Which card was used to pay for a payment?
      - Can I see the card details behind a payment?
      instructions:
      - text: Get the card used for payment {id}.
        slots:
          id: path.id
      - text: Show the card details of payment {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/payments/{id}/refund'].post
  update:
    x-apievangelist-phrasing:
      intent: Refund a captured payment
      effect: write
      questions:
      - How do I refund a captured payment?
      - Can I refund only part of a captured amount?
      - Is it possible to choose the refund speed?
      instructions:
      - text: Refund payment {id}.
        slots:
          id: path.id
      - text: Refund {amount} of payment {id} at {speed} speed.
        slots:
          amount: requestBody.amount
          id: path.id
          speed: requestBody.speed
      - text: Refund payment {id} with notes {notes}.
        slots:
          id: path.id
          notes: requestBody.notes
      method: generated
      generated: '2026-11-16'
- target: $.paths['/payments/{id}/refunds'].get
  update:
    x-apievangelist-phrasing:
      intent: List refunds for a payment
      effect: read
      questions:
      - Which refunds have been issued against a payment?
      - Can I see the refund history of one payment?
      instructions:
      - text: List refunds for payment {id}.
        slots:
          id: path.id
      - text: Show the refund history of payment {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/razorpay-payments-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.