Sample - Stripe API
GET/v1/quotes

List all quotes

Lists quotes available to the authenticated user. Use customer, customer_account, and status to filter the results, and use cursor parameters to navigate between pages. Use page and per_page to paginate the results.

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

8 parameters
customerstringoptional
The ID of the customer whose quotes to retrieve.
customer_accountstringoptional
The ID of the account representing the customer whose quotes to retrieve.
ending_beforestringoptional
A cursor identifying an object before which to return results. Must not exceed 5000 characters.
expandarray<string>optional
Fields to expand in each response object. Each value must not exceed 5000 characters.
limitintegeroptional
The maximum number of quotes to return.
starting_afterstringoptional
A cursor identifying an object after which to return results. Must not exceed 5000 characters.
statusstringoptional
The quote status to filter by: accepted, canceled, draft, or open.
Allowed:acceptedcanceleddraftopen
test_clockstringoptional
The ID of the test clock associated with the quotes to retrieve. Must not exceed 5000 characters.

2 status codes
200Returns a list object containing quote objects in `data`, a `has_more` pagination flag, the `list` object type, and the list `url`.
dataarray<Quote>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

status must be one of: accepted, canceled, draft, or open. customer, customer_account, ending_before, starting_after, and test_clock must not exceed 5000 characters when provided.