with Skyvern and ifthenpay?
Emit new event when a workflow is created or updated in Skyvern.
Emit new event when a payment is successfully completed through Ifthenpay. See the documentation
Create a new task and run it instantly in Skyvern. Useful for one-off automations. See the documentation
Generates a Multibanco or MB WAY payment reference with a specified amount, entity code, and deadline. See the documentation
Retrieve details of runs of a specific Skyvern workflow. Useful for checking the status and result of a run. See the documentation
Issue a full or partial refund for a previously completed payment via Ifthenpay. See the documentation
Trigger a predefined workflow in Skyvern, allowing the execution of complex routines from Pipedream. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
skyvern: {
type: "app",
app: "skyvern",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.skyvern.com/api/v1/organizations`,
headers: {
"x-api-key": `${this.skyvern.$auth.api_key}`,
},
})
},
})
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,
})
},
})