Stripe.Issuing.Transaction (stripity_stripe v2.17.2) View Source
Work with Stripe Issuing transaction objects.
You can:
- Retrieve a transaction
- Update a transaction
- List all transactions
Stripe API reference: https://stripe.com/docs/api/issuing/transactions
Link to this section Summary
Link to this section Types
Specs
t() :: %Stripe.Issuing.Transaction{ amount: integer(), authorization: Stripe.id() | Stripe.Issuing.Authorization.t(), balance_transaction: String.t(), card: Stripe.id() | Stripe.Issuing.Card.t(), cardholder: Stripe.id() | Stripe.Issuing.Cardholder.t(), created: Stripe.timestamp(), currency: String.t() | nil, id: Stripe.id(), livemode: boolean(), merchant_amount: integer(), merchant_currency: String.t(), merchant_data: Stripe.Issuing.Types.merchant_data(), metadata: Stripe.Types.metadata(), object: String.t(), type: String.t() }
Link to this section Functions
Specs
list(params, Stripe.options()) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.Error.t()} when params: %{ optional(:card) => Stripe.Issuing.Card.t() | Stripe.id(), optional(:cardholder) => Stripe.Issuing.Cardholder.t() | Stripe.id(), optional(:created) => String.t() | Stripe.date_query(), optional(:ending_before) => t() | Stripe.id(), optional(:limit) => 1..100, optional(:starting_after) => t() | Stripe.id() } | %{}
List all transactions.
Specs
retrieve(Stripe.id() | t(), Stripe.options()) :: {:ok, t()} | {:error, Stripe.Error.t()}
Retrieve a transaction.
Specs
update(Stripe.id() | t(), params, Stripe.options()) :: {:ok, t()} | {:error, Stripe.Error.t()} when params: %{optional(:metadata) => Stripe.Types.metadata()} | %{}
Update a transaction.