KosmoKrator

productivity

Chargebee CLI for AI Agents

Use the Chargebee CLI from KosmoKrator to call Chargebee tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Chargebee CLI Setup

Chargebee can be configured headlessly with `kosmokrator integrations:configure chargebee`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure chargebee --set access_token="$CHARGEBEE_ACCESS_TOKEN" --set site_name="$CHARGEBEE_SITE_NAME" --enable --read allow --write ask --json
kosmokrator integrations:doctor chargebee --json
kosmokrator integrations:status --json

Credentials

Authentication type: basic auth basic_auth. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

KeyEnv varTypeRequiredLabel
access_token CHARGEBEE_ACCESS_TOKEN Secret secret yes API Key
site_name CHARGEBEE_SITE_NAME Text string yes Site Name

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call chargebee.chargebee_cancel_subscription_for_items '{}' --json
Provider shortcut
kosmo integrations:chargebee chargebee_cancel_subscription_for_items '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs chargebee --json
kosmo integrations:docs chargebee.chargebee_cancel_subscription_for_items --json
kosmo integrations:schema chargebee.chargebee_cancel_subscription_for_items --json
kosmo integrations:search "Chargebee" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

chargebee.chargebee_cancel_subscription_for_items

Cancel a subscription with Product Catalog 2.0 item semantics.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_cancel_subscription_for_items '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_cancel_subscription_for_items '{}' --json

chargebee.chargebee_checkout_existing_for_items

Create a hosted checkout page for an existing item-price subscription.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_checkout_existing_for_items '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_checkout_existing_for_items '{}' --json

chargebee.chargebee_checkout_new_for_items

Create a hosted checkout page for a new item-price subscription.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_checkout_new_for_items '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_checkout_new_for_items '{}' --json

chargebee.chargebee_close_invoice

Close a pending Chargebee invoice.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_close_invoice '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_close_invoice '{}' --json

chargebee.chargebee_collect_invoice_payment

Collect payment for an invoice.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_collect_invoice_payment '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_collect_invoice_payment '{}' --json

chargebee.chargebee_collect_now_hosted_page

Create a hosted page to collect unpaid invoices.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_collect_now_hosted_page '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_collect_now_hosted_page '{}' --json

chargebee.chargebee_create_coupon

Create a Chargebee coupon.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_create_coupon '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_create_coupon '{}' --json

chargebee.chargebee_create_credit_note

Create a credit note for an invoice.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_create_credit_note '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_create_credit_note '{}' --json

chargebee.chargebee_create_customer

Create a Chargebee customer.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_create_customer '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_create_customer '{}' --json

chargebee.chargebee_create_invoice_for_charge_items_and_charges

Create a non-recurring invoice for charge items and ad hoc charges.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_create_invoice_for_charge_items_and_charges '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_create_invoice_for_charge_items_and_charges '{}' --json

chargebee.chargebee_create_item

Create a Chargebee item.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_create_item '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_create_item '{}' --json

chargebee.chargebee_create_item_price

Create a Chargebee item price.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_create_item_price '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_create_item_price '{}' --json

chargebee.chargebee_create_payment_source

Create a payment source for a customer.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_create_payment_source '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_create_payment_source '{}' --json

chargebee.chargebee_create_subscription_for_customer

Create a subscription for an existing customer with item prices.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_create_subscription_for_customer '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_create_subscription_for_customer '{}' --json

chargebee.chargebee_create_subscription_for_items

Create a subscription with Product Catalog 2.0 item prices.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_create_subscription_for_items '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_create_subscription_for_items '{}' --json

chargebee.chargebee_delete_coupon

Delete or archive a Chargebee coupon by ID.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_delete_coupon '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_delete_coupon '{}' --json

chargebee.chargebee_delete_credit_note

Delete a Chargebee credit note.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_delete_credit_note '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_delete_credit_note '{}' --json

chargebee.chargebee_delete_customer

Delete or archive a Chargebee customer by ID.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_delete_customer '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_delete_customer '{}' --json

