概述
查询当前OPcard Webhook支持的所有事件列表。
设置请求头组
- Header
cURL -X POST /open-api/v1/events
'Content-Type:application/json',
'Authorization:${open_api_token}'
查询明细
查看完整的请求参数。
- Resquest
-d '{
"cursor": 1,
"limit": 10,
"event_type": "card.transaction.success",
"event_code": "165801",
"ascending": "true",
}'
查询结果
- Response
{
"msg": "SUCCESS",
"code": "000",
"trace_id": "",
"data": {
"next_cursor": "",
"has_more": false,
"data": [{
"event_id": 123,
"event_type": "card.transaction.success",
"event_category": "",
"event_code": "165801",
"event_description": 1,
}]
}
}
- 查看完整的返回参数。