with Xendit and Formatting?
Emit new event when an invoice is created. See the documentation
Leveraging the Xendit API on Pipedream, you can automate an array of financial tasks related to payments, disbursements, and accounting. Xendit simplifies handling transactions in Southeast Asia, offering services such as direct debit, credit card processing, and real-time payment tracking. By connecting it with Pipedream, you can create powerful workflows that trigger actions based on payment events, sync transaction data with other business systems, and streamline notification processes for financial operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
xendit: {
type: "app",
app: "xendit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.xendit.co/balance`,
auth: {
username: `${this.xendit.$auth.secret_key}`,
password: ``,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})