chargebee.chargebee_delete_invoice

Delete a Chargebee invoice.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_delete_invoice '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_delete_invoice '{}' --json

chargebee.chargebee_delete_item

Delete or archive a Chargebee item by ID.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_delete_item '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_delete_item '{}' --json

chargebee.chargebee_delete_item_price

Delete or archive a Chargebee item price by ID.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_delete_item_price '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_delete_item_price '{}' --json

chargebee.chargebee_delete_payment_source

Delete a payment source.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_delete_payment_source '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_delete_payment_source '{}' --json

chargebee.chargebee_delete_subscription

Delete a Chargebee subscription.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_delete_subscription '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_delete_subscription '{}' --json

chargebee.chargebee_estimate_cancel_subscription_for_items

Estimate cancelling a subscription.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_estimate_cancel_subscription_for_items '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_estimate_cancel_subscription_for_items '{}' --json

chargebee.chargebee_estimate_create_invoice_for_items

Estimate creating an invoice for item prices and charges.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_estimate_create_invoice_for_items '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_estimate_create_invoice_for_items '{}' --json

chargebee.chargebee_estimate_create_subscription_for_customer

Estimate creating a subscription for an existing customer.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_estimate_create_subscription_for_customer '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_estimate_create_subscription_for_customer '{}' --json

chargebee.chargebee_estimate_create_subscription_for_items

Estimate creating a Product Catalog 2.0 subscription.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_estimate_create_subscription_for_items '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_estimate_create_subscription_for_items '{}' --json

chargebee.chargebee_estimate_renew_subscription

Estimate renewing a subscription.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_estimate_renew_subscription '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_estimate_renew_subscription '{}' --json

chargebee.chargebee_estimate_update_subscription_for_items

Estimate updating a Product Catalog 2.0 subscription.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_estimate_update_subscription_for_items '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_estimate_update_subscription_for_items '{}' --json

chargebee.chargebee_get_attached_item

Retrieve a Chargebee attached item by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_attached_item '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_attached_item '{}' --json

chargebee.chargebee_get_business_entity

Retrieve a Chargebee business entity by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_business_entity '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_business_entity '{}' --json

chargebee.chargebee_get_coupon

Retrieve a Chargebee coupon by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_coupon '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_coupon '{}' --json

chargebee.chargebee_get_credit_note

Retrieve a Chargebee credit note by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_credit_note '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_credit_note '{}' --json

chargebee.chargebee_get_credit_note_pdf

Retrieve credit note PDF metadata and download URL.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_credit_note_pdf '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_credit_note_pdf '{}' --json

chargebee.chargebee_get_current_user

Verify Chargebee API connectivity with a lightweight subscriptions request. Use this to confirm credentials and site name are working.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_current_user '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_current_user '{}' --json

chargebee.chargebee_get_customer

Retrieve detailed information about a specific Chargebee customer by their ID, including contact details, billing address, and payment method.

Read read
Parameters
id
Generic call
kosmo integrations:call chargebee.chargebee_get_customer '{"id":"example_id"}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_customer '{"id":"example_id"}' --json

chargebee.chargebee_get_event

Retrieve a Chargebee event by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_event '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_event '{}' --json

chargebee.chargebee_get_hosted_page

Retrieve a Chargebee hosted page by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_hosted_page '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_hosted_page '{}' --json

chargebee.chargebee_get_invoice

Retrieve detailed information about a specific Chargebee invoice by its ID, including line items, totals, tax, and payment status.

Read read
Parameters
id
Generic call
kosmo integrations:call chargebee.chargebee_get_invoice '{"id":"example_id"}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_invoice '{"id":"example_id"}' --json

chargebee.chargebee_get_invoice_pdf

Retrieve invoice PDF metadata and download URL.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_invoice_pdf '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_invoice_pdf '{}' --json

chargebee.chargebee_get_item

Retrieve a Chargebee item by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_item '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_item '{}' --json

