Sample - Stripe API
GET/v1/treasury/credit_reversals

List credit reversals

Lists credit reversals associated with a financial account. Use received_credit and status to filter the results, and use cursor parameters to paginate through the account's credit reversals.

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

7 parameters
ending_beforestringoptional
Cursor object ID used to fetch the page before the specified position.
expandarray<string>optional
Fields to expand in the response.
financial_accountstringrequired
The unique identifier of the financial account associated with the credit reversals.
limitintegeroptional
Maximum number of credit reversals to return, from 1 to 100. Defaults to 10 when omitted.
received_creditstringoptional
Filter results to reversals for the specified received credit ID.
starting_afterstringoptional
Cursor object ID used to fetch the page after the specified position.
statusstringoptional
Filter by credit reversal status: `canceled`, `posted`, or `processing`.
Allowed:canceledpostedprocessing

2 status codes
200Returns a paginated list object containing credit reversal objects in `data`, a `has_more` indicator, the list object type, and the collection URL.
dataarray<CreditReversal>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

financial_account must identify the financial account whose credit reversals you want to retrieve. status must be one of canceled, posted, or processing, and limit must be between 1 and 100 when provided.