Payment Platform
Cancel a payment intent. Once canceled, no additional charges will be made by the payment intent and any operations on the payment intent will fail with an error. For payment intents with status=requires_capture
, the remaining amount_capturable will automatically be refunded. See the docs for more information
Send a simple or structured message (using embeds) to a Discord channel
Cancel or reverse a payout. A payout can be canceled only if it has not yet been paid out. A payout can be reversed only if it has already been paid out. Funds will be refunded to your available balance. See the docs for more information
With Stripe, you can easily accept payments online. Stripe provides a simple
and powerful way to accept payments over the internet. With Stripe, you can
easily
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
stripe: {
type: "app",
app: "stripe",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.stripe.com/v1/accounts`,
auth: {
username: `${this.stripe.$auth.api_key}`,
password: ``,
},
})
},
})
With Discord's Webhook API, you can create applications that send messages to
Discord channels automatically. For example, you could create a bot that sends
a message to a channel every time a new blog post is published, or a message to
a channel when someone joins your Discord server.
Here are some ideas for what you could build using the Discord Webhook API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord_webhook: {
type: "app",
app: "discord_webhook",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord_webhook.$auth.oauth_access_token}`,
},
})
},
})