Update Webhook Subscription
Visa Platform ConnectREST API
This section shows you how to update a webhook subscription.
Endpoint
Test:
PATCH
https://apitest.visaacceptance.com
/notification-subscriptions/v1/webhooks/{webhookID}Production:
PATCH
https://api.visaacceptance.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
123456{ "description": "Update to my sample webhook", "organizationId": "testrest", "productId": "terminalManagement", "webhookUrl": "https://NewURL" }
Response to a Successful Request
123456789101112131415161718192021222324252627282930{ "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" }