v1
latestOpenAPI 3.0.02026-07-263118119.8 KBWebhooks
webhook
Delete the webhook for the specified topic.
Returns the details of the webhook that was successfully deleted.
<details> <summary><strong>Error Glossary</strong> (click to expand)</summary>| Code | HTTP Status | Message |
|---|---|---|
| AP009 | 401 | Unauthorized |
| AP101 | 401 | No authenticated user |
| AP1000 | 200 | Invalid API |
| AP1100 | 400 | Topic or webhook ID required to delete webhook |
| AP1101 | 200 | Error fetching webhook |
| AP1106 | 200 | Error deleting webhook |
| AP1107 | 400 | Merchant is required |
delete/v2/webhook
Query parameters
topicstring
The name of the topic being deleted.
webhookIdstring
ID of the specific webhook to be deleted.
Headers
authorizationstring required
Content-Typestring required
Response
Success - Webhook Deleted
Example response
{
"webhook": {
"payloadVersion": "2.0"
}
}