with Paystack and Ticket Tailor?
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`,
},
})
},
})
The Ticket Tailor API lets you tap into your event management toolkit, giving you the power to automate tasks like syncing attendee lists, sending custom emails after ticket purchase, and monitoring real-time event metrics. Leveraging Pipedream's capabilities, you can build workflows that respond to events in Ticket Tailor, such as new bookings, and connect these triggers to countless other apps to streamline your event management process and enhance attendee experience.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ticket_tailor: {
type: "app",
app: "ticket_tailor",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tickettailor.com/v1/events`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `${this.ticket_tailor.$auth.api_key}`,
password: ``,
},
})
},
})