KosmoKrator

payments

Chargify CLI for Headless Automation

Use the Chargify CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write API key auth

Chargify CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. The Chargify CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Chargify CLI for Headless Automation
kosmokrator integrations:configure chargify --set api_key="$CHARGIFY_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call chargify.chargify_list_subscriptions '{"page":1,"per_page":1,"state":"example_state"}' --json

Discovery Before Execution

Agents and scripts can inspect Chargify docs and schemas before choosing a function.

kosmo integrations:docs chargify --json
kosmo integrations:docs chargify.chargify_list_subscriptions --json
kosmo integrations:schema chargify.chargify_list_subscriptions --json
kosmo integrations:search "Chargify" --json
kosmo integrations:list --json

Useful Chargify CLI Functions

FunctionTypeParametersDescription
chargify.chargify_list_subscriptions Read page, per_page, state List subscriptions from Chargify. Supports filtering by state (active, past_due, canceled, expired, trial, etc.) and pagination.
chargify.chargify_get_subscription Read subscription_id Get detailed information for a single Chargify subscription by ID.
chargify.chargify_list_customers Read page, per_page List customers from Chargify. Supports pagination with page and per_page parameters.
chargify.chargify_get_customer Read customer_id Get detailed information for a single Chargify customer by ID.
chargify.chargify_list_products Read page, per_page List products available in Chargify. Supports pagination with page and per_page parameters.
chargify.chargify_list_invoices Read page, per_page, status List invoices from Chargify. Supports filtering by status (open, paid, pending, voided) and pagination.
chargify.chargify_get_current_user Read none Get the currently authenticated Chargify user. Useful for verifying API credentials.

Automation Notes

Related Chargify CLI Pages