List Refunds
Returns a list of all refunds you’ve previously created. The refunds can be filtered by status, payment_intent, or checkout_session.
Documentation Index
Fetch the complete documentation index at: https://docs.withflex.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use a Bearer token to access this API.
Query Parameters
Filter by refund status (e.g., pending, succeeded, failed).
pending, requires_action, succeeded, failed, canceled "pending"
Filter by payment intent ID.
"obj_01EXAMPLE00000000000000000"
Filter by checkout session ID.
"obj_01EXAMPLE00000000000000000"
A cursor for use in pagination. starting_after is a refund ID that defines your place in the list. For instance, if you make a list request and receive 20 refunds, ending with fre_xyz, your subsequent call can include starting_after=fre_xyz to fetch the next page.
"obj_01EXAMPLE00000000000000000"
A cursor for use in pagination. ending_before is a refund ID that defines your place in the list. For instance, if you make a list request and receive 20 refunds, starting with fre_abc, your subsequent call can include ending_before=fre_abc to fetch the previous page.
"obj_01EXAMPLE00000000000000000"
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
1 <= x <= 10010
Response
Success