> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Create payout

> Create a manual payout from a Stripe balance.

Use `stripe.createPayout` to send available Stripe funds to an eligible external account.

```ts automations/stripe-create-payout.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { stripe } from "automate.ax/stripe"

export default automation("Create payout", () => {
  onDashboardRun({ title: "Create payout" })
  stripe.createPayout({ amount: 5000, currency: "usd", method: "standard" })
})
```

## Inputs

`amount` is a positive integer in the currency's smallest unit, and `currency` is a lowercase three-letter code. You can choose destination, method, source type, and metadata. `idempotencyKey` is optional.

## Output

Returns the created payout. Creation does not mean the bank has received the funds; inspect `status` or use payout triggers.
