#JC-API
1 messages · Page 1 of 1 (latest)
Hi there, let me answer your questions related to the SetupIntent/PaymentIntent APIs
- There is no deprecation announcement for Charges API yet but I'd highly recommend you to use PaymentIntent API unless you are maintaining a legacy project
- We don't talk about token in SetupIntent API anymore, instead we use paymentmethod to abstract the payment details. SetupIntent can help you collect a payment method and attach it to a customer for future usage. There is not expiration date for this payment method, you can continue to use it as long as it's still attached to the same customer
- Yes, card elements are compatible with SetupIntent
- You can specify a payment_method to the PaymentIntent, and Stripe will use this payment method for the payment
Thanks for the prompt answers Jack. I'll work through another SetupIntent proof of concept and see how i go 👍
Sounds good, feel free to ask if you have any questions.