Update Webhook Subscription
This section shows you how to update a webhook subscription.
Endpoint
Test:
PATCH
https://apitest.cybersource.com
/notification-subscriptions/v1/webhooks/{webhookID}Production:
PATCH
https://api.cybersource.com
/notification-subscriptions/v1/webhooks/{webhookID}Production in India:
PATCH
https://api.in.cybersource.com
/notification-subscriptions/v1/webhooks/{webhookID}Required Field for Updating Webhook Subscription
- webhookID
- Include the ID of the webhook you would like to update.
REST Example: Updating Webhook Subscriptions
Request
{ "description": "Update to my sample webhook", "organizationId": "testrest", "productId": "terminalManagement", "webhookUrl": "https://NewURL" }
Response to a Successful Request
{ "organizationId": "testrest", "productId": "terminalManagement", "eventTypes": [ "tms.networktoken.provisioned", "tms.networktoken.updated" ], "webhookId": "e33b4ff7-f94a-2de4-e053-a2588e0a0403", "webhookUrl": "https://NewURL", "healthCheckUrl": "https://URL", "createdOn": "2022-07-07 17:24:05.116", "status": "ACTIVE", "retryPolicy": { "algorithm": "ARITHMETIC", "firstRetry": 1, "interval": 1, "numberOfRetries": 3, "deactivateFlag": false, "repeatSequenceCount": 0, "repeatSequenceWaitTime": 0 }, "securityPolicy": { "securityType": "KEY", "proxyType": "external", "digitalSignatureEnabled": "yes" }, "version": "3", "deliveryType": "nrtdCentral", "notificationScope": "DESCENDANTS" }