#DMFist
1 messages ยท Page 1 of 1 (latest)
Hello ๐
- Is it necessary to listen for webhooks to confirm that link payments became active on the connected account?
It depends on your usecase really. Is it necessary? Not really. But if you want to know that the Payment method was indeed activated then yes you'd want to listen for the webhook events
- If so, should i be listening for capability.updated or account.updated events?
As far as my understanding goes, you can use both. The only difference is the objects these events deliver (you'd get access to Account object withaccount.updatedvs only the capability that was updated withcapability.updated)
Hmm when i test this process, it seems that only account.updated events get fired
Is the account.updated event a more reliable one to listen for? I.e. will it always fire while capability.updated only fires in certain scenarios?
Interesting... My understanding was capability.updated is fired when a capability has new requirements or a new status. I never tested it myself though.
But yeah based on your testing it looks like account.updated should be the one you should listen for.
Cool thanks for the help!
NP! ๐ Happy to help