Skip to content
Kaizena FlowDocs
Search

Search the docs

gift_card.issued

Gift card issued: a gift card or store credit was issued: never its code.

  • Topic: gift_card.issued, in the Kaizena-Webhook-Topic header and the body's topic

  • Sent to: Your own endpoints, and apps

  • About: the gift_card, under data.gift_card

  • Payload version: 1

Payload

FieldTypeDescription
idstring (uuid)The delivery's id: the same when a delivery is sent again, so a receiver can do it once.
topic"gift_card.issued"
version1The payload's version; a change to a shape raises it.
storeobject
store.slugstring
store.namestring
created_atstring (date-time)When the event happened.
dataobject
data.gift_cardobject
data.gift_card.idstring (uuid)
data.gift_card.last4string or nullThe code's last four characters. The code itself is never sent.
data.gift_card.currencystring
data.gift_card.initialnumberAn amount in the currency's units, such as 199.5 (not minor units).
data.gift_card.balancenumberAn amount in the currency's units, such as 199.5 (not minor units).
data.gift_card.sourceone of order, staff, refundBought with an order, issued by staff, or store credit from a refund (D364).
data.gift_card.testboolean
data.gift_card.issued_atstring (date-time)
data.gift_card.expires_atstring (date-time) or null
data.gift_card.admin_urlstringWhere it is in the store's admin; empty in a sample.

Example

{
  "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
  "topic": "gift_card.issued",
  "version": 1,
  "store": {
    "slug": "your-store",
    "name": "Example"
  },
  "created_at": "2026-11-03T09:30:00Z",
  "data": {
    "gift_card": {
      "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
      "last4": "example",
      "currency": "NOK",
      "initial": 199.5,
      "balance": 199.5,
      "source": "order",
      "test": true,
      "issued_at": "2026-11-03T09:30:00Z",
      "expires_at": "2026-11-03T09:30:00Z",
      "admin_url": "https://kaizenaflow.com/admin/your-store"
    }
  }
}

Every value is an example of its type, not a real store's.

Signature and retries

Each delivery carries the headers every topic has and is signed: check the signature before you trust it. One not answered with a 2xx status is tried again.

Made from the API contract, version 1.57This page as Markdown

Was this page helpful?