FISCALISTO / API / REFERENCE
Delete a webhook · Webhooks
It stops sending events to that address. The events remain in GET /v1/events.
A key for the whole account: not limited to some issuers or to a test environment.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
id*stringThe object's id.
OK.
application/json- response
Confirmation that it was deleted.
id*stringObject identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).
object*stringWhat kind of object it is («invoice», «customer»…).
deleted*booleanAlways true.
This key is limited to some issuers and the request touches another one (or creates one, or uses something of the whole account, like webhooks).
There's no object with that id (or it belongs to another issuer or the other mode).
Plus those of any call (key, fields, limits): Errors. They all carry code, message and, when it's about a field, param.
curl -X DELETE 'https://api.fiscalisto.com/v1/webhook_endpoints/whe_0q1Vmmw52sbDpmtsKD1E' \ -H 'Authorization: Bearer fk_test_…'{ "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true}Was this page helpful?
Update a webhook POST
Changes its address, its events, its description or its API version; with disabled: false it turns back on one that was turned off.
Rotate the secret POST
A new secret, which the response carries only once. The previous one keeps signing (a second signature in webhook-signature) for the time you choose, 24 hours by default, so you change your server without rejecting events. If it leaked, send previous_secret_expires_in: 0.