Developers

order.refunded

An order was refunded.

Header Parameters

X-Zaher-Signature*string

v1=<hex> — HMAC-SHA256 of {timestamp}.{raw body} with your endpoint's signing secret. During a secret rotation, two comma-separated values are sent.

X-Zaher-Timestamp*string

Unix seconds when the request was signed. Reject requests older than 5 minutes.

X-Zaher-Event-Id*string

Same as the body id. Use it to deduplicate retries.

X-Zaher-Event-Type*string

Same as the body type.

Request Body

application/json
  1. body
id*string

Event id. The same on every retry — use it to deduplicate.

type*"order.refunded"

Event type

Value in"order.refunded"
api_version*string

Payload version pinned on the endpoint

created_at*string

When the event happened

store_id*string

The store the event belongs to

test*boolean

True for events sent with "Send test event"

data*

Response Body

Acknowledge with any 2xx status within 10 seconds. Anything else is retried.

Example Requests

POST/order.refunded