--- swagger: "2.0" info: x-ibm-name: upilistaccountapi title: UPI_List_Account_API version: 2.1.0 description: API to get the customer account numbers against the mobile number schemes: - https basePath: /upi consumes: - application/json produces: - application/json securityDefinitions: appId: type: apiKey description: "" in: header name: X-IBM-Client-Id appSecret: type: apiKey in: header name: X-IBM-Client-Secret security: - appId: [] appSecret: [] x-ibm-configuration: testable: true enforced: true phase: realized paths: /list_account: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/ListAccount_Response' 400: description: Bad Request schema: $ref: '#/definitions/ListAccount_errorResponse' 500: description: Internal Server Error schema: $ref: '#/definitions/ListAccount_errorResponse' parameters: - name: req required: false in: body schema: $ref: '#/definitions/ListAccount_Request' definitions: ListAccount_Request: description: "" type: object properties: UPIListAccounts: type: object properties: MerchantHeader: type: object properties: SenderUserId: description: Contact Federal Bank API_Support Team for the value to be used for UAT and Production type: string SenderPassword: description: Contact Federal Bank API_Support Team for the value to be used for UAT and Production type: string SenderCode: description: Contact Federal Bank API_Support Team for the value to be used for UAT and Production type: string MerchantBody: type: object properties: ReqListAccount: type: object properties: UPIVersion: description: It should be 2.0 type: string TransactionId: description: Unique and random id for each request. In uat this value always should start with 'FDR' (Production it will be different). Ex.”FDR345YBHHJB345ghg” type: string TransactionType: description: Value should be " ListAccount " type: string Remarks: description: Customer entered remarks type: string IFSC: description: Customer bank ifsc type: string MobileNumber: description: Customer Mobile number type: string PayerAddress: description: Customer Virtual id type: string PayerName: description: Customer Name type: string PayerType: description: Payer type should be PERSON type: string PayerMCCCode: description: Merchant category code type: string ListAccount_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 ListAccount_Response: description: "" type: object properties: RespListAccount: type: object properties: TransactionId: description: Unique and random id for each request. In uat this value always should start with 'FDR' (Production it will be different). Ex.”FDR345YBHHJB345ghg” type: string Remarks: description: Customer entered remarks type: string TransactionType: description: Value should be " ListAccount " type: string ResponseCode: type: string AccountList: type: object properties: Account: type: object properties: accRefNumber: type: string accType: type: string aeba: type: string ifsc: type: string maskedAccnumber: type: string mbeba: type: string name: type: string CredsAllowed: type: array items: properties: dLength: type: string dType: type: string subType: type: string type: type: string type: object ListAccount_Response_Ack: description: "" type: object properties: Ack: type: object properties: API: type: string TransactionId: description: Unique and random ID to be generated by the client, to identify each request. In UAT, this value should always start with ‘FDR’. In Production env. the pattern will be different; contact API_Support team. Eg. FDRuh87try654gftferk5453 type: string ResponseCode: type: string Response: type: string tags: [] x-ibm-endpoints: - endpointUrl: https://devgateway.federalbank.co.in/fedbnkdev/dev type: - production - development ...