Authorization
default Authorization<token>
Use a public key (pk./pk_test.) for payment initialization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment, there is no separate sandbox URL. Never expose your secret key in client-side code.
In: header
Path Parameters
idstringrequired
The ID of the webhook.
Request Body
application/json
urlstring | null
Must be a valid URL. Must not be greater than 2048 characters.
eventsarray<string>
Must not be greater than 100 characters.
descriptionstring | null
Must not be greater than 500 characters.
activeboolean | null
Response Body
application/json
application/json
curl -X PUT "https://api.wajub.com/webhooks/architecto" \ -H "Content-Type: application/json" \ -d '{}'{ "code": 200, "endpoint": { "id": "wh_01JXXX" }}OK