Stripe.ApplicationFee (stripity_stripe v2.17.3) View Source
Work with Stripe Connect application fees.
Stripe API reference: https://stripe.com/docs/api#application_fees
Link to this section Summary
Link to this section Types
Specs
t() :: %Stripe.ApplicationFee{ account: Stripe.id() | Stripe.Account.t(), amount: integer(), amount_refunded: integer(), application: Stripe.id(), balance_transaction: Stripe.id() | Stripe.BalanceTransaction.t(), charge: Stripe.id() | Stripe.Charge.t(), created: Stripe.timestamp(), currency: String.t(), id: Stripe.id(), livemode: boolean(), object: String.t(), originating_transaction: Stripe.id() | Stripe.Charge.t(), refunded: boolean(), refunds: Stripe.List.t(Stripe.FeeRefund.t()) }
Link to this section Functions
Specs
list(params, Stripe.options()) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.Error.t()} when params: %{ optional(:charge) => Stripe.id(), optional(:created) => Stripe.date_query(), optional(:ending_before) => t() | Stripe.id(), optional(:limit) => 1..100, optional(:starting_after) => t() | Stripe.id() } | %{}
List all application fees
Specs
retrieve(Stripe.id(), Stripe.options()) :: {:ok, t()} | {:error, Stripe.Error.t()}
Retrieves the details of the application fees