{ "post": { "tags": ["CollectLoan"], "summary": "Collect Loan Repayment", "description": "Collect repayment amount from EcoBank customer", "operationId": "collectLoan", "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "../../schemas/eco/CollectLoanRequest.json" } } } }, "responses": { "200": { "description": "Loan Collection Successful", "content": { "application/json": { "schema": { "$ref": "../../schemas/eco/CollectLoanResponse.json" } } } }, "400": { "description": "Invalid request" }, "422": { "description": "Validation exception" }, "500": { "description": "Internal server error" } } } }