#Pravin-onboarding-webhooks

1 messages · Page 1 of 1 (latest)

dawn solstice
#

Hey how can I help?

slim folio
#

i want to see, how can i identify account rejected scenarios from webhook response

#

I am referring below link, but i am not seeing reject example

dawn solstice
#

account.updated would be the relevant event

slim folio
#

yes, i got that. could you please share any response object examples which contain reject.fraud

dawn solstice
slim folio
#

let me have a look

slim folio
#

is there any way to reject standard account for testing purpose?

dawn solstice
#

How are you onboarding them?

slim folio
#

i am creating standard account, generating account link by using account number . and adding KYC details using that link

dawn solstice
#

Yep, then using test data you can force requirements to 'fail' onboarding

#

So depends what you mean by 'rejected'

slim folio
#

i have tried this, but its giving restricted. but i am looking for reject

#

I want reflicate these status

dawn solstice
#

I'm not sure there's any test data that will force that immediately. But you can rejected connected accounts from the platform Dashboard

slim folio
#

could you please guide me to how can i reject from platform dashboard

#

i never used platform dashboard

dawn solstice
slim folio
#

let me check

#

seems we can not replicate fraud event for test account

timber bramble
#

What are you currently doing to try to replicate it?

slim folio
#

i have entered into user dashboard whose connect account status is complete

#

Please refer attached image

timber bramble
#

Still trying to see if you can test this. Is there something you want to know about an account in that state or is this simply to have a test account in that state?

slim folio
#

i want to add logic in my webhook controller to identify fraud event received from stripe. i was just not sure i can i get to know from payload that account is restricted due to fraud activity

timber bramble
#

You are right that a requirements[disabled_reason] of rejected.fraud is what will tell you that. Unfortunately I am not seeing how to force an account in to that state in test mode. Are there other factors you are interested in here or just telling that that was the reject reason?

slim folio
#

ok perfect. I think i got the answer