Add webhook URL option to API calls #79
Replies: 1 comment 5 replies
-
Yes
I can see how receiving only a specific event could be handy in some cases, but I don't get the privacy argument. Curious what kind of third party you would send your events to? Those are meant to be sent to a server you control and sending any events to a third party is a privacy issue? There would have to be a default webhook though, because some events are not tied to a particular request. For example payments to a BOLT12 offer, on-chain payments, if/when we support it, or any generic event such as balance update etc. |
Beta Was this translation helpful? Give feedback.
-
Do webhook events get fired for all incoming payments?
If so, this is a privacy issue when connecting to third-party applications. Users likely don't want all incoming payment events sent out to a third-party.
A solution would be to allow applications to add a
callbackUrl
in each individual API call. For example:This way, an application can POST API requests and receive only the relevant event callback. Users would not have to add Webhooks directly in
phoenixd
.Beta Was this translation helpful? Give feedback.
All reactions