Mail letters and postcards online. We’ll print, stamp and send U.S. mail for you, from 95¢. Simple, pay-as-you-go pricing.
Sends a physical letter via USPS first class mail. See the documentation
Dispatches a glossy, color 4x6 postcard via the US Postal Service. See the documentation
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
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
Capture the funds of an existing uncaptured payment intent. See the docs for more information
The DocuPost API enables automated mail handling, offering services like sending letters, postcards, and checks via a programmatic interface. Within Pipedream, you can harness this API to create dynamic, serverless workflows that trigger postal mail actions based on various events from a plethora of supported apps. Think of automating thank-you notes, payment disbursements, or direct mail marketing campaigns, all reacting in real-time to user behavior, payment events, or custom triggers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docupost: {
type: "app",
app: "docupost",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://app.docupost.com/api/1.1/wf/getbalance`,
params: {
api_token: `${this.docupost.$auth.api_token}`,
},
})
},
})
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 })
},
})