Stripe Upcoming Invoice API
In API version 2025-03-31.basil, Stripe migrated from the Upcoming Invoice API to the Create Preview API.
Additionally, total_count expansion on lists is no longer supported, and Checkout sessions for subscriptions now delay subscription creation until the user completes payment.