chargebee.chargebee_get_item_price

Retrieve a Chargebee item price by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_item_price '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_item_price '{}' --json

chargebee.chargebee_get_order

Retrieve a Chargebee order by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_order '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_order '{}' --json

chargebee.chargebee_get_payment_source

Retrieve a payment source by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_payment_source '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_payment_source '{}' --json

chargebee.chargebee_get_subscription

Retrieve detailed information about a specific Chargebee subscription by its ID, including plan details, billing period, status, and associated customer.

Read read
Parameters
id
Generic call
kosmo integrations:call chargebee.chargebee_get_subscription '{"id":"example_id"}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_subscription '{"id":"example_id"}' --json

chargebee.chargebee_get_transaction

Retrieve a Chargebee transaction by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_get_transaction '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_get_transaction '{}' --json

chargebee.chargebee_list_attached_items

List Chargebee attached items with filters and pagination.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_attached_items '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_attached_items '{}' --json

chargebee.chargebee_list_business_entities

List Chargebee business entitys with filters and pagination.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_business_entities '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_business_entities '{}' --json

chargebee.chargebee_list_coupons

List Chargebee coupons with filters and pagination.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_coupons '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_coupons '{}' --json

chargebee.chargebee_list_credit_notes

List Chargebee credit notes with filters and pagination.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_credit_notes '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_credit_notes '{}' --json

chargebee.chargebee_list_currencies

List Chargebee currencies.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_currencies '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_currencies '{}' --json

chargebee.chargebee_list_customers

List customers from Chargebee with pagination. Returns customer details including email, name, company, and billing address.

Read read
Parameters
limit, page
Generic call
kosmo integrations:call chargebee.chargebee_list_customers '{"limit":1,"page":"example_page"}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_customers '{"limit":1,"page":"example_page"}' --json

chargebee.chargebee_list_events

List Chargebee events with filters and pagination.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_events '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_events '{}' --json

chargebee.chargebee_list_hosted_pages

List Chargebee hosted pages with filters and pagination.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_hosted_pages '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_hosted_pages '{}' --json

chargebee.chargebee_list_invoice_payment_schedules

Retrieve payment schedules for an invoice.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_invoice_payment_schedules '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_invoice_payment_schedules '{}' --json

chargebee.chargebee_list_invoices

List invoices from Chargebee. Supports filtering by status (paid, posted, payment_due, not_paid, voided, pending) and pagination.

Read read
Parameters
limit, page, status
Generic call
kosmo integrations:call chargebee.chargebee_list_invoices '{"limit":1,"page":"example_page","status":"example_status"}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_invoices '{"limit":1,"page":"example_page","status":"example_status"}' --json

chargebee.chargebee_list_item_prices

List Chargebee item prices with filters and pagination.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_item_prices '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_item_prices '{}' --json

chargebee.chargebee_list_items

List Chargebee items with filters and pagination.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_items '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_items '{}' --json

chargebee.chargebee_list_orders

List Chargebee orders with filters and pagination.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_orders '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_orders '{}' --json

chargebee.chargebee_list_payment_sources_for_customer

List payment sources for a customer.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_payment_sources_for_customer '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_payment_sources_for_customer '{}' --json

chargebee.chargebee_list_subscriptions

List subscriptions from Chargebee. Supports filtering by state (active, cancelled, non_renewing, paused, in_trial, future) and pagination. Returns subscription details including plan, status, and billing period.

Read read
Parameters
limit, page, state
Generic call
kosmo integrations:call chargebee.chargebee_list_subscriptions '{"limit":1,"page":"example_page","state":"example_state"}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_subscriptions '{"limit":1,"page":"example_page","state":"example_state"}' --json

chargebee.chargebee_list_transactions

List Chargebee transactions with filters and pagination.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_list_transactions '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_list_transactions '{}' --json

chargebee.chargebee_manage_payment_sources_hosted_page

Create a hosted page for managing payment sources.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_manage_payment_sources_hosted_page '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_manage_payment_sources_hosted_page '{}' --json

