Delete Webhook
curl --request DELETE \
--url https://testapi.kravata.co/api/webhooks/{clientId}/{webhook_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://testapi.kravata.co/api/webhooks/{clientId}/{webhook_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://testapi.kravata.co/api/webhooks/{clientId}/{webhook_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "9d536767-5424-4f63-bb5a-962a99d94306",
"method": "POST",
"process": "ramp",
"status": false,
"url": "https://your-server.example.com/webhooks/kravata",
"userId": "20ec3cb9-497c-480f-9478-4d64c7b43064"
}Webhooks
Delete Webhook
This endpoint allows you to deactivate a specific webhook configuration associated with your account. Therefore, it updates the webhook’s status to inactive, ensuring it no longer sends notifications while keeping its configuration for future reference or reactivation.
Request
| Field | Type | Required | Description |
|---|---|---|---|
| Authorization | Header | Yes | The access token, valid for 5 minutes, is used to authenticate requests to other endpoints. |
| clientID | URL | Yes | Include your assigned ID in the URL, obtainable through the Get infoClient endpoint. |
| webhookID | URL | Yes | ID of the webhook to deactivate, obtainable through GET /api/webhooks/{clientId}. |
Response
On success, the server confirms that the webhook has been deactivated by returning the updated webhook details, including its new status.
| Field | Description |
|---|---|
| Id | The unique identifier of the webhook. |
| method | The HTTP method used by the webhook (e.g., POST). |
| process | The process the webhook monitors (ramp, compliance or wallet_transfer). |
| status | Indicates the webhook is now inactive (false). |
| url | The destination URL where notifications are sent. |
| userId | The unique identifier of the user associated with the webhook. |
DELETE
/
api
/
webhooks
/
{clientId}
/
{webhook_id}
Delete Webhook
curl --request DELETE \
--url https://testapi.kravata.co/api/webhooks/{clientId}/{webhook_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://testapi.kravata.co/api/webhooks/{clientId}/{webhook_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://testapi.kravata.co/api/webhooks/{clientId}/{webhook_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "9d536767-5424-4f63-bb5a-962a99d94306",
"method": "POST",
"process": "ramp",
"status": false,
"url": "https://your-server.example.com/webhooks/kravata",
"userId": "20ec3cb9-497c-480f-9478-4d64c7b43064"
}Authorizations
Access token from POST /api/token (valid 5 minutes).
Path Parameters
The unique identifier of your account. This specifies which client's webhook will be deactivated.

