#baloshi69
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
There's no way to increase the account link expiry time
ok. how much is the expirary time then
Looks like it's 5 mins. In the response for account link create, yout can also look at the ‘expires_at’ date : https://stripe.com/docs/api/account_links/object#account_link_object-expires_at
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thanks
hey
So, i added a webhook, which should detect if acoount user did the onbording and successfully added a account for payout.
i'm not sure i understand what's the question here - so you added a webhook endpoint already and now you want to know which event type to listen for to detect if acoount user did the onbording and successfully added a account for payout?
you should listen for the account.updated event and your webhook endpoint should be listening for Connect type webhooks : https://stripe.com/docs/connect/webhooks. You can check https://stripe.com/docs/api/accounts/object#account_object-details_submitted, but at the same time, you may also want to check https://stripe.com/docs/api/accounts/object#account_object-payouts_enabled
Thanks,
i think i should go for account.oject-payout-enable event.
as the updatte can have many time. but i am specificlylookin for the client adding a payout.
to be clear, the connected account user can add an external account, but payouts could also be disabled for other reasons also
ok
can you tell me where can i see all the event happening so i can see which event is being happen and then choose one
cant find it in log
is this what you're looking for? https://stripe.com/docs/api/events/types
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thanks
one more thing and sorry for being annoying
On creating web hook, should i checl event for connected account or my account.
as the event i am looking for is happening on connected account.
you should create the webhook for connected accounts
yah, that what i was doing wrong
it work
i am using , account.external_account.created
as this suite my need, i am looking for when a user done his onboarding and his payout is created which is a bank ( thus an external account )
any thing i must consider here,
looking for your advise
like i mentioned, you should really be you should listen for the account.updated event, and check https://stripe.com/docs/api/accounts/object#account_object-details_submitted to see if the user completed the onboarding form.
If knowing if the connected account is enabled for payouts is also important to you, you should also keep an eye on https://stripe.com/docs/api/accounts/object#account_object-payouts_enabled since payouts might be disabled for other reasons at a later point