with Chargebee and ZeroTier?
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 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
Emit new event when the selected event is triggered. 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 invoice 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
Authorize a specific member (node) in a network. See docs here
Create a new subscription for an existing customer. See the documentation
Delete a specific member (node) in a network. See docs here
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: ``,
},
})
},
})
ZeroTier is a smart Ethernet switch for Earth. It's a global distributed network that connects devices, VMs, and apps with a simple, secure, and ubiquitous network fabric. The ZeroTier API allows you to manage networks, members, and access rules programmatically. With Pipedream's capabilities, you can automate interactions with ZeroTier, integrating it seamlessly with other apps and services to orchestrate complex workflows, react to events, or sync data across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zerotier: {
type: "app",
app: "zerotier",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://my.zerotier.com/api/v1/org`,
headers: {
Authorization: `Bearer ${this.zerotier.$auth.api_token}`,
},
})
},
})