v13

latestOpenAPI 3.0.1raw.githubusercontent.com2025-04-1011714.5 KB
Webhooks

Update webhook

Allows patching description, callback_url, status, subscriptions

patch/v1/webhook/{webhookExternalId}

Path parameters

webhookExternalIdstring required

Query parameters

service_idstring required
gateway_account_idstring required

Request body

JsonNode[] required

Example request

[
  {
    "path": "description",
    "op": "replace",
    "value": "new description"
  }
]

Response

OK

callback_urlstring
created_datestring date-time
descriptionstring
external_idstring
gateway_account_idstring
liveboolean
service_idstring
status'ACTIVE' | 'INACTIVE'
subscriptionsstring[]

Example response

{
  "callback_url": "https://example.com",
  "created_date": "2022-04-05T17:07:15.281Z",
  "description": "Webhook description",
  "external_id": "gh0d0923jpsjdf0923jojlsfgkw3seg",
  "gateway_account_id": "100",
  "service_id": "eo29upsdkjlk3jpwjj2dfn12",
  "status": "ACTIVE",
  "subscriptions": [
    "card_payment_started"
  ]
}