with Skyvern and Adyen?
Emit new event when a workflow is created or updated in Skyvern.
Create a new task and run it instantly in Skyvern. Useful for one-off automations. See the documentation
Cancels a payment that has not yet been captured. 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
Captures an authorized payment. This is typically used for delayed capture scenarios, such as when you need to verify the order before capturing the funds.
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 adyen from "@adyen/api-library";
export default defineComponent({
props: {
adyen: {
type: "app",
app: "adyen",
}
},
async run({steps, $}) {
const client = new adyen.Client({
apiKey: this.adyen.$auth.api_key,
environment: this.adyen.$auth.environment
});
const managementApi = new adyen.ManagementAPI(client);
return managementApi.MyAPICredentialApi.getApiCredentialDetails();
},
});