#maxv9161_webhooks
1 messages ยท Page 1 of 1 (latest)
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.
- max_account-update, 1 day ago, 16 messages
๐ 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.
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.
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!
Can you share an example evt_xxx please
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
To confirm, how/where are you setting the IDs? Via the new APIs? https://docs.stripe.com/api/tax_ids/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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
Well yeah, its sensitive data, I just need to know if it was changed in a webhook
Yep, I understand that. Trying to figure out why the field isn't included in the events
Got it, thank you!
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
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
I wouldn't rely on that no
What specifically are you trying to do with that info?
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
I suspect this is the only option for now. If you retrieve an Account via the API, is the field there?
Yes if we are using a special API key it is there
Special API key?
Yes I suspect ultimately that's why it's not included in the event given the sensitive nature of the field
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
Is there an example?
evt_1PJb41C0dSJcrKAI8Z6jmXhY
Well different event type and object, but yes Id agree that is inconsistent given that is listed as a KYC field at that doc
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
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?
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?
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
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.
id number fields as in company.tax_id?
As in the ID number fields you're interested in watching for changing values in.
Well I will take it.
its better then nothing.
Thank you!