View Source ExOAPI.Stripe.Schemas.IssuingAuthorizationPendingRequest (exoapi_stripe v0.1.4)

:amount :: :integer

The additional amount Stripe will hold if the authorization is approved, in the card's currency and in the smallest currency unit.

:amount_details :: ExOAPI.Stripe.Schemas.IssuingAuthorizationAmountDetails

Detailed breakdown of amount components. These amounts are denominated in currency and in the smallest currency unit.

:currency :: :string

Three-letter ISO currency code, in lowercase. Must be a supported currency.

:is_amount_controllable :: :boolean

If set true, you may provide amount to control how much to hold for the authorization.

:merchant_amount :: :integer

The amount the merchant is requesting to be authorized in the merchant_currency. The amount is in the smallest currency unit.

:merchant_currency :: :string

The local currency the merchant is requesting to authorize.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.IssuingAuthorizationPendingRequest{
  amount: integer() | nil,
  amount_details: ExOAPI.EctoTypes.AnyOf.t() | nil,
  currency: String.t() | nil,
  is_amount_controllable: boolean() | nil,
  merchant_amount: integer() | nil,
  merchant_currency: String.t() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()