#timothy33
1 messages · Page 1 of 1 (latest)
If you need to the collect 50 cents, then you should use PaymentIntent API and set setup_future_usage to off_session or on_session based on your use case ()https://stripe.com/docs/api/payment_intents/create?lang=node#create_payment_intent-setup_future_usage
If you don't want to charge the 50 cents, then yes you should use the SetupIntent API.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ah ok, but I don't see an option in SetupIntents to specify an amount (whereas CreateSource has one). In that case, should I use paymentIntent instead?
Yes, you can do it with PaymentIntent API.
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!