with Payhere and LeadDyno?
Emit new event when a new affiliate is created in LeadDyno. See the documentation
Emit new event when a new lead is created in LeadDyno. See the documentation
Emit new event when a new purchase is created in LeadDyno. See the documentation
Retrieves information about a lead from LeadDyno. See the documentation
Payhere, powered by Xendit, offers a powerful API that allows you to craft seamless payment experiences within your apps and websites. By leveraging this API on Pipedream, you can automate payment processing, synchronize transaction data with accounting systems, or trigger communication based on payment events. Pipedream's serverless platform enables the orchestration of Payhere with an array of other services to streamline financial operations, enhance customer engagement, and maintain robust financial records.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
payhere: {
type: "app",
app: "payhere",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.payhere.$auth.environment}.payhere.co/api/v1/user`,
headers: {
Authorization: `Bearer ${this.payhere.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
leaddyno: {
type: "app",
app: "leaddyno",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.leaddyno.com/v1/visitors`,
params: {
key: `${this.leaddyno.$auth.api_key}`,
},
})
},
})