On This Page
Updating a Webhook Subscription
To update a webhook subscription, send a PATCH request. Include only the fields that you want
to update.
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:PATCHapitest.visaacceptance.com/notification-subscriptions/v1/webhooks/{webhookId}
- Production:PATCHapi.visaacceptance.com/notification-subscriptions/v1/webhooks/{webhookId}
Example: Updating a Webhook Subscription
{ "name": "My Sample Webhook", "description": "Sample decision manager webhook reject event.", "products": [ { "productId": "decisionManager", "eventTypes": [ "risk.profile.decision.reject" ] } ], "webhookUrl": "https://MyWebhookServer.com:8443:/simulateClient", "healthCheckUrl": "https://MyWebhookServer.com:8443:/simulateClientHealthCheck", "notificationScope": { "scope": "CUSTOM" } }