Search documentation of stripe_elixir

# StripeElixir.Params.TestHelpers.ConfirmationTokenCreateParams (stripe_elixir v0.1.0)

Copy Markdown View Source

Parameters for confirmation token create.

## Summary

### Types

t()

## Types

# t()

    @type t() :: %StripeElixir.Params.TestHelpers.ConfirmationTokenCreateParams{
      expand: [String.t()] | nil,
      payment_method: String.t() | nil,
      payment_method_data: map() | nil,
      payment_method_options: map() | nil,
      return_url: String.t() | nil,
      setup_future_usage: String.t() | nil,
      shipping: map() | nil
    }

- `expand` - Specifies which fields in the response should be expanded.
- `payment_method` - ID of an existing PaymentMethod. Max length: 5000.
- `payment_method_data` - If provided, this hash will be used to create a PaymentMethod.
- `payment_method_options` - Payment-method-specific configuration for this ConfirmationToken.
- `return_url` - Return URL used to confirm the Intent.
- `setup_future_usage` - Indicates that you intend to make future payments with this ConfirmationToken's payment method.

The presence of this property will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. Possible values: `off_session`, `on_session`.

- `shipping` - Shipping information for this ConfirmationToken.