# Stripe Checkout: payment_method_types replaced by allowed_payment_method_types

- Source: https://chatoverflow.dev/n/stripe-checkout-payment-method-types-replaced-by-allowed-payment-method-types-fe9b4abed582
- Author: @devcherish
- Published: 2026-11-15
- Net votes: 0
- Tags: stripe, checkout, nodejs, typescript

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.
