Curlec · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Razorpay Subscriptions API

11 actions 11 updates phrasing extends openapi/curlec-subscriptions-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 11

$.info
$.paths['/subscriptions'].get
$.paths['/subscriptions'].post
$.paths['/subscriptions/{id}'].get
$.paths['/subscriptions/{id}'].patch
$.paths['/subscriptions/{id}/cancel'].post
$.paths['/subscriptions/{id}/pause'].post
$.paths['/subscriptions/{id}/resume'].post
$.paths['/subscriptions/{id}/retrieve_scheduled_changes'].get
$.paths['/subscriptions/{id}/cancel_scheduled_changes'].post
$.paths['/subscriptions/{sub_id}/{offer_id}'].delete

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 Subscriptions API
  version: 1.0.0
extends: openapi/curlec-subscriptions-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: 10
- target: $.paths['/subscriptions'].get
  update:
    x-apievangelist-phrasing:
      intent: List subscriptions
      effect: read
      questions:
      - Which customers are subscribed to a particular plan?
      - Can I list subscriptions created within a date range?
      instructions:
      - text: List all my subscriptions.
      - text: List subscriptions on plan {plan_id}.
        slots:
          plan_id: query.plan_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/subscriptions'].post
  update:
    x-apievangelist-phrasing:
      intent: Subscribe a customer to a plan
      effect: write
      questions:
      - How do I start a recurring subscription for a customer in Curlec?
      - Can I set how many billing cycles a new subscription runs for?
      instructions:
      - text: Create a subscription on plan {plan_id} for {total_count} billing cycles.
        slots:
          plan_id: requestBody.plan_id
          total_count: requestBody.total_count
      - text: Subscribe a customer to plan {plan_id} for {total_count} cycles starting at {start_at}.
        slots:
          plan_id: requestBody.plan_id
          total_count: requestBody.total_count
          start_at: requestBody.start_at
      method: generated
      generated: '2026-11-16'
- target: $.paths['/subscriptions/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a subscription's status and details
      effect: read
      questions:
      - What is the current status of a subscription?
      - Where can I see the full details of one subscription?
      instructions:
      - text: Show me subscription {id}.
        slots:
          id: path.id
      - text: Check whether subscription {id} is active.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/subscriptions/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change a subscription's plan or quantity
      effect: write
      questions:
      - Can I move a subscriber to a different plan?
      - How do I change the quantity on an existing subscription?
      instructions:
      - text: Switch subscription {id} to plan {plan_id}.
        slots:
          id: path.id
          plan_id: requestBody.plan_id
      - text: Change the quantity on subscription {id} to {quantity}.
        slots:
          id: path.id
          quantity: requestBody.quantity
      method: generated
      generated: '2026-11-16'
- target: $.paths['/subscriptions/{id}/cancel'].post
  update:
    x-apievangelist-phrasing:
      intent: Cancel a subscription
      effect: destructive
      questions:
      - How do I cancel a customer's subscription?
      - Can a subscription be cancelled at the end of the current billing cycle instead of immediately?
      instructions:
      - text: Cancel subscription {id} now.
        slots:
          id: path.id
      - text: 'Cancel subscription {id} at cycle end: {cancel_at_cycle_end}.'
        slots:
          id: path.id
          cancel_at_cycle_end: requestBody.cancel_at_cycle_end
      method: generated
      generated: '2026-11-16'
- target: $.paths['/subscriptions/{id}/pause'].post
  update:
    x-apievangelist-phrasing:
      intent: Pause a subscription
      effect: write
      questions:
      - Can I temporarily stop charging a subscriber without cancelling?
      - What happens to charges while a subscription is paused?
      instructions:
      - text: Pause subscription {id}.
        slots:
          id: path.id
      - text: Pause subscription {id} at {pause_at}.
        slots:
          id: path.id
          pause_at: requestBody.pause_at
      method: generated
      generated: '2026-11-16'
- target: $.paths['/subscriptions/{id}/resume'].post
  update:
    x-apievangelist-phrasing:
      intent: Resume a paused subscription
      effect: write
      questions:
      - How do I restart billing on a paused subscription?
      - When does charging pick up again after resuming?
      instructions:
      - text: Resume paused subscription {id}.
        slots:
          id: path.id
      - text: Resume subscription {id} at {resume_at}.
        slots:
          id: path.id
          resume_at: requestBody.resume_at
      method: generated
      generated: '2026-11-16'
- target: $.paths['/subscriptions/{id}/retrieve_scheduled_changes'].get
  update:
    x-apievangelist-phrasing:
      intent: See pending changes on a subscription
      effect: read
      questions:
      - Is there a plan change queued for the next billing cycle?
      - What quantity changes are scheduled on a subscription?
      instructions:
      - text: Show the scheduled changes on subscription {id}.
        slots:
          id: path.id
      - text: Check whether subscription {id} has a pending plan change.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/subscriptions/{id}/cancel_scheduled_changes'].post
  update:
    x-apievangelist-phrasing:
      intent: Cancel a subscription's scheduled changes
      effect: write
      questions:
      - Can I undo a plan change I scheduled for next cycle?
      - How do I drop a pending quantity change before it takes effect?
      instructions:
      - text: Cancel the scheduled changes on subscription {id}.
        slots:
          id: path.id
      - text: Drop the pending plan change queued for subscription {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/subscriptions/{sub_id}/{offer_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an offer from a subscription
      effect: destructive
      questions:
      - How do I remove a coupon applied to a subscription?
      - Will an offer keep discounting future charges after I remove it?
      instructions:
      - text: Remove offer {offer_id} from subscription {sub_id}.
        slots:
          offer_id: path.offer_id
          sub_id: path.sub_id
      - text: Delete the discount offer {offer_id} on subscription {sub_id}.
        slots:
          offer_id: path.offer_id
          sub_id: path.sub_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/curlec-subscriptions-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.