跳到主要内容

概述

返回webhook所支持的事件列表

设置请求头组

cURL -X POST /open-api/v1/events
'Content-Type:application/json',
'Authorization:${open_api_token}'

查询明细

查看完整的请求参数

-d '{
"cursor": 1,
"limit": 10,
"event_type": "card.transaction",
"event_code": "165801",
"ascending": "true",
}'

查询结果

{
"msg": "SUCCESS",
"code": "000",
"trace_id": "",
"data": {
"next_cursor": "",
"has_more": false,
"data": [{
"event_id": 123,
"event_type": "card.transaction",
"event_category": "",
"event_code": "165801",
"event_description": 1,
}]
}
}