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

> List Stripe PaymentMethods for a customer or account.

Use `stripe.listPaymentMethods` to find reusable methods attached to a customer.

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

export default automation("List PaymentMethods", () => {
  onDashboardRun({ title: "List PaymentMethods" })
  stripe.listPaymentMethods({ customer: "cus_123", type: "card", limit: 25 })
})
```

## Inputs

Filter by `customer` and payment-method `type`. `limit` accepts 1–100; use Stripe cursor fields for another page.

## Output

Returns Stripe's paginated PaymentMethod list.
