with Illumidesk and Stripe?
Invites a user to a selected course. See the documentation
Cancel a pending payout or reverse a paid payout. See the documentation here and here
The Illumidesk API integrates virtual learning environments with tools that facilitate instruction and collaboration. On Pipedream, you can leverage this API to automate educational workflows, manage courses, and interact with users. Pipedream’s serverless platform lets you create workflows triggered by various events without maintaining infrastructure, focusing on the logic and integration between services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
illumidesk: {
type: "app",
app: "illumidesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.illumidesk.com/api/v1/campuses/`,
headers: {
"Authorization": `Token ${this.illumidesk.$auth.api_key}`,
},
})
},
})
The Stripe API is a powerful tool for managing online payments, subscriptions, and invoices. With Pipedream, you can leverage this API to automate payment processing, monitor transactions, and sync billing data with other services. Pipedream's no-code platform allows for quick integration and creation of serverless workflows that react to Stripe events in real-time. For instance, you might automatically update customer records, send personalized emails after successful payments, or escalate failed transactions to your support team.
import stripe from 'stripe'
export default defineComponent({
props: {
stripe: {
type: "app",
app: "stripe",
}
},
async run({steps, $}) {
const client = stripe(this.stripe.$auth.api_key)
return await client.accounts.list({ limit: 1 })
},
})