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:PUTapitest.cybersource.com/notification-subscriptions/v2/webhooks/{webhookId}
- Production:PUTapi.cybersource.com/notification-subscriptions/v2/webhooks/{webhookId}
- Productionin India:PUT api.in.cybersource.com/notification-subscriptions/v2/webhooks/{webhookId}
Example: Activate a Webhook Subscription
Request
1PUT https://apitest.cybersource.com/notification-subscriptions/v2/webhooks/ddb9bced-c3e3-1b1d-e053-9c588e0a3c42
Response to a Successful Request
1{"status": "ACTIVE"}