--- swagger: "2.0" info: x-ibm-name: upichecktransaction title: UPI_Check_Transaction version: "1.0" description: "" 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: - appSecret: [] appId: [] x-ibm-configuration: testable: true enforced: true phase: realized paths: /check_txn: post: responses: 200: description: Ok schema: $ref: '#/definitions/Check_Txn_Response' 400: description: Bad Request schema: $ref: '#/definitions/Check_Txn_errorResponse' 500: description: Internal Server Error schema: $ref: '#/definitions/Check_Txn_errorResponse' parameters: - name: req required: false in: body schema: $ref: '#/definitions/Check_Txn_Request' definitions: Check_Txn_Request: description: "" type: object properties: ReqChkTxn: type: object properties: MerchantHeader: type: object properties: SenderUserId: type: string SenderPassword: type: string SenderCode: type: string MerchantBody: type: object properties: UPIVersion: type: string TransactionId: type: string OriginalTransactionId: type: string OriginalCustomerRefNo: type: string TransactionSubType: type: string TransactionReferenceId: type: string Remarks: type: string TransactionType: type: string OriginalTxnDate: type: string InitiationMode: type: string PurposeCode: type: string Check_Txn_Response: description: "" type: object properties: RespChkTxn: type: object properties: TransactionId: type: string Remarks: type: string TransactionReferenceId: type: string TransactionType: type: string ApprovalTime: type: string Response: type: string ResponseCode: type: string PayerAddress: type: string PayerApprovalNum: type: string PayerRespCode: type: string Amount: type: string PayeeAddress: type: string PayeeApprovalNum: type: string PayeeRespCode: type: string Check_Txn_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 Check_Txn_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 ...