Re-enabling a Webhook Endpoint

When a webhook endpoint is disabled, PayMongo stops delivering events to its URL. Enabling the endpoint resumes event delivery immediately. This page covers how to re-enable a disabled endpoint — either through the Dashboard or the API.

Prerequisite

The endpoint must already exist and have a disabled status. If you need to create a new endpoint instead, see Creating a webhook endpoint.

Before you start

Keep in mind that enabling an endpoint does not replay events that were missed while it was disabled. PayMongo does not queue events for disabled endpoints. If you need to reconcile missed events, you can retrieve them manually through the Events API before or after re-enabling.

📘

Per-organization enabled webhook limit

Each organization can have up to 10 enabled webhooks per mode (test and live are counted separately). Attempting to enable a webhook when this limit is reached returns a 400 resource_limit_reached error:

{
  "errors": [
    {
      "code": "resource_limit_reached",
      "detail": "Maximum number of enabled webhooks (10) reached for this organization in test mode. Disable another webhook before enabling this one."
    }
  ]
}

To enable a webhook when the limit is reached, disable a different enabled webhook first. Disabled webhooks do not count toward this limit.

Re-enabling via the Dashboard

When you want a quick, one-time change and prefer a visual interface, use the dashboard. Best for non-technical team members or situations where you do not have API access handy.

Follow these steps to re-enable a disabled endpoint from the PayMongo Dashboard.

  • From the left-hand navigation, select Developers, then choose Webhooks .
  • Locate the endpoint you want to re-enable.
  • Disabled endpoints show a Disabled status.
  • Click on the endpoint URL to open its detail page.
  • Enable the endpoint Click Enable endpoint.
  • The status updates to Enabled immediately. PayMongo begins delivering new events to the endpoint URL right away.

Re-enabling via the API

Use the API when you need to enable endpoints programmatically — for example, as part of a post-deployment script, CI/CD pipeline, or automated recovery workflow.

Send a POST request to https://api.paymongo.com/v1/webhooks/\{id}/enable using the webhook's unique ID. No request body is required — the action is expressed entirely through the URL path.

curl --request POST \
  --url https://api.paymongo.com/v1/webhooks/hook_xxxxxxxxxxxxxxxxxx/enable \
  --header 'accept: application/json' \
  --header 'authorization: Basic <base64-encoded-secret-key>'


Did this page help you?