Curlec · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Razorpay Invoices API
9 actions
9 updates
phrasing
extends
openapi/curlec-invoices-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.
What the actions change
x-apievangelist-phrasing
Targets 9
$.info
$.paths['/invoices'].get
$.paths['/invoices'].post
$.paths['/invoices/{id}'].get
$.paths['/invoices/{id}'].delete
$.paths['/invoices/{id}'].patch
$.paths['/invoices/{id}/issue'].post
$.paths['/invoices/{id}/cancel'].post
$.paths['/invoices/{id}/notify_by/{medium}'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Razorpay Invoices API
version: 1.0.0
extends: openapi/curlec-invoices-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: 8
- target: $.paths['/invoices'].get
update:
x-apievangelist-phrasing:
intent: List invoices
effect: read
questions:
- Which invoices belong to a particular customer?
- Can I find the invoices generated for a subscription?
instructions:
- text: List all my invoices.
- text: List invoices for customer {customer_id}.
slots:
customer_id: query.customer_id
- text: List invoices for subscription {subscription_id}.
slots:
subscription_id: query.subscription_id
method: generated
generated: '2026-11-16'
- target: $.paths['/invoices'].post
update:
x-apievangelist-phrasing:
intent: Create an invoice
effect: write
questions:
- How do I bill a customer with an invoice in Curlec?
- Can an invoice allow partial payments?
instructions:
- text: Create an invoice of type {type} for customer {customer_id}.
slots:
type: requestBody.type
customer_id: requestBody.customer_id
- text: Create a {type} with line items {line_items}.
slots:
type: requestBody.type
line_items: requestBody.line_items
method: generated
generated: '2026-11-16'
- target: $.paths['/invoices/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get an invoice
effect: read
questions:
- What line items and payments are on one invoice?
- Has a specific invoice been paid?
instructions:
- text: Show invoice {id}.
slots:
id: path.id
- text: Check the payment status of invoice {id}.
slots:
id: path.id
method: generated
generated: '2026-11-16'
- target: $.paths['/invoices/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a draft invoice
effect: destructive
questions:
- Can I delete an invoice that is still a draft?
- How do I throw away a draft invoice permanently?
instructions:
- text: Delete draft invoice {id}.
slots:
id: path.id
- text: Permanently remove draft invoice {id}.
slots:
id: path.id
method: generated
generated: '2026-11-16'
- target: $.paths['/invoices/{id}'].patch
update:
x-apievangelist-phrasing:
intent: Edit an invoice
effect: write
questions:
- Which invoice fields can I still change after issuing it?
- How do I change the expiry date on an invoice?
instructions:
- text: Update the description of invoice {id} to {description}.
slots:
id: path.id
description: requestBody.description
- text: Set invoice {id} to expire at {expire_by}.
slots:
id: path.id
expire_by: requestBody.expire_by
method: generated
generated: '2026-11-16'
- target: $.paths['/invoices/{id}/issue'].post
update:
x-apievangelist-phrasing:
intent: Issue a draft invoice to the customer
effect: write
questions:
- How do I send a draft invoice out to the customer?
- What happens when I issue an invoice?
instructions:
- text: Issue draft invoice {id}.
slots:
id: path.id
- text: Finalize invoice {id} and notify the customer.
slots:
id: path.id
method: generated
generated: '2026-11-16'
- target: $.paths['/invoices/{id}/cancel'].post
update:
x-apievangelist-phrasing:
intent: Cancel an invoice
effect: destructive
questions:
- Can I cancel an invoice I already issued?
- Can a cancelled invoice still be paid?
instructions:
- text: Cancel invoice {id}.
slots:
id: path.id
- text: Void issued invoice {id} so it can't be paid.
slots:
id: path.id
method: generated
generated: '2026-11-16'
- target: $.paths['/invoices/{id}/notify_by/{medium}'].post
update:
x-apievangelist-phrasing:
intent: Resend an invoice by SMS or email
effect: write
questions:
- How do I resend an invoice link to a customer?
- Can I send the invoice by SMS instead of email?
instructions:
- text: Resend invoice {id} via {medium}.
slots:
id: path.id
medium: path.medium
- text: Notify the customer about invoice {id} by {medium}.
slots:
id: path.id
medium: path.medium
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/curlec-invoices-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.