post https://api.vendy.money/webhooks/delete-webhook
Endpoint to delete webhook.
Request:
Query Parameter | Type | Description |
---|---|---|
businessId | string | Unique identifier for business |
Field | Type | Description |
---|---|---|
id | String | Unique identifier of webhook to be deleted |
Example request
curl --location 'https://api.vendy.money/webhooks/delete-webhook?businessId=1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
"id":"39a1e4bf-fbc3-4b78-9555-c50f8cfa17bw"
}'
Response:
Field | Type | Description |
---|---|---|
status | Boolean | States if request was successfully executed or not |
code | Integer | Internal code, success if 200 |
msg | String | A description of the status of the request |
data | JSON |
Example response
{
"status": true,
"code": 200,
"msg": "success",
"data": {}
}