with Flutterwave and BILL?
The Flutterwave API empowers developers to automate payment processes and integrate various payment services within applications. With this API, you can initiate and receive payments, manage transactions, and access customer data securely. Utilizing Pipedream, you can create workflows that trigger on specific events, process data, and integrate with an array of services without managing servers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
flutterwave: {
type: "app",
app: "flutterwave",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.flutterwave.com/v3/beneficiaries`,
headers: {
Authorization: `Bearer ${this.flutterwave.$auth.secret_api_key}`,
},
})
},
})
The BILL API enables automation of accounts payable and receivable processes. With this API on Pipedream, you can create workflows that streamline financial operations, sync invoices, and manage transactions. Pipedream's serverless platform allows you to connect BILL with various other apps to trigger actions based on events, ensuring seamless financial data handling.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bill: {
type: "app",
app: "bill",
}
},
async run({steps, $}) {
const data = {
"devKey": `${this.bill.$auth.developer_key}`,
"sessionId": `${this.bill.$auth.sessionId}`,
}
return await axios($, {
method: "post",
url: `https://${this.bill.$auth.environment}.bill.com/api/v2/GetSessionInfo.json`,
data,
})
},
})