with Tally and Adyen?
Cancels a payment that has not yet been captured. 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.
The Tally API offers a suite of automation capabilities for Tally, a form-building platform that allows users to create forms without needing to code. Leveraging this API within Pipedream can supercharge your data collection and processing. With Pipedream, you can react to form submissions in real-time, sync data to other services, and customize your workflows to suit various use cases including data analysis, lead capture, and feedback management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tally: {
type: "app",
app: "tally",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tally.so/me`,
headers: {
Authorization: `Bearer ${this.tally.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})
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();
},
});