Skip to main content

Fetch Webhook

Get a webhook by its ID

Curl Request
curl "https://api.moyasar.com/v1/webhooks/:id" -u "sk_123:"

Responses

Success Response
{
"id": "c1307778-f112-4720-96c6-9e38fda601a2",
"http_method": "post",
"url": "https://example.com",
"created_at": "2022-12-07T08:22:25.487Z",
"events": [
"payment_paid",
"payment_failed",
"payment_voided",
"payment_authorized",
"payment_captured",
"payment_refunded",
"payment_abandoned",
"payment_verified"
]
}