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 toaccepted,declined,done(shown as Ready in the app) or back tonew.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.