Add Pennyzo API status checker scripts, report viewer, and documentation

This commit is contained in:
2025-09-25 14:11:36 +05:30
parent df2a2b9412
commit aece15a286
16 changed files with 2291 additions and 6 deletions

View File

@@ -0,0 +1,74 @@
{
"title": "Pennyzo API Status Check Report",
"timestamp": "2025-09-25T10:15:30.123Z",
"duration": "1.15 seconds",
"summary": {
"totalEndpoints": 3,
"successful": 2,
"failed": 1,
"successRate": "66.7%"
},
"baseUrl": "https://api.pennyzo.com/api/v1/general",
"results": [
{
"endpoint": "/system/health",
"method": "GET",
"status": "SUCCESS",
"statusCode": 200,
"responseTime": 342,
"timestamp": "2025-09-25T10:15:30.123Z",
"error": null,
"data": {
"status": "operational",
"service": "Pennyzo General API",
"version": "1.0.0",
"environment": "production",
"message": "Service is healthy"
}
},
{
"endpoint": "/registration/company/identity-rules",
"method": "GET",
"status": "SUCCESS",
"statusCode": 200,
"responseTime": 285,
"timestamp": "2025-09-25T10:15:30.456Z",
"error": null,
"data": {
"rules": [
{
"company_type": "PRIVATE_LIMITED",
"required_fields": ["cin_number"]
},
{
"company_type": "LLP",
"required_fields": ["llp_number"]
},
{
"company_type": "PROPRIETORSHIP",
"required_fields": ["pan_number"]
}
]
}
},
{
"endpoint": "/auth/login",
"method": "POST",
"status": "FAILED",
"statusCode": 401,
"responseTime": 520,
"timestamp": "2025-09-25T10:15:30.789Z",
"error": {
"message": "Request failed with status code 401",
"details": {
"error": {
"type": "unauthorized",
"code": 401,
"message": "Invalid credentials"
}
}
},
"data": null
}
]
}