live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/me-client


@orangecheck/me-client / SystemWebhookPayload

Interface: SystemWebhookPayload

Defined in: me-client/src/types.ts:382

Non-billable SYSTEM webhook deliveries — project-level operational signals (escrow.low, escrow.depleted, escrow.recovered, drop.closed). Same signing + headers as billable deliveries; receivers subscribe via the same subscribed list ('*' or the explicit subtype string). Carries no user identity. Discriminate on kind first, then subtype:

const payload = JSON.parse(body) as WebhookPayload | SystemWebhookPayload; if (payload.kind === 'oc-system-event' && payload.subtype === 'drop.closed') { … }

Extended by

Indexable

[extra: string]: unknown

Properties

PropertyTypeDefined in
<a id="property-kind"></a> kind"oc-system-event"me-client/src/types.ts:383
<a id="property-project_key"></a> project_keystringme-client/src/types.ts:385
<a id="property-subtype"></a> subtypestringme-client/src/types.ts:384