These events are in the Gift cards and Invoices groups of the webhook form. All eight were added in October 2026. The message shape is on Webhook events.
Gift cards
| Event | Sent when |
|---|
gift_card.issued | A gift card is created: sold in an order, or issued by you |
gift_card.redeemed | A gift card pays for an order, or part of it |
gift_card.adjusted | The balance of a gift card changes outside a payment |
gift_card.voided | You void a gift card. It can no longer be used |
gift_card.expired | A gift card reaches its expiry date with money left on it |
gift_card.redeemed is not sent while an online payment is still waiting. It is sent when the order is placed.
Every gift card event has the same keys:
| Key | Holds |
|---|
id | The card's ID |
code_last4 | The last 4 characters of its code |
initial_amount, balance, currency | The first amount and the balance now |
amount | The amount of this change |
order_id, user_id | The order and the customer |
expires_at, status | The expiry date and the card's status |
reason | Why the balance changed. null except on gift_card.adjusted |
occurred_at | When |
Values of reason on gift_card.adjusted:
reason | Meaning |
|---|
manual | You changed the balance by hand |
refund | The refund of a return went back onto the card |
order_changed | An order costs less after a change, and part of the card payment was put back |
order_cancelled | An order the card paid for was cancelled |
The full code and the recipient are never sent.
When money goes back onto a gift card, no refund.created is sent. gift_card.adjusted is the event for it.
Invoices
These events are for shops in Saudi Arabia that issue ZATCA e-invoices. See ZATCA e-invoicing.
| Event | Sent when |
|---|
invoice.issued | A tax invoice is issued for an order, or a debit note when an invoiced order later costs more |
credit_note.issued | A tax credit note is issued: an invoiced order is cancelled, costs less after a change, or a return is refunded |
invoice.rejected | ZATCA rejects an invoice or a note. It is not valid until you correct it and send it again |
A standard (business) invoice is announced only once ZATCA has cleared it. While it is still waiting, no invoice.issued is sent.
| Key | Holds |
|---|
id, number, uuid | The document |
kind, type | Whether it is an invoice or a note, and simplified or standard |
status | Its status at ZATCA |
order_id, order_number | The order |
reference_number, reason | The invoice a note corrects, and why |
totals | net, vat, gross |
currency, issued_at | The currency and the issue time |
qr | The QR code printed on the document |
Values of status:
status | Meaning |
|---|
generated | Not sent to ZATCA (phase 1) |
pending | Waiting for ZATCA |
reported, reported_warnings | Reported to ZATCA |
cleared, cleared_warnings | Cleared by ZATCA |
rejected | Rejected by ZATCA |
invoice.rejected carries the same keys with status set to rejected and no QR code. Each event is sent once per document.
The signed XML and your ZATCA keys are never sent.