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.
Authorization
secretKey Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.
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
Returns the delivery log for a given transaction — every webhook attempt made for it, across all your configured webhooks, plus any per-session webhook you passed directly on that transaction.