# `Stripe.Resources.PaymentIntent.AutomaticPaymentMethods`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/payment_intent.ex#L314)

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.PaymentIntent.AutomaticPaymentMethods{
  allow_redirects: String.t() | nil,
  enabled: boolean() | nil
}
```

* `allow_redirects` - Controls whether this PaymentIntent will accept redirect-based payment methods.

Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment. Possible values: `always`, `never`.
* `enabled` - Automatically calculates compatible payment methods

---

*Consult [api-reference.md](api-reference.md) for complete listing*
