Skip to content

Alert centre notification (webhook channel)

POST

Sent by an alert-centre channel of kind webhook (admin console, 告警中心), separately from the business events above, to the channel’s URL: one request per notification (an alert opening, resolving, or a one-off event) routed to the channel. Live alerts only (alerts about test data reach the test endpoint as system.* events, not alert channels). Headers as for business events, signed with the channel’s own secret: FlowPay-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256(channel secret, "<t>.<raw body>")>. Non-2xx answers (10-second timeout, no redirects) are retried on the business webhook schedule (about a day), then the delivery is marked failed and can be resent from the console. Deliveries are independent: no ordering. id identifies the delivery and stays the same across retries (deduplicate on it); created_at is the attempt’s time, data.at the notification’s.

FlowPay-Signature
required
string
/^t=[0-9]+(,v1=[0-9a-f]{64})+$/
Media typeapplication/json
object
id
required

The delivery (the same across retries).

string format: uuid
type
required
string
Allowed values: alert.open alert.resolved alert.event
created_at
required

The attempt’s time.

string format: date-time
data
required
object
alert_id
required
string format: uuid
kind
required

The alert kind (the system.<kind> events list them).

string
title
required

Human-readable title in the merchant’s language; generic for unknown kinds.

string
status
required
string
Allowed values: open resolved event
subject
required

Which instance (a chain id, an order id…); may be empty.

string
details
required

The alert’s details as recorded.

object
at
required

When the alert opened, resolved or happened.

string format: date-time
console_url
required

The admin console (<admin url>/admin/).

string

Acknowledged (any 2xx)

Not acknowledged; retried