Skip to content
Kaizena FlowDocs
Search

Search the docs

refund.created

Refund made: money went back to a customer, to the payment or as store credit: the refund itself.

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

  • Sent to: Your own endpoints, and apps

  • About: the refund, under data.refund

  • 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"refund.created"
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.refundobject
data.refund.idstring (uuid)
data.refund.order_idstring (uuid)
data.refund.order_numberstring
data.refund.currencystring
data.refund.amountnumberAn amount in the currency's units, such as 199.5 (not minor units).
data.refund.kindone of money, store_creditmoney: back to the payment. store_credit: a gift card of the store's (D364).
data.refund.restockedboolean
data.refund.created_atstring (date-time)
data.refund.admin_urlstringWhere it is in the store's admin; empty in a sample.

Example

{
  "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
  "topic": "refund.created",
  "version": 1,
  "store": {
    "slug": "your-store",
    "name": "Example"
  },
  "created_at": "2026-11-03T09:30:00Z",
  "data": {
    "refund": {
      "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
      "order_id": "5e5f7ef7-73d7-4c28-8954-bda4963b1e6d",
      "order_number": "1001",
      "currency": "NOK",
      "amount": 199.5,
      "kind": "money",
      "restocked": true,
      "created_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?