Delete a Webhook Subscription

This section describes how to delete a webhook subscription. Deleting a webhook subscription does not delete the history of webhook notifications.
This request requires the webhook subscription ID. The subscription ID is in the
webhookId
response field from the
create a webhook subscription
request.

Endpoints

Send a DELETE request to one of these endpoints. The
{webhookId}
is the webhook subscription ID.
  • Test:
    DELETE
    apitest.visaacceptance.com
    /notification-subscriptions/v2/webhooks/
    {webhookId}
  • Production:
    DELETE
    api.visaacceptance.com
    /notification-subscriptions/v2/webhooks/
    {webhookId}

Example: Deleting a Webhook Subscription

DELETE
https://apitest.visaacceptance.com
/notification-subscriptions/v2/webhooks/b555a545-58a9-47c7-aef9-10a8e17f201a
{ "status": "successfully deleted" }

Response Codes

A successful request is indicated by the 200-level response code.
For more information about all of the possible response codes you can receive, see
Transaction Response Codes
.