View Source ExOAPI.Stripe.Schemas.FeeRefund (exoapi_stripe v0.1.4)

description: Application Fee Refund objects allow you to refund an application fee that has previously been created but not yet refunded. Funds will be refunded to the Stripe account from which the fee was originally collected.

Related guide: Refunding Application Fees.

:amount :: :integer

Amount, in %s.

:balance_transaction :: ExOAPI.Stripe.Schemas.BalanceTransaction | :string

Balance transaction that describes the impact on your account balance.

: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.

:fee :: ExOAPI.Stripe.Schemas.ApplicationFee | :string

ID of the application fee that was refunded.

:id :: :string

Unique identifier for the object.

: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.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.FeeRefund{
  amount: integer() | nil,
  balance_transaction: ExOAPI.EctoTypes.AnyOf.t() | nil,
  created: integer() | nil,
  currency: String.t() | nil,
  fee: ExOAPI.EctoTypes.AnyOf.t() | nil,
  id: String.t() | nil,
  metadata: map() | nil,
  object: :fee_refund | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()