--- swagger: "2.0" info: x-ibm-name: fed_instant_loan_offer_acctnum_amt_api title: Fed_Instant_Loan_Offer_AcctNum_Amt_API version: 1.0.0 contact: name: API Support email: apisupport@federalbank.co.in description: This API fetches the details of a pre-approved instant loan offer for a given customer by the bank if he/she is eligible based on their Phone Number, Account Number (with last 4 digits), Transaction/Loan Amount, and Loan Tenure combination. If the customer is eligible for Instant Loan then details as the maximum loan amount offered, EMI tenure, interest rate, processing fees, etc. will be shared. schemes: - https basePath: /fedInstantLoan consumes: - application/json produces: - application/json securityDefinitions: appSecret: type: apiKey description: "" in: header name: X-IBM-Client-Secret appId: type: apiKey in: header name: X-IBM-Client-Id security: - appSecret: [] appId: [] x-ibm-configuration: testable: true enforced: true phase: realized paths: /getOffer/AcctNumAmt: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/Response' 400: description: error schema: $ref: '#/definitions/errorResponse' 500: description: Internal Error schema: $ref: '#/definitions/errorResponse' operationId: fed_instant_loan_offer_acctnum_amt_api parameters: - name: req required: true in: body schema: $ref: '#/definitions/Request' definitions: Request: description: "" type: object properties: InstantLoanOffersRequest: type: object properties: header: type: object properties: userName: type: string description: For authentication purpose.Bank will share credentials of this field values. password: type: string description: For authentication purpose.Bank will share credentials of this field values. body: type: object properties: senderCode: type: string description: For authentication purpose.Bank will share credentials of this field values. phoneNumber: type: string description: The 10 digit phone number registered for this user. ReqType: type: string description: "" applicationId: type: string description: The 35 character unique reference number.Sender generated application id for this loan application. Used for logging and tracking purposes. This Id will be used for later calls to get the status of the loan and to ensure idem potency of retried loan application calls. -- The application id passed in the subsequent steps will be the same one. maskedAccountNumber: type: string description: Last 4 digits of the account number of the user. tranAmount: type: string description: Loan amount from the user loanTenure: type: string description: Loan tenure from the user Response: description: "" type: object properties: InstantLoanOffersResponse: type: object properties: responseCode: type: string responseReason: type: string loanEligibleFlag: type: string offerId: type: string maxAmount: type: number maxAllowedEMI: type: string maxTenureMonths: type: string interestRate: type: array items: properties: rangeFrom: type: number rangeTo: type: number type: type: string value: type: number type: object processingFeePercentage: type: array items: properties: rangeFrom: type: number rangeTo: type: number type: type: string value: type: number type: object serviceTax_GST: type: number expiryDateTimestampSeconds: type: number applicationId: type: string errorResponse: description: error Response Structure type: object properties: errorResponse: type: object properties: tranTimeStamp: type: string description: Server Timestamp of the transaction statuscode: type: string description: HTTP Status Code of the Transaction statusreason: type: string description: HTTP status reasonphrase of the transaction customcode: type: string description: custom reference code of the status of the transaction. customreason: type: string description: short description of the result of the transaction tranId: type: string description: Server Transaction Id description: type: string description: description of the error additionalDetails: type: object description: further details related to the transaction tags: [] x-ibm-endpoints: - endpointUrl: https://devgateway.federalbank.co.in/fedbnkdev/dev type: - production - development ...