Chargebee Developer Documentation

website·Indexed 43 days ago

https://www.chargebee.com/docs/billing/2.0/getting-started/accessing_chargebee

Developer resources for Chargebee billing 2.0, including API references, Chargebee.js, Hosted Checkout for payment processing, Chargebee Copilot AI assistance, and Model Context Protocol (MCP) servers for connecting AI clients to Chargebee data.

Tokens
2.1K
Snippets
2
Records
21
Agent score
75%

What's inside Chargebee

  1. Overview of Chargebee Hosted Checkout

    Chargebee Hosted Checkout is a secure, PCI and GDPR compliant solution for collecting customer account details, billing information, and processing payments. It supports multiple payment methods (cards, wallets, direct debit, bank-based payments) and handles tax calculations, discounts, and mobile browser autofill. It integrates directly with Chargebee's customer management, invoicing, and analytics systems.
  2. Overview of Chargebee MCP Servers

    Chargebee Model Context Protocol (MCP) servers allow AI clients (such as Cursor, Claude, ChatGPT, and Codex) to connect to Chargebee systems using standardized tools and structured context. This enables AI agents to securely access Chargebee data, workflows, and product knowledge. Users are responsible for all actions performed by AI clients, including write operations; it is recommended to use only trusted clients and review actions before execution.
  3. Overview of Chargebee Copilot

    Chargebee Copilot is an AI assistant integrated within Chargebee Billing that allows users to answer questions and complete tasks using natural language. It is currently in public beta and available to all users regardless of their billing plan. Copilot's capabilities are determined by the skills enabled for the site and the access level configured for the specific user role. Note that AI-generated responses should be independently verified before taking critical business actions.
  4. Integrate third-party applications via Partner SPI

    The Partner SPI (Service Provider Interface) allows partners and third-party applications to integrate seamlessly with Chargebee. Technical documentation is available via the Partner SPI Reference, and a dedicated onboarding guide is provided for application registration.
  5. Access Chargebee API documentation and testing tools

    Chargebee provides several resources for managing subscriptions and billing via API: the API Docs for a complete reference of endpoints and parameters, a Quickstart guide for step-by-step integration, an API Changelog for tracking deprecations, and the API Explorer which includes an AI Chat for solutions, an interactive Playground, and an Event Explorer for debugging webhooks.
  6. Integrate Chargebee into AI Agents using AgentKit

    AgentKit provides Model Context Protocol (MCP) servers and assistants to add billing workflows to AI agents:

    • Knowledge Base MCP Server: Answers questions using Chargebee docs and API references.
    • Data Lookup MCP Server: Retrieves customer, subscription, invoice, and payment data.
    • Onboarding MCP Server: Creates product catalogs and generates demo data for test/sandbox sites.
    • Catalog Setup Assistant: Drafts a product catalog in the Chargebee UI from a pricing page or description.
    • Custom MCP Server: Allows combining Chargebee tools into a tailored server.
  7. Switch the Hosted Checkout UI layout in Chargebee

    To change the checkout layout for your customers:

    1. Log in to the Chargebee site.
    2. Navigate to Settings > Configure Chargebee > Checkout & Self-Serve Portal.
    3. Select the desired layout (In-app or Full-page).
    4. If enabling Full-page for the first time, click Explore and then Use Layout to confirm the change.
  8. Set up tool input configuration in Chargebee Billing

    To configure tool inputs for an MCP server, follow these steps:

    1. Log in to Chargebee Billing.
    2. Navigate to Settings > Configure Chargebee > Agentic AI > MCP Servers.
    3. Select the desired MCP server.
    4. Go to the Tools tab and select the specific tool to configure.
    5. Define the input constraints or defaults for the required fields.
    6. Click Save.