Update a webhook
curl -X PUT "https://test-api.kashier.io/v2/webhooks/string" \ -H "Content-Type: application/json" \ -d '{ "isActive": false }'{ "_id": "string", "merchantId": "string", "name": "string", "url": "http://example.com", "headers": { "property1": "string", "property2": "string" }, "events": [ "pay" ], "mode": "test", "isActive": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Updates an existing webhook. Send only the fields you want to change. The https-only URL rule from webhook creation applies here too. Moving a webhook to the other mode re-checks that mode's webhook cap, so an update can be rejected if the target mode is already full.
Authorization
secretKey Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).
In: header
Path Parameters
The webhook's _id, from List your webhooks or Create a webhook.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Delete a webhook DELETE
Removes a webhook. There's no undo — deliveries already recorded against it stay visible in delivery records.
Get delivery records for a transaction GET
⚠️ Not yet available on the test environment. This route is not registered on test-api.kashier.io today: calling it there returns a bare 404, not a records payload, while the webhook CRUD endpoints…