with Fakturoid and Whop?
Emit new event when a contact (subject) is added in Fakturoid.
Emit new event when a membership goes valid. See the documentation
Emit new event when a new invoice is created in Fakturoid.
Cancels an existing invoice or revokes previous cancellation. See the documentation
Creates a new checkout session in Whop. See the documentation
Creates a new promo code with the given parameters in Whop. See the documentation
Executes payment for an invoice or removes an already applied payment. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fakturoid: {
type: "app",
app: "fakturoid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.fakturoid.cz/api/v3/user.json`,
headers: {
Authorization: `Bearer ${this.fakturoid.$auth.oauth_access_token}`,
},
})
},
})
The Whop API provides access to a marketplace for buying and selling software companies. On Pipedream, you can leverage the Whop API to craft serverless workflows that automate tasks like tracking sales, managing memberships, and integrating with other services for a comprehensive business management solution. It’s great for creating custom alerts, syncing data across platforms, and much more, all without writing a line of server-side code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whop: {
type: "app",
app: "whop",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.whop.com/api/v2/memberships`,
headers: {
Authorization: `Bearer ${this.whop.$auth.api_key}`,
},
})
},
})