with Paystack and LightSpeed VT?
Emit new event every time there is a new user in the system
Creates a new user in the LightSpeed VT system. See the documentation
Initializes a new transaction on Paystack. See the documentation
List transactions carried out on your integration. See the documentation
Paystack is a payment gateway that allows businesses to accept payments online from customers. With the Paystack API, you can automate invoicing, verify transactions, manage customers, and more. On Pipedream, you can integrate Paystack with a multitude of other apps to build powerful workflows, such as syncing payment data with accounting software, triggering events based on transaction status, or automating customer outreach.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
paystack: {
type: "app",
app: "paystack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.paystack.co/customer`,
headers: {
Authorization: `Bearer ${this.paystack.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
LightSpeed VT is a learning management system (LMS) that provides a platform for delivering interactive training and e-learning experiences. Through the LightSpeed VT API, you can automate access to course catalogs, manage users, track progress and performance, and integrate this data with other systems. On Pipedream, you can leverage this API to create workflows that respond to events in real-time, synchronize training data with other platforms, and enhance the user learning experience with personalized automations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lightspeed_vt: {
type: "app",
app: "lightspeed_vt",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://webservices.lightspeedvt.net/REST/V1/users/`,
auth: {
username: `${this.lightspeed_vt.$auth.api_key}`,
password: `${this.lightspeed_vt.$auth.api_secret}`,
},
})
},
})