with ifthenpay and Aero Workflow?
Emit new event when a payment is successfully completed through Ifthenpay. See the documentation
Emit new events when a new company is created. See the docs
Generates a Multibanco or MB WAY payment reference with a specified amount, entity code, and deadline. See the documentation
Issue a full or partial refund for a previously completed payment via Ifthenpay. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ifthenpay: {
type: "app",
app: "ifthenpay",
}
},
async run({steps, $}) {
const data = {
"boKey": `${this.ifthenpay.$auth.backoffice_key}`,
"dateStart": `21-10-2024 00:00:00`,
"dateEnd": `30-04-2025 00:00:00`,
}
return await axios($, {
method: "post",
url: `https://api.ifthenpay.com/v2/payments/read`,
headers: {
"accept": `application/json`,
},
data,
})
},
})
The Aero Workflow API enables the automation of task management and workflow optimization for professional service firms. Using Pipedream, you can harness this API to create powerful automations that streamline the tasks and procedures within your business. This can significantly reduce manual input, error rates, and increase overall efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aero_workflow: {
type: "app",
app: "aero_workflow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.aeroworkflow.com/api/${this.aero_workflow.$auth.account_number}/me`,
headers: {
"apikey": `${this.aero_workflow.$auth.api_key}`,
},
})
},
})