#Ionys
1 messages · Page 1 of 1 (latest)
Hi there!
Hi!
I also only get card and stripe with the same command. Let me keep digging
Nice, thanks!
It looks like this is a little more complicated. The stripe value represents the supported payment methods for charging through your platform: https://stripe.com/docs/connect/destination-charges
I recommend viewing each payment method type and looking at country availability to confirm whether a given type is supported. For example, ideal is supported for French accounts: https://stripe.com/docs/payments/ideal
You'd also need to request the specific payment method capability for each connected account: https://stripe.com/docs/connect/account-capabilities
Oh okay, I didn't understod that before. Thanks for your feedback, I saved the links to check them later!
I just discovered that Stripe have an internal api doing exactly what I want, do you know if there is somewhere to do a feedback to the dev to maybe have this is in the public api?
Which API are you referring to?
This one. It's, from a country, sending back the available payment methods that will be displayed in Checkout.
https://dashboard.stripe.com/ajax/valid_payment_methods?include_only[]=payment_methods&country=AF
Response:
{"payment_methods":["card","bancontact","eps","giropay","ideal","p24","sofort"]}
Ah got it. Just to be clear, can you clarify the question you're trying to answer with the API? Like, are you hoping to get a list of PaymentMethods that will be presented in Checkout for example for a customer from a specific country?
The reason I ask is country_specs is specifically for Connect, whereas I think the URL you pulled above is from the Checkout preview page (please correct me if I'm wrong)
I got this link from this page: https://dashboard.stripe.com/settings/payment_methods, displaying the Checkout preview. If I remember well, it's a setting from the Connect section, yup!
Update: the setting was from the Payments section, my bad
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I'm completly hoping this. The reason is that, on our website, we also accepting PayPal, so, to display to our customers all the available payment methods, we would like to be able to fetch the available payment methods from Stripe related to the customer's country
Got it! A way to grab this programmatically doesn't exist. However, when you turn on PaymentMethods on https://dashboard.stripe.com/settings/payment_methods and omit payment_method_types when creating a Checkout Session, Stripe will present your customers will all supported payment methods for their country + currency