API
...
Webhooks
Attempts
Fetch a Webhook Attempt
1min
Fetch a webhook attempt
GET
Params
Updated 23 Nov 2023
Did this page help you?
curl "https://api.moyasar.com/v1/webhooks/attempts/:id" -u "sk_123:"
{ "id": "29b479db-e72f-585c-b372-71879fcd413c", "webhook_id": "0f952ef4-f796-5bf3-be44-1c617b40c793", "event_id": "65a2b41b-b644-4792-a45d-f1c6f67846fe", "event_type": "payment_paid", "retry_number": 1, "result": "success", "message": "Webhook message was delivered successfully", "response_code": 200, "response_headers": "{h_foo:\"h_bar\"}", "response_body": "{foo:\"bar\"}", "created_at": "2022-12-24T10:34:00.005Z" }