API Reference

Delete a webhook

DELETE/web_hooks/{id}

Query Parameters

idstring

Request

curl
curl -X DELETE https://gateway.pmnts-sandbox.io/v1.0/web_hooks/071-WH-ABCD1234 -u TEST:TEST

Response

200Result
json
{
  "successful": true,
  "response": {
  "address": "https://www.your-server.com/payment/hook",
  "events": "*",
  "mode": "Test",
  "authentication_username": null,
  "authentication_password": "",
  "is_active": null,
  "name": "Test Hook",
  "id": "071-WH-ABCD1234"
  },
  "errors": [],
  "test": true
}
404Result
json
{
  "successful":false,
  "response":null,
  "errors":["Not Found"],
  "test":true
}