API
...
Webhooks
Attempts
List Attempts
1min
List all Webhook attempts
GET
Request
Curl
1curl "https://api.moyasar.com/v1/webhooks/attempts" -u "sk_123:"
Responses
200
1{
2 "webhook_attempts": [
3 {
4 "id": "29b479db-e72f-585c-b372-71879fcd413c",
5 "webhook_id": "0f952ef4-f796-5bf3-be44-1c617b40c793",
6 "event_id": "65a2b41b-b644-4792-a45d-f1c6f67846fe",
7 "event_type": "payment_paid",
8 "retry_number": 1,
9 "result": "success",
10 "message": "Webhook message was delivered successfully",
11 "response_code": 200,
12 "response_headers": "{h_foo:\"h_bar\"}",
13 "response_body": "{foo:\"bar\"}",
14 "created_at": "2022-12-24T10:34:00.005Z"
15 }
16 ],
17 "meta": {
18 "current_page": 1,
19 "next_page": null,
20 "prev_page": null,
21 "total_pages": 1,
22 "total_count": 1
23 }
24}
Updated 23 Nov 2023
Did this page help you?