View Source Stripe.Issuing.Transaction (Striped v0.5.0) (generated)
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.
Link to this section Summary
Functions
Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
Retrieves an Issuing Transaction object.
Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Link to this section Types
@type t() :: %Stripe.Issuing.Transaction{ amount: integer(), amount_details: term() | nil, authorization: (binary() | Stripe.Issuing.Authorization.t()) | nil, balance_transaction: (binary() | Stripe.BalanceTransaction.t()) | nil, card: binary() | Stripe.Issuing.Card.t(), cardholder: (binary() | Stripe.Issuing.Cardholder.t()) | nil, created: integer(), currency: binary(), dispute: (binary() | Stripe.Issuing.Dispute.t()) | nil, id: binary(), livemode: boolean(), merchant_amount: integer(), merchant_currency: binary(), merchant_data: term(), metadata: term(), object: binary(), purchase_details: term() | nil, treasury: term() | nil, type: binary(), wallet: binary() | nil }
The issuing.transaction type.
amountThe transaction amount, which will be reflected in your balance. This amount is in your currency and in the smallest currency unit.amount_detailsDetailed breakdown of amount components. These amounts are denominated incurrencyand in the smallest currency unit.authorizationTheAuthorizationobject that led to this transaction.balance_transactionID of the balance transaction associated with this transaction.cardThe card used to make this transaction.cardholderThe cardholder to whom this transaction belongs.createdTime at which the object was created. Measured in seconds since the Unix epoch.currencyThree-letter ISO currency code, in lowercase. Must be a supported currency.disputeIf you've disputed the transaction, the ID of the dispute.idUnique identifier for the object.livemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.merchant_amountThe amount that the merchant will receive, denominated inmerchant_currencyand in the smallest currency unit. It will be different fromamountif the merchant is taking payment in a different currency.merchant_currencyThe currency with which the merchant is taking payment.merchant_datametadataSet 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.objectString representing the object's type. Objects of the same type share the same value.purchase_detailsAdditional purchase information that is optionally provided by the merchant.treasuryTreasury details related to this transaction if it was created on a [FinancialAccount](/docs/api/treasury/financial_accountstypeThe nature of the transaction.walletThe digital wallet used for this transaction. One ofapple_pay,google_pay, orsamsung_pay.
Link to this section Functions
@spec list( client :: Stripe.t(), params :: %{ optional(:card) => binary(), optional(:cardholder) => binary(), optional(:created) => created() | integer(), optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:starting_after) => binary(), optional(:type) => :capture | :refund }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
Details
- Method:
get - Path:
/v1/issuing/transactions
@spec retrieve( client :: Stripe.t(), transaction :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Retrieves an Issuing Transaction object.
Details
- Method:
get - Path:
/v1/issuing/transactions/{transaction}
@spec update( client :: Stripe.t(), transaction :: binary(), params :: %{ optional(:expand) => [binary()], optional(:metadata) => %{optional(binary()) => binary()} | binary() }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Details
- Method:
post - Path:
/v1/issuing/transactions/{transaction}