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

:amount :: :integer

The pending_request.amount at the time of the request, presented in your card's currency and in the smallest currency unit. Stripe held this amount from your account to fund the authorization if the request was approved.

:amount_details :: ExOAPI.Stripe.Schemas.IssuingAuthorizationAmountDetails

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

:approved :: :boolean

Whether this request was approved.

:created :: :integer

Time at which the object was created. Measured in seconds since the Unix epoch.

:currency :: :string

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

:merchant_amount :: :integer

The pending_request.merchant_amount at the time of the request, presented in the merchant_currency and in the smallest currency unit.

:merchant_currency :: :string

The currency that was collected by the merchant and presented to the cardholder for the authorization. Three-letter ISO currency code, in lowercase. Must be a supported currency.

:reason :: :string

The reason for the approval or decline.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.IssuingAuthorizationRequest{
  amount: integer() | nil,
  amount_details: ExOAPI.EctoTypes.AnyOf.t() | nil,
  approved: boolean() | nil,
  created: integer() | nil,
  currency: String.t() | nil,
  merchant_amount: integer() | nil,
  merchant_currency: String.t() | nil,
  reason:
    (:webhook_timeout
     | :webhook_declined
     | :webhook_approved
     | :verification_failed
     | :suspected_fraud
     | :spending_controls
     | :not_allowed
     | :insufficient_funds
     | :cardholder_verification_required
     | :cardholder_inactive
     | :card_inactive
     | :card_active
     | :account_disabled)
    | nil
}

Link to this section Functions

Link to this function

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

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