Skip to main content
DELETE
https://api.swiftpay.cx
/
api
/
webhooks
/
:id
curl -X DELETE https://api.swiftpay.cx/api/webhooks/wh_abc123 \
  -H "Authorization: Bearer mp_live_your_api_key"
{
  "success": true,
  "data": {
    "id": "wh_abc123",
    "deleted": true
  }
}

Delete Webhook Endpoint

Permanently deletes a webhook endpoint. This action cannot be undone.
After deletion, you will no longer receive events for this endpoint. Make sure to update your application accordingly.

Request

Authorization
string
required
Bearer token with your API key
id
string
required
The unique identifier of the webhook endpoint to delete

Response

success
boolean
Whether the deletion was successful
data
object
curl -X DELETE https://api.swiftpay.cx/api/webhooks/wh_abc123 \
  -H "Authorization: Bearer mp_live_your_api_key"
{
  "success": true,
  "data": {
    "id": "wh_abc123",
    "deleted": true
  }
}
Instead of deleting, consider disabling the endpoint with Update Webhook if you might need it again.