#DMFist

1 messages ยท Page 1 of 1 (latest)

high juniperBOT
thin bramble
#

Hello ๐Ÿ‘‹

  1. 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
#
  1. 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 with account.updated vs only the capability that was updated with capability.updated)
queen void
#

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?

thin bramble
#

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.

queen void
#

Cool thanks for the help!

thin bramble
#

NP! ๐Ÿ™‚ Happy to help