Automated Subscription Billing Software

Go to site

Chargebee API Integrations

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

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}`,
      auth: {
        username: `${this.chargebee.$auth.api_key}`,
        password: ``,


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]