Sample - Stripe API
GET/v1/reviews

List all open reviews

Lists open reviews sorted by creation date, with the most recently created review first. Use created to filter by creation time, limit to control page size, and starting_after or ending_before to navigate the results.

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

5 parameters
createdobjectoptional
Filters reviews by creation time using an integer Unix timestamp or a range with `gt`, `gte`, `lt`, or `lte`.
ending_beforestringoptional
Object ID cursor for retrieving the previous page of reviews; the value can be at most 5000 characters.
expandarray<string>optional
Fields to expand in each review response; each value can be at most 5000 characters.
limitintegeroptional
Number of reviews to return, from 1 to 100. Defaults to 10 when omitted.
starting_afterstringoptional
Object ID cursor for retrieving the next page of reviews; the value can be at most 5000 characters.

2 status codes
200Returns a list object containing open review resources in `data`, a `has_more` pagination indicator, the `list` object type, and the collection `url`.
dataarray<Review>required
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

limit must be between 1 and 100 and defaults to 10 when omitted. created must be an integer Unix timestamp or a range object using gt, gte, lt, or lte; cursor values in starting_after and ending_before must be no longer than 5000 characters.