with Chargebee and Apify (OAuth)?
Emit new event when a selected Actor is run and finishes.
Emit new event when a customer card has expired. See the Documentation. Please make sure once you deploy this source, you copy/paste the webhook URL to create it in your Chargebee Webhook settings
Emit new event when a selected task is run and finishes.
Emit new event when a customer is changed. See the Documentation. Please make sure once you deploy this source, you copy/paste the webhook URL to create it in your Chargebee Webhook settings
Emit new event when a new customer is created. See the Documentation. Please make sure once you deploy this source, you copy/paste the webhook URL to create it in your Chargebee Webhook settings
Create a new subscription for an existing customer. See the documentation
Performs an execution of a selected Actor in Apify. See the documentation
Run a specific task and return its dataset items. See the documentation
The Chargebee API provides a suite of powerful endpoints that facilitate automation around subscription billing, invoicing, and customer management. By leveraging this API on Pipedream, you can build complex, event-driven workflows that react to subscription changes, automate billing operations, sync customer data across platforms, and trigger personalized communication, all without managing servers.
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: ``, }, }) }, }) import { axios } from "@pipedream/platform" export default defineComponent({ props: { apify_oauth: { type: "app", app: "apify_oauth", } }, async run({steps, $}) { return await axios($, { url: `https://api.apify.com/v2/users/me`, headers: { Authorization: `Bearer ${this.apify_oauth.$auth.oauth_access_token}`, }, }) }, })