PlatformFee
Summary
Types
@type fee_source() :: %{ optional(:charge) => String.t() | nil, optional(:payout) => String.t() | nil, optional(:type) => String.t() | nil, optional(String.t()) => term() }
charge- Charge ID that created this application fee. Max length: 5000.payout- Payout ID that created this application fee. Max length: 5000.type- Type of object that created the application fee. Possible values:charge,payout.
@type refunds() :: %{ optional(:data) => [Stripe.Resources.FeeRefund.t()] | nil, optional(:has_more) => boolean() | nil, optional(:object) => String.t() | nil, optional(:url) => String.t() | nil, optional(String.t()) => term() }
data- Details about each object.has_more- True if this list has another page of items after this one that can be fetched.object- String representing the object's type. Objects of the same type share the same value. Always has the valuelist. Possible values:list.url- The URL where this list can be accessed. Max length: 5000.
@type t() :: %Stripe.Resources.ApplicationFee{ account: String.t() | Stripe.Resources.Account.t(), amount: integer(), amount_refunded: integer(), application: String.t() | Stripe.Resources.Application.t(), balance_transaction: String.t() | Stripe.Resources.BalanceTransaction.t(), charge: String.t() | Stripe.Resources.Charge.t(), created: integer(), currency: String.t(), fee_source: fee_source(), id: String.t(), livemode: boolean(), object: String.t(), originating_transaction: String.t() | Stripe.Resources.Charge.t(), refunded: boolean(), refunds: refunds() }
account- ID of the Stripe account this fee was taken from. Expandable.amount- Amount earned, in cents (or local equivalent).amount_refunded- Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the fee if a partial refund was issued)application- ID of the Connect application that earned the fee. Expandable.balance_transaction- Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds). Nullable. Expandable.charge- ID of the charge that the application fee was taken from. Expandable.created- Time at which the object was created. Measured in seconds since the Unix epoch. Format: Unix timestamp.currency- Three-letter ISO currency code, in lowercase. Must be a supported currency. Format: ISO 4217 currency code.fee_source- Polymorphic source of the application fee. Includes the ID of the object the application fee was created from. Nullable. Expandable.id- Unique identifier for the object. Max length: 5000.livemode- Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.object- String representing the object's type. Objects of the same type share the same value. Possible values:application_fee.originating_transaction- ID of the corresponding charge on the platform account, if this fee was the result of a charge using thedestinationparameter. Nullable. Expandable.refunded- Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.refunds- A list of refunds that have been applied to the fee. Expandable.