Stripe.Resources.Billing.CreditBalanceTransaction (tiger_stripe v0.4.0)

Copy Markdown View Source

CreditBalanceTransaction

A credit balance transaction is a resource representing a transaction (either a credit or a debit) against an existing credit grant.

Summary

Types

t()

@type t() :: %Stripe.Resources.Billing.CreditBalanceTransaction{
  created: term(),
  credit: term(),
  credit_grant: term(),
  debit: term(),
  effective_at: term(),
  id: term(),
  livemode: term(),
  object: term(),
  test_clock: term(),
  type: term()
}
  • created - Time at which the object was created. Measured in seconds since the Unix epoch. Format: Unix timestamp.
  • credit - Credit details for this credit balance transaction. Only present if type is credit. Nullable. Expandable.
  • credit_grant - The credit grant associated with this credit balance transaction. Expandable.
  • debit - Debit details for this credit balance transaction. Only present if type is debit. Nullable. Expandable.
  • effective_at - The effective time of this credit balance transaction. Format: Unix timestamp.
  • id - Unique identifier for the object. Max length: 5000.
  • livemode - If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
  • object - String representing the object's type. Objects of the same type share the same value. Possible values: billing.credit_balance_transaction.
  • test_clock - ID of the test clock this credit balance transaction belongs to. Nullable. Expandable.
  • type - The type of credit balance transaction (credit or debit). Possible values: credit, debit. Nullable.

Functions

expandable_fields()

object_name()