View Source Stripe.SourceTransaction (stripity_stripe v3.1.1)

Some payment methods have no required amount that a customer must send. Customers can be instructed to send any amount, and it can be made up of multiple transactions. As such, sources can have multiple associated transactions.

Link to this section Summary

Types

t()

The source_transaction type.

Link to this section Types

@type t() :: %Stripe.SourceTransaction{
  ach_credit_transfer: term(),
  amount: integer(),
  chf_credit_transfer: term(),
  created: integer(),
  currency: binary(),
  gbp_credit_transfer: term(),
  id: binary(),
  livemode: boolean(),
  object: binary(),
  paper_check: term(),
  sepa_credit_transfer: term(),
  source: binary(),
  status: binary(),
  type: binary()
}

The source_transaction type.

  • ach_credit_transfer
  • amount A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount your customer has pushed to the receiver.
  • chf_credit_transfer
  • created Time at which the object was created. Measured in seconds since the Unix epoch.
  • currency Three-letter ISO currency code, in lowercase. Must be a supported currency.
  • gbp_credit_transfer
  • id Unique identifier for the object.
  • livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode.
  • object String representing the object's type. Objects of the same type share the same value.
  • paper_check
  • sepa_credit_transfer
  • source The ID of the source this transaction is attached to.
  • status The status of the transaction, one of succeeded, pending, or failed.
  • type The type of source this transaction is attached to.