{ "post": { "tags": [ "ProvideLoan" ], "summary": "Provide Loan Request", "description": "This endpoint is used by FirstBank to request a loan provision for a customer. It allows FirstBank to specify the loan details including the amount, collection type, and loan type.", "operationId": "provideLoan", "requestBody": { "description": "Loan provision request details", "content": { "application/json": { "schema": { "$ref": "../schemas/ProvideLoanRequest.json" } }, "application/xml": { "schema": { "$ref": "../schemas/ProvideLoanRequest.json" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "../schemas/ProvideLoanRequest.json" } } }, "required": true }, "responses": { "200": { "description": "Loan provision request processed successfully", "content": { "application/json": { "schema": { "$ref": "../schemas/ProvideLoanResponse.json" } }, "application/xml": { "schema": { "$ref": "../schemas/ProvideLoanResponse.json" } } } }, "400": { "description": "Invalid request" }, "500": { "description": "Internal server error" } }, "security": [ { "basic_auth": [] } ] } }