API 参考
查询 Webhook 投递列表
查询 StableOps Webhook 投递记录,检查尝试次数、响应码、失败原因和下次重试时间,定位通知故障与待恢复任务。接收端应使用原始请求体验签,以事件标识去重,并在可靠保存任务后应答成功。投递可能重复、并发或乱序,重放与配置调整均需配合业务状态核对。
GET
/v1/webhook-deliveriesAuthorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Query Parameters
offset?number
Skip this many items before returning results (default 0).
limit?number
Page size (1-200, default 50).
payment_order_id?string
endpoint_id?string
status?string
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/webhook-deliveries"{
"items": [
{
"id": "string",
"webhook_endpoint_id": "string",
"event_id": "string",
"event_type": "payment_order.created",
"payment_order_id": "string",
"status": "pending",
"attempts": 0,
"response_status": -9007199254740991,
"response_duration_ms": -9007199254740991,
"error_message": "string",
"next_retry_at": "2019-08-24T14:15:22Z",
"last_attempt_at": "2019-08-24T14:15:22Z",
"succeeded_at": "2019-08-24T14:15:22Z",
"dead_lettered_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"payload": {
"property1": null,
"property2": null
}
}
],
"has_more": true,
"total": 0
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}这篇文档怎么样?
最后更新