Webhooks

Have your own URL called when an order arrives, changes, is paid or gets a document.

A webhook calls a URL of yours whenever something happens to an order, so your own systems hear about it straight away. Add an endpoint under Webhooks on the Development page.

Events

  • order.created: a new order.
  • order.status_updated: the order moved to accepted, declined, done (shown as Ready in the app) or back to new.
  • order.message_created: a new message on an order.
  • order.paid: the order was marked paid, by any method.
  • document.issued: a confirmation, invoice or receipt, with its kind and number.

Every order payload lists its documents.

Verifying deliveries

Each request carries a Rapidcart-Signature header, t=<timestamp>,v1=<hex>: an HMAC-SHA256 of {timestamp}.{body}, keyed with your endpoint's secret. Reject anything whose signature doesn't match, or whose timestamp is more than five minutes old.

Failures

A delivery that fails is retried up to four more times, after 1, 5, 30 and 120 minutes, then stops. Recent deliveries shows each attempt and its response, so you can see what went wrong.

We use a few cookies to count visitors and see which links bring people here, and Reddit's pixel to see whether our ads there work. None of them is set unless you accept. What we store