Retrieve a List of Products and Events

This section describes how to retrieve a list of the products and event types that are enabled for your organization. Use this list to know which products and events that you can subscribe to. A successful response lists the enabled products and events in the
productId
and
eventTypes.eventName
fields. You can use these same fields values when you send a
create a webhook subscription
request.
If the list you retrieve does not contain an expected product or event type, the product may not be enabled for your organization. Contact your account manager for more information.
For a list of all the products and event types that are supported by the Webhooks
REST API
, see the Supported Products and Event Types.

Endpoints

Send a GET request to one of these endpoints. The
{organizationId}
is your organization ID.
  • Test:
    GET
    https://apitest.visaacceptance.com
    /notification-subscriptions/v2/products/
    {organizationId}
  • Production:
    GET
    https://api.visaacceptance.com
    /webhooks/notification-subscriptions/v2/products/
    {organizationId}

Example: Retrieving a List Products and Event

GET
https://api.visaacceptance.com
/notification-subscriptions/v2/products/{organizationId}
[ { "productId": "terminalManagement", "eventTypes": [ { "eventName": "terminalManagement.status.update", "payloadEncryption": false }, { "eventName": "terminalManagement.assignment.update", "payloadEncryption": false }, { "eventName": "terminalManagement.reAssignment.update", "payloadEncryption": false } ] } ]