GET
stripe_checkout_sessions_list.py
from charter.packs import stripe
result = await stripe.checkout_sessions_list.ainvoke({})
Pages by cursor:
data[-1].id is sent back as starting_after.Query parameters
| Field | Type | Description |
|---|---|---|
limit | integer | A limit on the number of objects to be returned, between 1 and 100. Defaults to 10. ≥ 1; ≤ 100; defaults to 10 |
startingAfter | string | A cursor for use in pagination: an object ID that defines your place in the list. To get the next page, pass the id of the last object in the current page. |
endingBefore | string | A cursor for use in pagination: an object ID that defines your place in the list. Returns the page before the named object. Mutually exclusive with starting_after. |
customer | string | Only return sessions for this customer. |
subscription | string | Return the session that created this subscription. |
paymentIntent | string | Return the session for this PaymentIntent. |
paymentLink | string | Only return sessions created by this payment link. |
status | CheckoutSessionStatus | Only return sessions in this state. ‘complete’ means finished, not necessarily paid. |
created | CreatedFilter | Only return sessions created in this window. |