Delete Report
Delete a report and its associated file.
DELETE
https://api.zenpayz.com/merchant/api/v1/reports/:idBearer · API key
Request
Headers
| Header | Description |
|---|---|
Authorization REQUIRED | Bearer {api_key} |
X-Signature REQUIRED | HMAC-SHA256 signature |
X-Timestamp REQUIRED | ISO 8601 timestamp |
X-Secret-Salt REQUIRED | Secret salt for HMAC validation |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id OPTIONAL | string | Report ID |
Response
Success (200 OK)
{
"success": true,
"data": {
"id": "rep_550e8400-e29b-41d4-a716-446655440000",
"deleted": true
}
}
Error Responses
| Code | HTTP | Message |
|---|---|---|
| REPORT_NOT_FOUND | 404 | Report does not exist |