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/payment_intent_cancel_params.ex
# File generated from our OpenAPI spec
defmodule Stripe.Params.PaymentIntentCancelParams do
@moduledoc "Parameters for payment intent cancel."
@typedoc """
* `cancellation_reason` - Reason for canceling this PaymentIntent. Possible values are: `duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned` Possible values: `abandoned`, `duplicate`, `fraudulent`, `requested_by_customer`. Max length: 5000.
* `expand` - Specifies which fields in the response should be expanded.
"""
@type t :: %__MODULE__{
cancellation_reason: String.t() | nil,
expand: [String.t()] | nil
}
defstruct [:cancellation_reason, :expand]
end