#Skream
1 messages ยท Page 1 of 1 (latest)
Hi there ๐ apologies for the delay, just to clarify, you're asking how to control what payment method types are offered to your customers when creating a Payment Intent?
If so, you can control that via the payment_method_types parameter when creating the Payment Intent:
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_types
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That looks great. Is there a way to add an extra amount if a customer picks card? I see the payment_method_options but nothing in there stands out to me.
No, there is not to do that. If you wanted a solution like that, you would need to determine what type of payment method your customer wants to use before creating the Payment Intent, and adjust the amount accordingly in the creation request.
Got it, thanks very much.
Happy to help!