Skip to navigation

order.refunded

An order was refunded in full or in part.

Requires: read:orders and read:revenue.

EVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body (verifying signatures), deduplicate on webhook-id, and answer quickly — retries, ordering and replay are in delivery, retries and replay.

Headers

webhook-idstringRequired

The event’s eventId. Deduplicate on it.

webhook-timestampstringRequiredformat: "^[0-9]+$"
This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.
webhook-signaturestringRequiredformat: "^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"

Space-separated v1,<base64 HMAC-SHA256> entries, one per usable secret (two while a secret rotation overlaps), each over <webhook-id>.<webhook-timestamp>.<raw body>. See Verifying signatures.

Payload

The payload of this webhook request is an object.
eventIdstringRequired

The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (webhook-id), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps.

typeenumRequired

The v1 event types, identical to the OpenAPI document’s IntegrationEventType and shared by the event feed (GET /partner/v1/events), the realtime application channel and webhooks.

Some listed types are reserved and are not published until something produces them. No event is published for:

  • media becoming ready or failing: poll GET /partner/v1/accounts/{creatorId}/media/assets/status instead;
  • an AI job completing or failing;
  • content being scheduled: only content.item.changed, which does not say what changed.

marketplace.listing.changed exists but is not published.

Reserved, not published yet: automation.paused.

schemaVersionintegerRequired
occurredAtdatetimeRequired

When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone.

publishedAtdatetimeRequired
applicationIdstringRequired
The application reading the feed.
agencyIdstringRequired
creatorIdstring or nullRequired

The creator the event is about; null for an application’s notice about itself (webhook.endpoint_unreachable).

cursorstringRequired<=512 characters

An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery’s cursor starts with whc1. and is for correlation only; the event feed refuses it with 400 INVALID_CURSOR.

dataobjectRequired

The event’s data: references and fixed values only, never message text or amounts. The field names are listed in the event catalogue.

conversationIdstring or nullOptional
correlationIdstring or nullOptional

Response

200

Any 2xx within 10 seconds acknowledges the delivery. A 410 or another 4xx ends delivery of the event; 429, 5xx, a timeout or a connection failure is retried.