Update Webhook EndPoint

Update Webhook EndPoint

PUT {{Environment_URL}}/v1/payments/webhook/endpoints/:id

Update a webhook URL.

It is possible to register more than one URL for each scope. When updating a webhook, only the entry with the specified id will be modified — other registered URLs for the same scope remain unchanged.

Headers

Name
Value

Authorization

Bearer <token>

Path Variables

Name
Value

id

4e36208a-6ef5-4013-abd9-1fe8ca3f7b00

Request Body

{
  "scope": "FUNDING",
  "url": "http://adrian.biz",
  "secret": "<token>",
  "token": "<token>"
}

Response

{
  "id": "4e36208a-6ef5-4013-abd9-1fe8ca3f7b00",
  "agentId": 1,
  "url": "http://janie.net",
  "token": null,
  "secret": null,
  "scope": "FUNDING",
  "createdAt": "2025-09-30T16:51:12.903Z",
  "updatedAt": "2025-09-30T16:51:12.903Z"
}