--- swagger: "2.0" info: x-ibm-name: bafapi-Wallet-balanceinquiry title: BAFAPI Balance Inquiry version: 1.0.0 description: "" schemes: - https basePath: /bafpk-balanceinquiry consumes: - application/json produces: - application/json securityDefinitions: OAuth: type: oauth2 description: OAuth Authentication flow: application scopes: GetToken: "" tokenUrl: https://apigateway.bankalfalah.com/bankalfalah/sb/oauthproviderapi/oauth2/token clientSecretHeader: type: apiKey description: "" in: header name: X-IBM-Client-Secret clientIdHeader: type: apiKey in: header name: X-IBM-Client-Id security: - clientIdHeader: [] clientSecretHeader: [] OAuth: - GetToken x-ibm-configuration: testable: true enforced: true phase: realized paths: /v1: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/ResponseBody' 500: description: Error schema: $ref: '#/definitions/ErrorResponse' parameters: - name: RequestBody required: true in: body schema: $ref: '#/definitions/RequestData' definitions: RequestData: properties: Wallet_No: type: string example: "933803608529477" description: Wallet No Feature: properties: [] type: string description: Feature example: bbBalanceSD_USSD Source_Of_Registration: properties: [] type: string description: Source of Registration example: Alfa additionalProperties: false required: - Wallet_No - Feature - Source_Of_Registration ResponseBody: description: "" type: object properties: code: type: string description: type: string data: type: array items: properties: availableAmount: type: string transactionReference: type: string mobileNumber: type: string principalAmount: type: string type: object example: code: "00" description: SUCCESS data: - availableAmount: "61229.02" transactionReference: "12445712" mobileNumber: 03608529477 principalAmount: "0" ErrorResponse: description: "" type: object properties: ResponseCode: type: string ResponseDesc: type: string example: ResponseCode: "99" ResponseDesc: Failed tags: [] x-ibm-endpoints: - endpointUrl: https://apigateway.bankalfalah.com/bankalfalah/sb type: - production - development ...