OneRezo
Draft documentation. Check each step against the product before publishing.
Docs / API reference

Webhooks

4 min read

Webhooks tell your systems when something happens in OneRezo, so you do not have to keep asking.

How they work

You give OneRezo an address. When an event happens, such as a payment or a suspension, OneRezo sends a message to it.

Receiving them

  1. Verify the signature on every message before you trust it.
  2. Reply quickly with a success status.
  3. Do the real work afterwards, in the background.
Expect repeatsA message can arrive more than once. Make your handling safe to repeat.
Was this page helpful?