btcpayserver / btcpayserver-doc

BTCPay Server Official Documentation
https://docs.btcpayserver.org
377 stars 256 forks source link

Create a dedicated Doc page for Webhooks #1142

Closed petzsch closed 1 year ago

petzsch commented 2 years ago

Perhaps we can add some example code like the one from the php greenfield client as well? It always helps me with custom integrations to get this working: https://github.com/btcpayserver/btcpayserver-greenfield-php/blob/master/examples/webhook.php

EDIT: Might also wanna explain the different types of webhooks, show an example payload(might be to much for a FAQ entry) and explain the difference over the old NotificationURL from the Bitpay compatible API.

Originally posted by @petzsch in https://github.com/btcpayserver/btcpayserver-doc/issues/1140#issuecomment-1159129088

Originiated from issue #852

pavlenex commented 1 year ago

@petzsch did #1164 address this or is there more to it that we'd like to do?

petzsch commented 1 year ago

since I was able to sneak in my example script in #1164 ... pretty much satisfied with the outcome.

Closing this one.