#simrankhosla_50889

1 messages · Page 1 of 1 (latest)

stray swanBOT
mighty rock
#

Good question, checking in to this and will get back to you

stray swanBOT
mighty rock
#

Just a heads up, we are still looking in to this and will get back to you with what we can find

heavy obsidian
#

thank you! appreciate the help! couldn't see anything on the docs specifically

silver lintel
#

HI 👋
I'm stepping in as @mighty rock had to go

heavy obsidian
#

great let me know what you find

#

essentially looking for what we can post on the create Account API call to make this appear in the currently_due section of the account.updated webhook:

"requirements": {
"alternatives": [
],
"current_deadline": null,
"currently_due": [
"company.verification.document"
],

#

The person ones pretty straightforward to simulate with address_no_match--
"requirements": {
"alternatives": [
],
"current_deadline": null,
"currently_due": [
"person_1O5VQLIZ6u2Qchn1PrZGqFxl.verification.document",
],

But can't find anything to trigger company.verification.document

silver lintel
#

Unfortunately we have been testing for quite a while and we aren't able to find a way to get the currently_due array to contain the requirement you are looking for

heavy obsidian
#

okay thanks for confirming! we'll continue to just simulate it in the webhook to ourselves to test it

silver lintel
#

That is what I was going to advise for this case. Since you know the exact shape of the Event object for your tests, mocking would be a good approach

heavy obsidian
#

yup that's essentially what we've been doing since we couldn't find another way. Let me know if this ever changes!