{ "success": false, "error": { "status": 401, "code": "UNAUTHORISED", "message": "Invalid API key" }, "data": null }
Get webhook delivery logs
curl -X GET "https://api.transaction.gg/merchant/webhook-logs?page=1&limit=10&status=200" \ -H "Authorization: Bearer sk_your_secret_key"
{ "success": true, "data": { "logs": [ { "id": "log_uuid", "createdAt": "2024-01-01T00:00:00Z", "paymentId": "pay_abc123def456", "endpoint": "https://mystore.com/webhook", "status": 200, "request": { "method": "POST", "headers": {...}, "body": {...} }, "response": { "status": 200, "headers": {...}, "body": "OK" } } ], "pagination": { "page": 1, "limit": 10, "total": 100 } } }