Represents a V2 paginated list response (detected by next_page_url key).
Auto-paging
{:ok, page} = Stripe.Client.request(client, :get, "/v2/core/events",
api_mode: :v2)
page
|> Stripe.V2.ListObject.auto_paging_stream(client)
|> Enum.take(100)
Summary
Types
Functions
@spec auto_paging_stream(t(), Stripe.Client.t(), keyword()) :: Enumerable.t()
Returns a lazy Stream that yields every item across all V2 pages.
Uses URL-based pagination — fetches next_page_url directly.