#pinho

1 messages · Page 1 of 1 (latest)

latent cradleBOT
full oar
#

Hi there

#

Usually it is pretty quick

#

But mostly just depends

#

I don't have a firm number to provide

#

It is dependent on checking with third-parties so we can't state a specific amount of time

potent shore
#

I'm asking this, because I'm making the workflow:

User is alerted to provide info --> user access's the Onboarding link & provides info --> redirects to "return_url" --> I should say something like "Thanks for providing the info, however....you must wait....etc" right?

graceful stratus
#

Hello! You can fetch the Account from the API to check the status of the verification and then display an appropriate message.

potent shore
#

I prefer the webhook. Do you happen to know if the webhook of 'account.update' is triggered right after the OnBoarding is successfully completed?

#

Also, I'm only checking if the parameter currently_due in the object requirements is filled with data. I'm not checking the eventually_due since I believe it somehow will transfer to currently_due in the future?

graceful stratus
#

I would not recommend waiting for receipt of a webhook in order to display a message on the page after the onboarding redirect, you should make an explicit call to get the state of the Account at that time.

#

As far as what you look for on the Account object, what do you really want to know about the Account? It seems like you want to know if it can perform certain operations at that time or not?

potent shore
#

I'm not waiting for the receipt of the webhook to display a message on the page. But I have three states related with the authenticity of the account:

  1. Incompleted
  2. Checking provided data <-- after the user submitted in the OnBoarding
  3. Completed

Once the user is redirected to my page, I'll change the status to "Checking provided data" and once the Stripe sends me a notification through webhook, I'll change it to "Completed" (if that's the case).

About the second issue, yes, exactly. I need to know when am I able to transfer funds from one account to another and, ultimately, transfer funds from the account to the bank of the account (Payouts).

graceful stratus
potent shore
#

I think that by checking if requirements[currently_due] is empty, it means everything is OK (unless it's past_due, of course).

graceful stratus
#

Checking requirements won't tell you what you want to know.

#

There can be requirements that are currently due but transfers could still be active in some scenarios, I believe.

potent shore
#

So I should be checking for this two:

#

?

#

Also maybe payouts_enabled as well.

graceful stratus
#

Yep, if you're interested in that.