#Najah-connect
1 messages · Page 1 of 1 (latest)
Hi! When listening to account.updated you will receive an account object. In it you can look into the capabilities attribute to see is they can accept payments or not.
https://stripe.com/docs/api/accounts/object#account_object-capabilities
can I identify why the cause of inactive capability ?
I want to handle errors in our pltaform (email not valid/activated, payement infos not valid, address documents not validated by stripe)
is it possible?
What type of Connect account are you using? Standard, Express, or Custom?
Note that there is a requirements attribute listing what information needs to be collected. https://stripe.com/docs/api/accounts/object#account_object-requirements
standard account
Hey. Generally you'd check for the charges_enabled field on the Account: https://stripe.com/docs/api/accounts/object#account_object-charges_enabled
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.