#lepetitblanc-available-pm-connected-acc
1 messages ยท Page 1 of 1 (latest)
would be great, the main issue is, that the main account has all enabled but some of the onboarded partners have not yet activated klarna
When we create a payment intent we have the following payment_method_types: card,sofort,eps,klarna
what i would like to to is, if it is a connected account, i would like to check first if he has activated these types and if not remove them from the list before creating the payment intent
You can actually retrieve the connected account and check capabilities to identify which methods are supported
https://stripe.com/docs/api/accounts/object#account_object-capabilities
thanks, i will give it a try, so the capability must be 'klarna_payments' or 'eps_payments',...? right?
yup
Thank you very much, works like a charm ๐
awesome! glad that worked ๐