chargebee_get_subscription
Pack: chargebee · Endpoint: https://gateway.pipeworx.io/chargebee/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/chargebee_get_subscription for the schema, then POST the same URL with its arguments for the data.
Get full subscription details by ID. Returns plan, status, billing dates, customer info, and all charges.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | Chargebee API key |
_site | string | yes | Chargebee site name |
subscription_id | string | yes | Subscription ID |
Example call
Arguments
{
"_apiKey": "your-chargebee-api-key",
"_site": "mycompany",
"subscription_id": "sub_0012HyXnR4z8sF"
}
curl
curl -X POST https://gateway.pipeworx.io/chargebee/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"chargebee_get_subscription","arguments":{"_apiKey":"your-chargebee-api-key","_site":"mycompany","subscription_id":"sub_0012HyXnR4z8sF"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('chargebee_get_subscription', {
"_apiKey": "your-chargebee-api-key",
"_site": "mycompany",
"subscription_id": "sub_0012HyXnR4z8sF"
});
Response shape
Always returns: subscription
| Field | Type | Description |
|---|---|---|
subscription | object | Subscription details including plan, status, billing dates, customer info, and charges |
Full JSON Schema
{
"type": "object",
"properties": {
"subscription": {
"type": "object",
"description": "Subscription details including plan, status, billing dates, customer info, and charges"
}
},
"required": [
"subscription"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"chargebee": {
"url": "https://gateway.pipeworx.io/chargebee/mcp"
}
}
}
See Getting Started for client-specific install steps.