Retrieving the Details of a Webhook Subscription

To retrieve the details of a webhook subscription, send a GET 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:
    GET
    apitest.cybersource.com
    /notification-subscriptions/v1/webhooks/{webhookId}
  • Production:
    GET
    api.cybersource.com
    /notification-subscriptions/v1/webhooks/{webhookId}
  • Production in India:
    GET api.in.cybersource.com/notification-subscriptions/v1/webhooks/{webhookId}

Example: Retrieving the Details of a Webhook Subscription

        
GET
https://apitest.cybersource.com
/notification-subscriptions/v1/webhooks/ddb9bced-c3e3-1b1d-e053-9c588e0a3c42
        
{ "organizationId": "organizationId", java.io.PrintWriter@59e05958 "productId": "terminalManagement", "eventTypes": [ "terminalManagement.assignment.update" ], "webhookId": "ddb9bced-c3e3-1b1d-e053-9c588e0a3c42", "webhookUrl": "https://MyWebhookServer.com:443/simulateClient", "healthCheckUrl": "https://MyWebhookServer.com:443/simulateClientHealthCheck", "createdOn": "2022-04-28 15:39:56.931", "status": "SUSPENDED", "retryPolicy": { "algorithm": "ARITHMETIC", "firstRetry": 1, "interval": 1, "numberOfRetries": 3, "deactivateFlag": false, "repeatSequenceCount": 0, "repeatSequenceWaitTime": 0 }, "securityPolicy": { "securityType": "KEY", "digitalSignatureEnabled": "yes" }, "version": "3", "deliveryType": "nrtdCentral", "notificationScope": "DESCENDANTS" }