Sample - Stripe API
GET/v1/application_fees/{id}/refunds

List application fee refunds

Lists refunds belonging to a specific application fee. Use limit, starting_after, and ending_before to page through refunds beyond the most recent entries included on the application fee object.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

5 parameters
idstringrequired
The unique identifier of the application fee whose refunds to list. Maximum 5000 characters.
ending_beforestringoptional
An object ID cursor that identifies the position before the page to retrieve.
expandarray<string>optional
Specifies response fields to expand; each value can be up to 5000 characters.
limitintegeroptional
The number of refunds to return, from 1 to 100. Defaults to 10 when omitted.
starting_afterstringoptional
An object ID cursor that identifies the position after the page to retrieve.

2 status codes
200Returns a list of application fee refund objects with pagination metadata, including `data`, `has_more`, `object`, and `url`.
dataarray<ApplicationFeeRefund>required
Details about each object.
has_morebooleanrequired
True if this list has another page of items after this one that can be fetched.
objectstringrequired
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Allowed:list
urlstringrequired
The URL where this list can be accessed.
defaultError response.
errorobjectrequired

Error handling

id must identify the application fee and cannot exceed 5000 characters. limit must be between 1 and 100 and defaults to 10 when omitted; cursor values in starting_after and ending_before must identify objects in the refund list.