Skip to main content

Retrieve a Webhook

Retrieve a Webhook resource by ID.

info

You can manage a webhook either through API or our Dashboard. You can check this guide for learn more.


Endpoint

GET /webhooks/:id

Sample code

const client = require('payrex-node')('insert your PayRex Secret API key.');

const webhook = await client.webhooks.retrieve('<ID of a webhook resource>');

Returns

Returns a Webhook resource.