View Source ExOAPI.Stripe.Schemas.Issuing_transaction (exoapi_stripe v0.1.4)
description: Any use of an issued card that results in funds entering or leaving
your Stripe account, such as a completed purchase or refund, is represented by an Issuing
Transaction
object.
Related guide: Issued Card Transactions.
:amount :: :integer
The transaction amount, which will be reflected in your balance. This amount is in your currency and in the smallest currency unit.
:amount_details :: ExOAPI.Stripe.Schemas.IssuingTransactionAmountDetails
Detailed breakdown of amount components. These amounts are denominated in currency
and in the smallest currency unit.
:authorization :: ExOAPI.Stripe.Schemas.Issuing_authorization | :string
The Authorization
object that led to this transaction.
:balance_transaction :: ExOAPI.Stripe.Schemas.BalanceTransaction | :string
ID of the balance transaction associated with this transaction.
:card :: ExOAPI.Stripe.Schemas.Issuing_card | :string
The card used to make this transaction.
:cardholder :: ExOAPI.Stripe.Schemas.Issuing_cardholder | :string
The cardholder to whom this transaction belongs.
: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.
:dispute :: ExOAPI.Stripe.Schemas.Issuing_dispute | :string
If you've disputed the transaction, the ID of the dispute.
:id :: :string
Unique identifier for the object.
:livemode :: :boolean
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
:merchant_amount :: :integer
The amount that the merchant will receive, denominated in merchant_currency
and in the smallest currency unit. It will be different from amount
if the merchant is taking payment in a different currency.
:merchant_currency :: :string
The currency with which the merchant is taking payment.
:merchant_data :: ExOAPI.Stripe.Schemas.IssuingAuthorizationMerchantData
:metadata :: :map
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
:object :: :string
String representing the object's type. Objects of the same type share the same value.
:purchase_details :: ExOAPI.Stripe.Schemas.IssuingTransactionPurchaseDetails
Additional purchase information that is optionally provided by the merchant.
:type :: :string
The nature of the transaction.
:wallet :: :string
The digital wallet used for this transaction. One of apple_pay
, google_pay
, or samsung_pay
.
Link to this section Summary
Link to this section Types
@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.Issuing_transaction{ amount: integer() | nil, amount_details: ExOAPI.EctoTypes.AnyOf.t() | nil, authorization: ExOAPI.EctoTypes.AnyOf.t() | nil, balance_transaction: ExOAPI.EctoTypes.AnyOf.t() | nil, card: ExOAPI.EctoTypes.AnyOf.t() | nil, cardholder: ExOAPI.EctoTypes.AnyOf.t() | nil, created: integer() | nil, currency: String.t() | nil, dispute: ExOAPI.EctoTypes.AnyOf.t() | nil, id: String.t() | nil, livemode: boolean() | nil, merchant_amount: integer() | nil, merchant_currency: String.t() | nil, merchant_data: ExOAPI.Stripe.Schemas.IssuingAuthorizationMerchantData.t() | nil, metadata: map() | nil, object: :"issuing.transaction" | nil, purchase_details: ExOAPI.EctoTypes.AnyOf.t() | nil, type: (:refund | :capture) | nil, wallet: (:samsung_pay | :google_pay | :apple_pay) | nil }
Link to this section Functions
@spec changeset(t(), params()) :: Ecto.Changeset.t()