Webhooks
webhook
Changed onDelete the webhook(s) matching the specified topic and/or webhook ID.
Returns the details of every 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
Request
- Base URLhttps://api.sandbox-pay.aero.inc
- Authnone declared. Required headers: authorization, Content-Type
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
{
"webhooks": [
{
"payloadVersion": "2.0"
}
]
}Changes
- warning
removed the optional property
/from the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning