stripe / stripe-node

Node.js library for the Stripe API.
https://stripe.com
MIT License
3.9k stars 755 forks source link

TWINT Payment Method missing from `PaymentMethodConfigurationCreateParams` #2141

Closed vpontis closed 4 months ago

vpontis commented 4 months ago

TWINT is a new payment method in Switzerland. It hasn't been added to PaymentMethodConfigurationCreateParams.

helenye-stripe commented 4 months ago

Hi @vpontis. Unfortuantely, the TWINT payment method is not yet completely public, so it is not currently available in the public OpenAPI. This is what we base our SDK generation off of.

However, the API will still accept this value if you are opted into the feature. You should be able to submit a request with your own params, including a twint field, and get a valid response.

helenye-stripe commented 4 months ago

I apologize -- the actual reason was there was a misalignment of dates. This should now be supported as of https://github.com/stripe/stripe-node/releases/tag/v16.5.0.

vpontis commented 4 months ago

Thank you! I thought TWINT was released and is public — is it public?

helenye-stripe commented 4 months ago

Yes it is public. I was mistaken.