Packages
Complete Stripe SDK for Elixir with parity to the official Ruby SDK. V1+V2 coverage (193 services, 320 resource structs, 525 documented params). Per-event modules, Finch HTTP/2, RustyJSON, automatic retries, OAuth, webhooks, telemetry, per-client config, streaming pagination.
Current section
Files
Jump to
Current section
Files
lib/stripe/params/terminal/reader_process_payment_intent_params.ex
# File generated from our OpenAPI spec
defmodule Stripe.Params.Terminal.ReaderProcessPaymentIntentParams do
@moduledoc "Parameters for reader process payment intent."
@typedoc """
* `expand` - Specifies which fields in the response should be expanded.
* `payment_intent` - The ID of the PaymentIntent to process on the reader. Max length: 5000.
* `process_config` - Configuration overrides for this transaction, such as tipping and customer cancellation settings.
"""
@type t :: %__MODULE__{
expand: [String.t()] | nil,
payment_intent: String.t(),
process_config: map() | nil
}
defstruct [:expand, :payment_intent, :process_config]
defmodule ProcessConfig do
@moduledoc "Nested parameters."
@typedoc """
* `allow_redisplay` - This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. Possible values: `always`, `limited`, `unspecified`.
* `enable_customer_cancellation` - Enables cancel button on transaction screens.
* `return_url` - The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
* `skip_tipping` - Override showing a tipping selection screen on this transaction.
* `tipping` - Tipping configuration for this transaction.
"""
@type t :: %__MODULE__{
allow_redisplay: String.t() | nil,
enable_customer_cancellation: boolean() | nil,
return_url: String.t() | nil,
skip_tipping: boolean() | nil,
tipping: map() | nil
}
defstruct [
:allow_redisplay,
:enable_customer_cancellation,
:return_url,
:skip_tipping,
:tipping
]
end
end