Chargebee · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Chargebee Ledger Operations API
8 actions
8 updates
phrasing
extends
openapi/chargebee-ledger-operations-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Chargebee's API. It is a proposal applied on top of the contract, not a document Chargebee publishes.
What the actions change
x-apievangelist-phrasing
Targets 8
$.info
$.paths['/ledger_operations/release_authorization'].post
$.paths['/ledger_operations/capture'].post
$.paths['/ledger_operations/allocate'].post
$.paths['/ledger_operations/authorize'].post
$.paths['/ledger_operations'].get
$.paths['/ledger_operations/capture_authorization'].post
$.paths['/ledger_operations/{ledger-operation-id}'].get
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 Chargebee Ledger Operations API
version: 1.0.0
extends: openapi/chargebee-ledger-operations-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-21'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 7
- target: $.paths['/ledger_operations/release_authorization'].post
update:
x-apievangelist-phrasing:
intent: Release a hold on an authorization
effect: destructive
questions:
- Can I undo a hold on a customer's funds that I no longer need?
- How do I release an authorization I no longer need in Chargebee?
instructions:
- text: Release authorization {authorization_id} at {ledger_operation_timestamp}.
slots:
authorization_id: requestBody.authorization_id
ledger_operation_timestamp: requestBody.ledger_operation_timestamp
- text: Release the hold on authorization {authorization_id} and tag the operation with ID {id}.
slots:
authorization_id: requestBody.authorization_id
id: requestBody.id
method: generated
generated: '2026-11-21'
- target: $.paths['/ledger_operations/capture'].post
update:
x-apievangelist-phrasing:
intent: Capture an amount on a subscription unit
effect: write
questions:
- How do I capture an amount against a subscription unit in the ledger?
- What do I need to provide to record a capture on a subscription?
instructions:
- text: Capture {amount} under subscription {subscription_id} for unit {unit_id} at {ledger_operation_timestamp}.
slots:
amount: requestBody.amount
subscription_id: requestBody.subscription_id
unit_id: requestBody.unit_id
ledger_operation_timestamp: requestBody.ledger_operation_timestamp
- text: Record a capture of {amount} on unit {unit_id} of subscription {subscription_id} with metadata {metadata}.
slots:
amount: requestBody.amount
unit_id: requestBody.unit_id
subscription_id: requestBody.subscription_id
metadata: requestBody.metadata
method: generated
generated: '2026-11-21'
- target: $.paths['/ledger_operations/allocate'].post
update:
x-apievangelist-phrasing:
intent: Allocate funds to a subscription unit
effect: write
questions:
- How do I allocate funds to a subscription unit for a limited time?
- Can I set an expiry date on an allocation?
instructions:
- text: Allocate {amount} to subscription {subscription_id} on unit {unit_id} expiring {expires_at}.
slots:
amount: requestBody.amount
subscription_id: requestBody.subscription_id
unit_id: requestBody.unit_id
expires_at: requestBody.expires_at
- text: Allocate {amount} to unit {unit_id} of subscription {subscription_id} effective {effective_from}.
slots:
amount: requestBody.amount
unit_id: requestBody.unit_id
subscription_id: requestBody.subscription_id
effective_from: requestBody.effective_from
method: generated
generated: '2026-11-21'
- target: $.paths['/ledger_operations/authorize'].post
update:
x-apievangelist-phrasing:
intent: Authorize a payment
effect: write
questions:
- How do I authorize a payment for a subscription?
- Can an authorization be released automatically after a set time?
instructions:
- text: Authorize {amount} on subscription {subscription_id} for unit {unit_id} at {ledger_operation_timestamp}.
slots:
amount: requestBody.amount
subscription_id: requestBody.subscription_id
unit_id: requestBody.unit_id
ledger_operation_timestamp: requestBody.ledger_operation_timestamp
- text: Authorize {amount} on unit {unit_id} of subscription {subscription_id} auto-releasing at {auto_release_timestamp}.
slots:
amount: requestBody.amount
unit_id: requestBody.unit_id
subscription_id: requestBody.subscription_id
auto_release_timestamp: requestBody.auto_release_timestamp
method: generated
generated: '2026-11-21'
- target: $.paths['/ledger_operations'].get
update:
x-apievangelist-phrasing:
intent: List ledger operations for a subscription
effect: read
questions:
- What ledger operations have been run on a subscription?
- Can I filter ledger operations by type or date?
instructions:
- text: List ledger operations for subscription {subscription_id}.
slots:
subscription_id: query.subscription_id
- text: Show ledger operations on unit {unit_id} of subscription {subscription_id} of type {type}.
slots:
unit_id: query.unit_id
subscription_id: query.subscription_id
type: query.type
method: generated
generated: '2026-11-21'
- target: $.paths['/ledger_operations/capture_authorization'].post
update:
x-apievangelist-phrasing:
intent: Capture an existing authorization
effect: write
questions:
- How do I capture an authorization that was already authorized but not yet captured?
- Can I capture an authorization for less than its authorized amount?
instructions:
- text: Capture authorization {authorization_id} for {amount} at {ledger_operation_timestamp}.
slots:
authorization_id: requestBody.authorization_id
amount: requestBody.amount
ledger_operation_timestamp: requestBody.ledger_operation_timestamp
- text: Capture {amount} of existing authorization {authorization_id}.
slots:
amount: requestBody.amount
authorization_id: requestBody.authorization_id
method: generated
generated: '2026-11-21'
- target: $.paths['/ledger_operations/{ledger-operation-id}'].get
update:
x-apievangelist-phrasing:
intent: Get a ledger operation
effect: read
questions:
- How do I look up one ledger operation by its ID?
- What details are stored on a single ledger operation?
instructions:
- text: Get ledger operation {ledger_operation_id}.
slots:
ledger_operation_id: path.ledger-operation-id
- text: Show the details of ledger operation {ledger_operation_id}.
slots:
ledger_operation_id: path.ledger-operation-id
method: generated
generated: '2026-11-21'
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/chargebee-ledger-operations-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.