Curlec · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Razorpay Refunds API

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

What the actions change

x-apievangelist-phrasing

Targets 7

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

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 Refunds API
  version: 1.0.0
extends: openapi/curlec-refunds-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: 6
- target: $.paths['/payments/{id}/refund'].post
  update:
    x-apievangelist-phrasing:
      intent: Refund a payment
      effect: write
      questions:
      - How do I refund a customer in Curlec?
      - Can I refund only part of a captured payment?
      instructions:
      - text: Refund payment {id} in full.
        slots:
          id: path.id
      - text: Refund {amount} of payment {id} at {speed} speed.
        slots:
          amount: requestBody.amount
          id: path.id
          speed: requestBody.speed
      method: generated
      generated: '2026-11-16'
- target: $.paths['/payments/{payment_id}/refunds'].get
  update:
    x-apievangelist-phrasing:
      intent: List refunds on a payment
      effect: read
      questions:
      - What refunds have been issued against one payment?
      - Has a payment been refunded more than once?
      instructions:
      - text: List refunds for payment {payment_id}.
        slots:
          payment_id: path.payment_id
      - text: Show all refunds issued on payment {payment_id}.
        slots:
          payment_id: path.payment_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/payments/{payment_id}/refunds/{refund_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a refund on a specific payment
      effect: read
      questions:
      - Can I look up a refund within the payment it belongs to?
      - What is the status of a refund on a given payment?
      instructions:
      - text: Show refund {refund_id} on payment {payment_id}.
        slots:
          refund_id: path.refund_id
          payment_id: path.payment_id
      - text: Check refund {refund_id} for payment {payment_id}.
        slots:
          refund_id: path.refund_id
          payment_id: path.payment_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/refunds'].get
  update:
    x-apievangelist-phrasing:
      intent: List all refunds
      effect: read
      questions:
      - Which refunds have I issued across all payments?
      - Can I list refunds made between two dates?
      instructions:
      - text: List all my refunds.
      - text: List refunds created between {from} and {to}.
        slots:
          from: query.from
          to: query.to
      method: generated
      generated: '2026-11-16'
- target: $.paths['/refunds/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a refund by ID
      effect: read
      questions:
      - Has a refund been processed yet?
      - What are the details of a refund when I only have its ID?
      instructions:
      - text: Show refund {id}.
        slots:
          id: path.id
      - text: Check the status of refund {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/refunds/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a refund's notes
      effect: write
      questions:
      - Can I edit anything on a refund after issuing it?
      - How do I add notes to a refund?
      instructions:
      - text: Set the notes on refund {id} to {notes}.
        slots:
          id: path.id
          notes: requestBody.notes
      - text: Annotate refund {id} with {notes}.
        slots:
          id: path.id
          notes: requestBody.notes
      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/curlec-refunds-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.