#Koja-connect

1 messages · Page 1 of 1 (latest)

hasty delta
#

Hi! Are you creating custom accounts?

mystic kelp
#

yes

hasty delta
mystic kelp
#

is there any way to do it manually?

#

Like check fields in account object

hasty delta
#

What do you mean by "manually"? You should listen to the account.updated event, and then look at the account object. The fields to look at are mentioned in the link I shared above.

languid current
#

The Account object’s charges_enabled and payouts_enabled indicate whether the account can create charges and accept payouts.

I think you want to check if charges_enabled == true && payouts_enabled == true

I think those indicate that the account is ready to go

mystic kelp
#

Problem is I can not listen or wait, can I just check Account.something in some points later?

mystic kelp
#

But is this enough for validation?

hasty delta
#

Problem is I can not listen or wait, can I just check Account.something in some points later?
Sure, but I can't tell you when to look at it. That's why webhook events are very useful.

mystic kelp
#

Yes yes I dont need that. I just need fields which to check?

hasty delta
mystic kelp
#

And for verification I get Person.verification.status?

hasty delta
#

That's correct

mystic kelp
#

This application does not have the required permissions for this endpoint on account 'acct_1KtnbcQaqeRoPAkZ'.; code: oauth_not_supported; request-id: req_gWRftdyfeBhB2T. Please check again stripe errors.

#

this is error I got

#

will charges_enabled and payouts_enabled be true before verification is done?

warm pewter
#

Hi 👋 stepping in as my teammate needed to step away. Bear with me a moment while I catch up on the context here.

mystic kelp
#

no problem

warm pewter
#

That seems to be an Express account rather than a Custom account, so you won't have as much access/visibility into it. I think you'll encounter a similar response, but could you try making that request again using our newer approach for making requests for Connected accounts?
https://stripe.com/docs/api/connected_accounts?lang=java

mystic kelp
#

Yes I can not change to express

#

will charges_enabled and payouts_enabled be true before verification is done?

warm pewter
#

That may fluctuate based on the country of the account. I would recommend taking a look at this document. In the top section you can use the selectors to specify you're exact connected account scenario, and then the table will show you what information is required and when.
https://stripe.com/docs/connect/required-verification-information

If there are verification requirements that must be satisfied before first charge or first payout, then that information will need to verified before the account's charges_enabled and payouts_enabled values will be set to true.

I'm not familiar with the requirements of every country, but I don't think there is a scenario where charges and payouts would be enabled before any verification is completed.

Learn what required verification information you need to collect for each country when using Connect.

mystic kelp
#

okay I will try with charges and payout enabled

#

hope it works