Update a Webhook

Updates the webhook information by passing the webhook id.
Update a Webhook
 last updated: 
January 31, 2022

You can only update the:
- url
- events
- description
- status

ENDPOINT

  1. PATCH /v1/webhook/:id

REQUEST

  1. {
  2.   "url": "https://acme.com/webhook/solidbanking",
  3.   "events": [
  4.     "person.kyc.approved",
  5.     "business.kyb.declined",
  6.     "person.kyc.declined",
  7.     "business.kyb.approved"
  8.   ],
  9.   "description": "Listen to Solid Banking's events for Acme",
  10.   "status": "enabled"
  11. }

RESPONSE

  1. {
  2.   "id": "web-6f4b9411-01d0-4ff4-b8fb-270b856c12c8",
  3.   "url": "https://acme.com/webhook/solidbanking",
  4.   "events": [
  5.     "person.kyc.approved",
  6.     "person.kyc.declined",
  7.     "business.kyb.approved",
  8.     "business.kyb.declined"
  9.   ],
  10.   "description": "Listen to Solid Banking's events for Acme",
  11.   "status": "enabled"
  12. }