v3

Webhooks

How we tell your system what happened, so you do not have to keep asking.

We send an HTTP POST to your endpoint when something happens that you need to know about: an order moves on, a customer becomes verified, a payment fails.

Some of these take time. Payments settle late, verification waits on a customer, a chain confirms when it confirms. Your customer has usually left the page by then, so we come to you instead of you asking us over and over.

A webhook is your record, not the redirect

A customer arriving on your return page does not mean the order finished, and them never arriving does not mean it failed. Record what a verified webhook tells you.

What you build

  1. 1

    A public HTTPS endpoint

    Reachable from the internet, on a certificate that validates. You do not need to allow our IPs.

  2. 2

    Signature verification, first thing

    An unchecked payload is an untrusted one. Hash the raw bytes you received.

  3. 3

    A quick 2xx

    Reply first, then do your work. Slow work belongs on your own queue.

  4. 4

    Safe handling of repeats

    The same webhook can arrive twice. Make a repeat do nothing.

  5. 5

    A 2xx for anything you do not handle

    We add new types over time, and they arrive at your existing endpoint.

Where to go next