> ## 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.

# List refunds

> List Stripe refunds with charge, PaymentIntent, and creation filters.

Use `stripe.listRefunds` to list Stripe refunds with charge, PaymentIntent, and creation filters.

## Example

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

export default automation("List refunds", () => {
  onDashboardRun({ title: "List refunds" })

  stripe.listRefunds({ paymentIntent: "pi_123", limit: 25 })
})
```

## Inputs

Filter by charge, PaymentIntent, or creation time and use Stripe cursor fields for pagination.

Inputs use camel case and accept compatible signals. Automate.ax converts provider fields to Stripe's wire format. Metadata keys remain unchanged.

## Output

Returns a Stripe cursor-paginated list of refunds. Output fields use camel case.
