#dino_pephanis - webhook inconsistencies
1 messages · Page 1 of 1 (latest)
if you look at test account acct_1Lcq5g2UbDFqJf5w
onboarding is complete and the account is active.
however evt_1Lcqk92UbDFqJf5wRLzDDXZ2
there are alot of currently_due items
some which have been supplied. like "tos_acceptance.date", "tos_acceptance.ip"
The final request was req_GijcZQnty0blI7
where I pass some of the information missing.
Thanks for the details. Checking in to what happened there
Also apologies for the delay
Hello
How was that TOS acceptance initially supplied, was that in another API call to update the account there?
The request I sent is the final request in our boarding process. User checks all details & confirms tos as well as all directors, executives & owners provided
Ah gotcha, that request came an hour after the event though it should have created another event here. Did you not get an event or get an event that still didn't have the tos related things set?
the request was at 31/08/2022, 15:10:13
the event was at 31/08/2022, 15:13:47
there as was also and event at 31/08/2022, 15:10:17 not sure how long webhooks take
evt_1LcrcS2UbDFqJf5wZzavTQgU
From what I see evt_1Lcqk92UbDFqJf5wRLzDDXZ2 was sent at 14:13:09
It does look like evt_1LcrcS2UbDFqJf5wZzavTQgU was the response to that call that updated tos_acceptance and that event does have the values that you provided
OK when I setup a webhook for accounts should I listen to: Events on your account or Events on Connected accounts
For this it would be events on connected accounts. That is how your platform would see this account.updated event
Ok this that's what I did
evt_1Lcqk92UbDFqJf5wRLzDDXZ2 was the last event I could view in the developers section of the dashboard
I had to log into the connected account to view event evt_1LcrcS2UbDFqJf5wZzavTQgU
As in you can currently see up to evt_1Lcqk92UbDFqJf5wRLzDDXZ2 in your platform's dashboard? I did not realize that the platform could see connect events like that in the dashboard
Gotcha. So is that clarification on the endpoint type helpful for what to do next? Or do you still need help here?
are you able to view
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
event evt_1LcrcS2UbDFqJf5wZzavTQgU
is line 165 "tos_acceptance": {
👋 stepping in here as Pompey needs to step away
OK
Catching up
no porblem
So you are seeing unexpected data in the account.updated hook?
trying to understand why - I boarded a connect account
acct_1Lcq5g2UbDFqJf5w
in my dashboard it is complete with no missing data
and is enabled
event evt_1LcrcS2UbDFqJf5wZzavTQgU
which i believe was the webhook call
i see
"requirements": {
"current_deadline": 1663158742,
"currently_due": [
"company.directors_provided",
"company.executives_provided",
"company.ownership_declaration.date",
"company.ownership_declaration.ip",
"directors.dob.day",
"directors.dob.month",
"directors.dob.year",
"directors.email",
"directors.first_name",
"directors.last_name",
"directors.relationship.title",
"executives.address.city",
"executives.address.line1",
"executives.address.postal_code",
"executives.dob.day",
"executives.dob.month",
"executives.dob.year",
"executives.email",
"executives.first_name",
"executives.last_name",
"tos_acceptance.date",
"tos_acceptance.ip"
],
line 186
line 105:
"requirements": {
"alternatives": [
],
"current_deadline": null,
"currently_due": [
],
"disabled_reason": null,
"errors": [
],
"eventually_due": [
],
"past_due": [
],
"pending_verification": [
]
np!
for KYC, how long does it take for an account to be verified
once it has been verified will it fire and account updated event
OK that's what I want to use it for, once the account confirmed and all persons verified to email the that their account is active
Yep that's exactly what you should be doing