Products and Events
Discover the products and events to which you can subscribe by sending an API request to
retrieve the list of all of the products and events that are enabled and configured for your
account. You can subscribe to webhooks only for products and services that are enabled and
configured for your account. The API response includes an array of products with all of the
event types included in the
eventTypes
fields.
Requesting a List of Products and Events
To subscribe to a webhook, your account must be enabled for the product associated with the webhook. To get a list of products and event types that are enabled for your organization, send a GET request. For more information, see Product and Event Types.
Endpoint
-
Test:GETapitest.cybersource.com/notification-subscriptions/v1/products/{organizationId}
-
Production:GETapi.cybersource.com/webhooks/notification-subscriptions/v1/products/{organizationId}
-
Productionin India:GET api.in.cybersource.com/notification-subscriptions/v1/products/{organizationId}
Example: Requesting a List Products and Event
GEThttps://api.cybersource.com/notification-subscriptions/v1/products/{organizationId}
[ { "productId": "terminalManagement", "eventTypes": [ { "eventName": "terminalManagement.status.update", "payloadEncryption": false }, { "eventName": "terminalManagement.assignment.update", "payloadEncryption": false }, { "eventName": "terminalManagement.reAssignment.update", "payloadEncryption": false } ] } ]