Skip to main content
PATCH
/
v0
/
webhooks
/
{id}
Update webhook endpoint
curl --request PATCH \
  --url https://api-sandbox.superbank.co/v0/webhooks/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "url": "https://your-app.com/webhooks/superbank-v2",
  "active": true
}
'
{}

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Webhook endpoint ID

Example:

"wh_abc123"

Body

application/json
url
string

Updated HTTPS URL to receive webhook notifications

Example:

"https://your-app.com/webhooks/superbank-v2"

active
boolean

Enable or disable the webhook endpoint

Example:

true

Response

Webhook endpoint updated successfully

The response is of type object.