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

# Search PaymentIntents

> Search Stripe PaymentIntents with Stripe Search Query Language.

Use `stripe.searchPaymentIntents` to search Stripe PaymentIntents with Stripe Search Query Language.

## Example

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

export default automation("Search PaymentIntents", () => {
  onDashboardRun({ title: "Search PaymentIntents" })

  stripe.searchPaymentIntents({ query: "metadata['orderId']:'order_123'" })
})
```

## Inputs

`query` uses Stripe Search Query Language. Metadata keys remain exactly as supplied. Search availability and freshness follow Stripe's search service.

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 search result containing matching PaymentIntents. Output fields use camel case.
