cURL
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
200
"OK"
"Webhook endpoint retrieved"
Was this page helpful?