The Application Fee object
Attributes
- id string Unique identifier for the object.
- account string Expandable ID of the Stripe account this fee was taken from.
- amount integer Amount earned, in the smallest currency unit.
- amount _ refunded integer Amount in the smallest currency unit refunded (can be less than the amount attribute on the fee if a partial refund was issued)
- charge string Expandable ID of the charge that the application fee was taken from.
- currency enum Three-letter ISO currency code, in lowercase. Must be a supported currency.
- refunded boolean Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.
More attributes
- object string, value is "application_fee"
- application string Expandable
- balance _ transaction nullable string Expandable
- created timestamp
- fee _ source nullable object
- livemode boolean
- originating _ transaction nullable string Expandable
- refunds object
The Application Fee object
Retrieve an application fee
GET / v1 / application_fees /:id
Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee.
Parameters
No parameters.
Returns
Returns an application fee object if a valid identifier was provided, and raises an error otherwise.
Response
List all application fees
GET / v1 / application_fees
Returns a list of application fees you’ve previously collected. The application fees are returned in sorted order, with the most recent fees appearing first.
Parameters
- charge string Only return application fees for the charge specified by this charge ID.
More parameters
- created object
- ending _ before string
- limit integer
- starting _ after string
Returns
A dictionary with a data property that contains an array of up to limit application fees, starting after application fee starting_after. Each entry in the array is a separate application fee object. If no more fees are available, the resulting array will be empty.
Response
