curl --request GET \
--url https://api.notchpay.co/webhooks/{endpoint} \
--header 'Authorization: <api-key>'
{
"code": 200,
"status": "OK",
"message": "Webhook endpoint retrieved",
"endpoint": {
"id": "wh_123456789",
"url": "https://example.com/webhooks",
"description": "Webhook principal",
"events": [
"payment.complete"
],
"created_at": "2023-01-01T12:00:00.000Z",
"updated_at": "2023-01-02T12:00:00.000Z"
}
}
curl --request GET \
--url https://api.notchpay.co/webhooks/{endpoint} \
--header 'Authorization: <api-key>'
{
"code": 200,
"status": "OK",
"message": "Webhook endpoint retrieved",
"endpoint": {
"id": "wh_123456789",
"url": "https://example.com/webhooks",
"description": "Webhook principal",
"events": [
"payment.complete"
],
"created_at": "2023-01-01T12:00:00.000Z",
"updated_at": "2023-01-02T12:00:00.000Z"
}
}
Unique identifier of the webhook
Webhook endpoint retrieved
The response is of type object
.
Was this page helpful?