Files
Azeez Muibi f2178c1484 Updated Docs
2025-03-25 13:12:38 +01:00

58 lines
1.4 KiB
JSON

{
"post": {
"tags": [
"PenalCharge"
],
"summary": "Penal Charge Request",
"description": "This request is used to charge customers for penalty as per existing debt",
"operationId": "penalCharge",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/PenalChargeRequest.json"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/PenalChargeRequest.json"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/PenalChargeRequest.json"
}
}
}
},
"responses": {
"200": {
"description": "Penal Charge Request Accepted",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/PenalChargeResponse.json"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/PenalChargeResponse.json"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
},
"security": [
{
"api_key": []
}
]
}
}