Chargebee

Automated Subscription Billing Software

Go to site
Explore
/
Apps
/
Chargebee

Chargebee API Integrations

Build and run workflows using the Chargebee API. Use 1000s of open source triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

The Chargebee API enables you to do the following:

  • Create and manage customers
  • Create and manage subscription plans
  • Create and manage coupons
  • Create and manage invoices
  • Set up and manage webhooks
  • Generate 3D Secure tokens
  • And much more!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    chargebee: {
      type: "app",
      app: "chargebee",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.chargebee.$auth.sub_url}.chargebee.com/api/v2/subscriptions`,
      auth: {
        username: `${this.chargebee.$auth.api_key}`,
        password: ``,
      },
    })
  },
})

Authentication

Chargebee uses API keys for authentication. When you connect your Chargebee account, Pipedream securely stores the keys so you can easily authenticate to Chargebee APIs in both code and no-code steps.

The API key could be got from Your API Keys page under integration tab in the web client console.
You sub_url is here https://[sub_url].chargebee.com/