order.cancelled
The order was cancelled by the customer, XFaster support or the store. Stop preparing it. The payload carries the full order (order) and store_id.
Authorizations
The store's API key (xfp_test_… on the sandbox, xfp_live_… on live). XFaster creates it and shows it once. An integrator key (one key for a POS company) also sends X-XFaster-Store.
Headers
t=,v1=<hex HMAC-SHA256(webhook_secret, t + '.' + raw_body)>
"t=1792000000,v1=5b2e…"
"order.created"
Unique per event; retries keep the same id.
"evt_01JA7Q4M8V3K2B1X9ZC5N6P0RT"
Body
"order.created"
"evt_01JA7Q4M8V3K2B1X9ZC5N6P0RT"
183761
GET /orders/{id} of this order, if you want it again.
"https://apps.xfaster.net/api/partner/v1/orders/183761"
The store of the order (tells an integrator key's stores apart).
64
The full order, exactly as GET /orders/{id} returns it at the moment of the event, in your key's language. null only if it could not be built: then fetch it by url.
Response
Answer any 2xx within 5 seconds
