with Stripe and Proofly?
Cancel a pending payout or reverse a paid payout. See the documentation here and here
Switch a campaign's status between active and inactive. See the documentation
Capture the funds of an existing uncaptured payment intent. See the documentation
The Stripe API is a powerful tool for managing online payments, subscriptions, and invoices. With Pipedream, you can leverage this API to automate payment processing, monitor transactions, and sync billing data with other services. Pipedream's no-code platform allows for quick integration and creation of serverless workflows that react to Stripe events in real-time. For instance, you might automatically update customer records, send personalized emails after successful payments, or escalate failed transactions to your support team.
import stripe from 'stripe'
export default defineComponent({
props: {
stripe: {
type: "app",
app: "stripe",
}
},
async run({steps, $}) {
const client = stripe(this.stripe.$auth.api_key)
return await client.accounts.list({ limit: 1 })
},
})
The Proofly API enables you to create, manage, and deploy social proof notifications on your website to boost conversions. It provides various endpoints that allow you to automate the process of updating notifications based on specific triggers or events. Using Pipedream, you can create workflows that integrate with the Proofly API to dynamically control these notifications, respond to analytics, and sync with your marketing or sales tools to optimize user engagement.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
proofly: {
type: "app",
app: "proofly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://proofly.io/api/user`,
headers: {
"X-Api-Key": `${this.proofly.$auth.api_key}`,
},
})
},
})