REST API

Deleting a Webhook Subscription

To delete a webhook subscription, send a DELETE request.
To request the service, use the endpoint specified below. After you send the request, check the response message to verify that the request was successful. A 200-level response code indicates success.
For information about response codes, see
Transaction Response Codes
.

Endpoint

  • Test:
    DELETE
    apitest.cybersource.com
    /notification-subscriptions/v1/webhooks/{webhookId}
  • Production:
    DELETE
    api.cybersource.com
    /notification-subscriptions/v1/webhooks/{webhookId}
  • Production in India:
    DELETE api.in.cybersource.com/notification-subscriptions/v1/webhooks/{webhookId}