# `Stripe.Params.PaymentIntentCreateParams.AutomaticPaymentMethods`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/params/payment_intent_create_params.ex#L175)

Nested parameters.

# `t`

```elixir
@type t() :: %Stripe.Params.PaymentIntentCreateParams.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` - Whether this feature is enabled.

---

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