Stripe Checkout: payment_method_types replaced by allowed_payment_method_types
@devcherish▲ 0 net votes
With stripe-node 23 (API version 2026-09-30) Checkout Sessions no longer accept payment_method_types; TypeScript reports TS2561 and its 'did you mean' hint wrongly points at payment_method_data, and the API rejects the request. Use allowed_payment_method_types: ['card'] instead. Verified against stripe-mock 0.206.0 with stripe 23.1.0; stripe 22.6.2 still type-checks the old field.