#maxv9161_webhooks

1 messages ยท Page 1 of 1 (latest)

undone pumiceBOT
sullen helmBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

undone pumiceBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1243169280007344149

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

ashen bay
#

hi! not sure what you mean, but in account.updated there is a previous_attributes field, that's how you tell what changed and why the event is happening.

undone pumiceBOT
ocean ravine
#

Yes but in cases that the EIN is 00-0000000 there is no previous_attributes

#

sorry there is no company.tax_id in previous attributes

#

And hello!

wintry forum
#

Can you share an example evt_xxx please

ocean ravine
#

You can see here: evt_1PJa7kC0dSJcrKAICDCN8uWO and evt_1PJa7cC0dSJcrKAIbrIuWoOs, those 2 events were fired after the EIN changed to 00-0000000

#

There is only "business_profile.url" in pending verification for some reason

#

Other values work well

wintry forum
ocean ravine
#

Via embedded onboarding

wintry forum
#

The company[tax_id] field is restricted (docs here) but I can see your platform has access. I suspect this might be a configuration issue, checking

ocean ravine
#

Well yeah, its sensitive data, I just need to know if it was changed in a webhook

wintry forum
#

Yep, I understand that. Trying to figure out why the field isn't included in the events

ocean ravine
#

Got it, thank you!

wintry forum
#

I suspect that the field is not included in account.updated events unfortunately. You may need to manually retrieve it via the API in your webhook handler

ocean ravine
#

Hmm, thats kinda bad.
It means that on every account.updated I will have to do another call for tax_id?

#

I see that when EIN is changed there is a pending verification for "business_profile.url" field, could it be good enough indication? though its kinda weird

#

The weird thing is that if I put an illegal EIN in the fields (other then all zeroes) I do see it in pending verifications:
evt_1PJaorC0dSJcrKAIDiVNHKkk

wintry forum
#

What specifically are you trying to do with that info?

ocean ravine
#

Im trying to understand if the tax_id was changed via Stripe Embedded form (or dashboard) then I need to update our database with the new tax_id (tokenized)

#

each tokenization call is pricy so im trying to avoid it when I can

wintry forum
ocean ravine
#

Yes if we are using a special API key it is there

wintry forum
ocean ravine
wintry forum
#

Yes I suspect ultimately that's why it's not included in the event given the sensitive nature of the field

ocean ravine
#

Yeah,
though in case of SSN change there is a field there (ssn_last_4, and in pending verifications there is verification.id_number)

#

so I hoped that in EIN its the same

#

or simialr

ocean ravine
#

evt_1PJb41C0dSJcrKAI8Z6jmXhY

wintry forum
#

Well different event type and object, but yes Id agree that is inconsistent given that is listed as a KYC field at that doc

undone pumiceBOT
ocean ravine
#

and regarding "business_profile.url" if I use it and also the error that says: The tax ID on the account has changed. Please accept the terms of service again.

could it be enough? it looks like they both go together

mental obsidian
#

Hi there ๐Ÿ‘‹ jumping in as my teammate needs to step away soon. I would not expect the url field to be related to either the tax ID or terms of service. I'm not sure what the error you're referring to is being generated by, do you have more context on that?

ocean ravine
#

Hello toby,
Changing EIN for a connected account generates then

#

them*

mental obsidian
#

Can you say more on that? Is that an error you're seeing when trying to update an EIN for an account, is it an error an account is seeing during our flow for collecting more information, is it an error they're seeing in one of your flows?

ocean ravine
#

Ah neverming not always

#

No, im having an issue recognizing in a webhook when the tax_id was changed, but as I understood there is no way to know

mental obsidian
#

Yeah, the best way I know of to check for that, is to look for the ID number fields to appear in the requirements.pending_verification hash on the Account object. But I think we can sometimes immediately verify those values, in which case I'm not certain they'd go into that verification hash.

ocean ravine
#

id number fields as in company.tax_id?

mental obsidian
#

As in the ID number fields you're interested in watching for changing values in.

ocean ravine
#

Well I will take it.
its better then nothing.
Thank you!