Automate Stripe with TypeScript

Manage Stripe customers, catalog, Checkout, payment methods, payments, billing, disputes, and payouts. Trigger automations from the complete payment lifecycle.

inspect-stripe-checkout.automation.ts
import { automation } from "automate.ax"
import { stripe } from "automate.ax/stripe"

export default automation("Inspect completed Stripe Checkout", () => {
  const completed = stripe.onCheckoutSessionCompleted()

  stripe.getCheckoutSession({
    checkoutSessionId: completed.data.object.id,
    expand: ["line_items"],
  })
})

What you can do

Actions

  • Manage customers, products, prices, and Payment Links
  • Create Checkout Sessions and billing portal sessions
  • Manage PaymentIntents and refunds
  • Manage subscriptions, invoices, and account balances

Triggers

  • Checkout Session and PaymentIntent outcomes
  • Customer and subscription lifecycle
  • Invoice payment and collection lifecycle
  • Refund, dispute, payout, or broad Stripe events

Start automating with Stripe today

Start building