chargebee.chargebee_pause_subscription

Pause a Chargebee subscription.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_pause_subscription '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_pause_subscription '{}' --json

chargebee.chargebee_reactivate_subscription

Reactivate a cancelled Chargebee subscription.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_reactivate_subscription '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_reactivate_subscription '{}' --json

chargebee.chargebee_record_invoice_payment

Record an offline payment for an invoice.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_record_invoice_payment '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_record_invoice_payment '{}' --json

chargebee.chargebee_record_refund_for_transaction

Record an offline refund for a transaction.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_record_refund_for_transaction '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_record_refund_for_transaction '{}' --json

chargebee.chargebee_remove_scheduled_cancellation

Remove a scheduled subscription cancellation.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_remove_scheduled_cancellation '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_remove_scheduled_cancellation '{}' --json

chargebee.chargebee_remove_scheduled_changes

Remove scheduled changes from a subscription.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_remove_scheduled_changes '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_remove_scheduled_changes '{}' --json

chargebee.chargebee_resume_subscription

Resume a paused Chargebee subscription.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_resume_subscription '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_resume_subscription '{}' --json

chargebee.chargebee_retrieve_subscription_with_scheduled_changes

Retrieve a subscription including scheduled changes.

Read read
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_retrieve_subscription_with_scheduled_changes '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_retrieve_subscription_with_scheduled_changes '{}' --json

chargebee.chargebee_update_coupon

Update a Chargebee coupon by ID.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_update_coupon '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_update_coupon '{}' --json

chargebee.chargebee_update_customer

Update a Chargebee customer by ID.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_update_customer '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_update_customer '{}' --json

chargebee.chargebee_update_item

Update a Chargebee item by ID.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_update_item '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_update_item '{}' --json

chargebee.chargebee_update_item_price

Update a Chargebee item price by ID.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_update_item_price '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_update_item_price '{}' --json

chargebee.chargebee_update_payment_method_hosted_page

Create a hosted page for updating payment method.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_update_payment_method_hosted_page '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_update_payment_method_hosted_page '{}' --json

chargebee.chargebee_update_subscription_for_items

Update a subscription with Product Catalog 2.0 item prices.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_update_subscription_for_items '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_update_subscription_for_items '{}' --json

chargebee.chargebee_void_credit_note

Void a Chargebee credit note.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_void_credit_note '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_void_credit_note '{}' --json

chargebee.chargebee_void_invoice

Void a Chargebee invoice.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_void_invoice '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_void_invoice '{}' --json

chargebee.chargebee_void_transaction

Void a Chargebee transaction.

Write write
Parameters
none
Generic call
kosmo integrations:call chargebee.chargebee_void_transaction '{}' --json
Shortcut
kosmo integrations:chargebee chargebee_void_transaction '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

