Update a webhook

Enable or disable a webhook and configure the destination URL for the authenticated organization.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

webhookNameenumRequired

Request

Body
enabledbooleanOptional
Whether the webhook is enabled for delivery.
urlstring or nullOptionalformat: "uri"
The HTTPS endpoint Paid should deliver this webhook to. Set to null to clear it while disabled.

Response

200
idstring
nameenum
descriptionstring
enabledboolean
urlstring or null
lastSentAtdatetime or null
lastStatusenum
Allowed values:

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error