ดูประเภทข้อความที่สมัครรับได้
GEThttps://api.checkslip.com/api/webhooks/event-types
ใช้ API key
แสดงประเภทข้อความ (event type) ทั้งหมดที่ส่งไปที่ระบบของคุณได้ เช่น slip.checked ซึ่งส่งเมื่อตรวจสอบรายการโอนกับธนาคารเสร็จ · subscribable เป็น false คือสมัครรับเองไม่ได้ เช่น webhook.test ที่ส่งเฉพาะเมื่อคุณสั่งส่งข้อความทดสอบ · ใช้ค่าใน type เป็น event_types ตอนเพิ่มหรือแก้ไข endpoint · ใช้ API key ที่มีสิทธิ์ webhook:read
Parameters
| ฟิลด์ | ส่งทาง | ชนิด | จำเป็น |
|---|---|---|---|
traceparent | header | string | ไม่ |
Responses
200 application/json
| ฟิลด์ | ชนิด | จำเป็น |
|---|---|---|
items | EventTypeInfo[] | ใช่ |
items[].type | slip.checked | webhook.test | ใช่ |
items[].description | string | ใช่ |
items[].subscribable | boolean | ใช่ |
Error ที่อาจได้
401
error ในรูป Problem Details ดูรหัสทั้งหมดที่ รหัสข้อผิดพลาด