chargebee.chargebee_cancel_subscription_for_items 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_cancel_subscription_for_items --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_checkout_existing_for_items 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_checkout_existing_for_items --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_checkout_new_for_items 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_checkout_new_for_items --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_close_invoice 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_close_invoice --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_collect_invoice_payment 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_collect_invoice_payment --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_collect_now_hosted_page 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_collect_now_hosted_page --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_create_coupon 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_create_coupon --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_create_credit_note 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_create_credit_note --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_create_customer 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_create_customer --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_create_invoice_for_charge_items_and_charges 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_create_invoice_for_charge_items_and_charges --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_create_item 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_create_item --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_create_item_price 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_create_item_price --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_create_payment_source 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_create_payment_source --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_create_subscription_for_customer 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_create_subscription_for_customer --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_create_subscription_for_items 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_create_subscription_for_items --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_delete_coupon 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_delete_coupon --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_delete_credit_note 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_delete_credit_note --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_delete_customer 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_delete_customer --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_delete_invoice 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_delete_invoice --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_delete_item 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_delete_item --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_delete_item_price 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_delete_item_price --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_delete_payment_source 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_delete_payment_source --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_delete_subscription 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_delete_subscription --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_estimate_cancel_subscription_for_items 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_estimate_cancel_subscription_for_items --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_estimate_create_invoice_for_items 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_estimate_create_invoice_for_items --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_estimate_create_subscription_for_customer 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_estimate_create_subscription_for_customer --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_estimate_create_subscription_for_items 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_estimate_create_subscription_for_items --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_estimate_renew_subscription 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_estimate_renew_subscription --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_estimate_update_subscription_for_items 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_estimate_update_subscription_for_items --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_attached_item 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_attached_item --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_business_entity 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_business_entity --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_coupon 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_coupon --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_credit_note 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_credit_note --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_credit_note_pdf 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_credit_note_pdf --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_current_user 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_current_user --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_customer 1 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_customer --json
ParameterTypeRequiredDescription
id string yes The customer ID.
chargebee.chargebee_get_event 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_event --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_hosted_page 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_hosted_page --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_invoice 1 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_invoice --json
ParameterTypeRequiredDescription
id string yes The invoice ID.
chargebee.chargebee_get_invoice_pdf 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_invoice_pdf --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_item 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_item --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_item_price 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_item_price --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_order 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_order --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_payment_source 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_payment_source --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_get_subscription 1 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_subscription --json
ParameterTypeRequiredDescription
id string yes The subscription ID.
chargebee.chargebee_get_transaction 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_get_transaction --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_attached_items 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_attached_items --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_business_entities 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_business_entities --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_coupons 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_coupons --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_credit_notes 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_credit_notes --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_currencies 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_currencies --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_customers 2 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_customers --json
ParameterTypeRequiredDescription
limit integer no Number of customers to return per page (max 100, default 10).
page string no Pagination cursor. Pass the value from a previous response to get the next page.
chargebee.chargebee_list_events 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_events --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_hosted_pages 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_hosted_pages --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_invoice_payment_schedules 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_invoice_payment_schedules --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_invoices 3 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_invoices --json
ParameterTypeRequiredDescription
limit integer no Number of invoices to return per page (max 100, default 10).
page string no Pagination cursor. Pass the value from a previous response to get the next page.
status string no Filter by invoice status: paid, posted, payment_due, not_paid, voided, pending.
chargebee.chargebee_list_item_prices 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_item_prices --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_items 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_items --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_orders 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_orders --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_payment_sources_for_customer 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_payment_sources_for_customer --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_list_subscriptions 3 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_subscriptions --json
ParameterTypeRequiredDescription
limit integer no Number of subscriptions to return per page (max 100, default 10).
page string no Pagination cursor. Pass the value from a previous response to get the next page.
state string no Filter by subscription state: active, cancelled, non_renewing, paused, in_trial, future.
chargebee.chargebee_list_transactions 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_list_transactions --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_manage_payment_sources_hosted_page 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_manage_payment_sources_hosted_page --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_pause_subscription 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_pause_subscription --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_reactivate_subscription 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_reactivate_subscription --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_record_invoice_payment 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_record_invoice_payment --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_record_refund_for_transaction 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_record_refund_for_transaction --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_remove_scheduled_cancellation 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_remove_scheduled_cancellation --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_remove_scheduled_changes 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_remove_scheduled_changes --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_resume_subscription 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_resume_subscription --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_retrieve_subscription_with_scheduled_changes 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_retrieve_subscription_with_scheduled_changes --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_update_coupon 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_update_coupon --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_update_customer 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_update_customer --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_update_item 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_update_item --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_update_item_price 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_update_item_price --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_update_payment_method_hosted_page 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_update_payment_method_hosted_page --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_update_subscription_for_items 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_update_subscription_for_items --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_void_credit_note 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_void_credit_note --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_void_invoice 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_void_invoice --json
ParameterTypeRequiredDescription
No parameters.
chargebee.chargebee_void_transaction 0 parameters
Schema command
kosmo integrations:schema chargebee.chargebee_void_transaction --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.