Application Fees
When you collect a transaction fee on top of a charge made for your user (using Connect), an Application Fee object is created in your account. You can list, retrieve, and refund application fees.
Related guide: Collecting application fees
Was this section helpful? Yes No
Retrieve an application fee
GET / v1 / application_fees /:id
List all application fees
GET / v1 / application_fees
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
