Chargebee · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Chargebee Promotional Credits API
6 actions
6 updates
phrasing
extends
openapi/chargebee-promotional-credits-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 6
$.info
$.paths['/promotional_credits/{account-credit-id}'].get
$.paths['/promotional_credits'].get
$.paths['/promotional_credits/deduct'].post
$.paths['/promotional_credits/set'].post
$.paths['/promotional_credits/add'].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 Chargebee Promotional Credits API
version: 1.0.0
extends: openapi/chargebee-promotional-credits-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: 5
- target: $.paths['/promotional_credits/{account-credit-id}'].get
update:
x-apievangelist-phrasing:
intent: Get a promotional credit
effect: read
questions:
- How do I look up one promotional credit by its ID?
- What does a single promotional credit record contain?
instructions:
- text: Show promotional credit {credit_id}.
slots:
credit_id: path.account-credit-id
- text: Get the promotional credit {credit_id}.
slots:
credit_id: path.account-credit-id
method: generated
generated: '2026-11-21'
- target: $.paths['/promotional_credits'].get
update:
x-apievangelist-phrasing:
intent: List promotional credits
effect: read
questions:
- Which promotional credits exist on my site?
- Can I filter promotional credits by customer or type?
instructions:
- text: List promotional credits.
- text: Show promotional credits for customer {customer_id}.
slots:
customer_id: query.customer_id
- text: Find promotional credits created on {date}.
slots:
date: query.created_at
method: generated
generated: '2026-11-21'
- target: $.paths['/promotional_credits/deduct'].post
update:
x-apievangelist-phrasing:
intent: Deduct promotional credits from a customer
effect: write
questions:
- How do I spend promotional credits on a customer's account?
- Can I deduct a specific amount of promotional credits?
instructions:
- text: Deduct {amount} promotional credits from customer {customer_id} for {description}.
slots:
amount: requestBody.amount
customer_id: requestBody.customer_id
description: requestBody.description
- text: Spend promotional credits on customer {customer_id} with description {description}.
slots:
customer_id: requestBody.customer_id
description: requestBody.description
method: generated
generated: '2026-11-21'
- target: $.paths['/promotional_credits/set'].post
update:
x-apievangelist-phrasing:
intent: Replace a customer's promotional credits
effect: write
questions:
- How do I replace a customer's promotional credits with a new amount?
- Can I overwrite promotional credits for a customer in one call?
instructions:
- text: Set promotional credits on customer {customer_id} to {amount} for {description}.
slots:
customer_id: requestBody.customer_id
amount: requestBody.amount
description: requestBody.description
- text: Replace the promotional credits on {customer_id} with {amount}, described as {description}.
slots:
customer_id: requestBody.customer_id
amount: requestBody.amount
description: requestBody.description
method: generated
generated: '2026-11-21'
- target: $.paths['/promotional_credits/add'].post
update:
x-apievangelist-phrasing:
intent: Add promotional credits to a customer
effect: write
questions:
- How do I top up a customer's promotional credits?
- Can I add promotional credits to an existing balance?
instructions:
- text: Add {amount} promotional credits to customer {customer_id} for {description}.
slots:
amount: requestBody.amount
customer_id: requestBody.customer_id
description: requestBody.description
- text: Top up customer {customer_id}'s promotional credits with {amount}, described as {description}.
slots:
customer_id: requestBody.customer_id
amount: requestBody.amount
description: requestBody.description
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-promotional-credits-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.