How Webhooks Work
When you create an order with acallback_url, Quickei sends an HTTP POST request to that URL whenever the order status changes. The payload is JSON-encoded and includes a signature header for verification.
Signature Verification
Every webhook includes anX-Quickei-Signature header containing an HMAC-SHA256 signature of the request body, signed with your client_secret.
Events
| Event | Trigger |
|---|---|
pos.order.paid | Customer completed payment |
pos.order.expired | Order expired before payment |
pos.order.cancelled | Order cancelled by merchant |
pos.order.refunded | Payment refunded to customer |
Example Payload
PHP Verification Example
Best practice: Always verify the signature before processing webhook events. Return a 200 status code quickly to acknowledge receipt — do heavy processing asynchronously.

