REST API | Visa Platform Connect

REST Example: Updating Webhook Subscriptions

Request
PATCH
https://apitest.cybersource.com
notification-subscriptions/v1/webhooks/e33b4ff7-f94a-2de4-e053-a2588e0a0403 {   "description": "Update to my sample webhook",   "organizationId": "testrest",   "productId": "terminalManagement",   "webhookUrl": "https://NewURL" }
Successful Response
{   "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" }