#Mollie Webhook Request
1 messages · Page 1 of 1 (latest)
The most important example of a webhook is when a payment is paid. If you created the payment with a webhook URL, we will call that webhook URL with a single POST-parameter called id and a value of for example tr_d0b0E3EA3v.
And here is an example for the implementation (in this case PHP): https://github.com/mollie/mollie-api-php/blob/master/examples/payments/webhook.php
Can you please add something like a Webhook Simulator for testing the Webhook URL
You can use something like: https://github.com/beyondcode/expose
I typically use curl -d "id=tr_decafbad" https://example.invalid/webhook for all my simulation needs.
Is this something for the docs?
Feel free to suggest a PR on the page here: https://github.com/mollie/api-documentation/blob/master/source/overview/webhooks.rst 🙂