#Anwarus
1 messages ยท Page 1 of 1 (latest)
Hello ๐
You can retrieve the account and look at the capabilities
https://stripe.com/docs/api/accounts/object#account_object-capabilities
Easier way would be look at charges_enabled or / and payouts_enabled properties
https://stripe.com/docs/api/accounts/object#account_object-charges_enabled
https://stripe.com/docs/api/accounts/object#account_object-payouts_enabled
Thank you for your answer but from what I see I need ID of an main account in order to do it. How I can get it?
You will find the account ID under your profile
https://dashboard.stripe.com/settings/user
It begins with acct_xxx
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Awesome, thank you!
NP! ๐