Activating a Webhook Subscription

To activate an inactive subscription, use the PUT call to update the status of the subscription.
When the subscription is active, a user will receive notifications for the applicable subscription. A 200-level response code indicates success.
For information about response codes, see
Transaction Response Codes
.

Endpoint

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

Example: Activate a Webhook Subscription

Light Dark
Request
1
PUT https://apitest.cybersource.com/notification-subscriptions/v2/webhooks/ddb9bced-c3e3-1b1d-e053-9c588e0a3c42
Response to a Successful Request
1
{"status": "ACTIVE"}