--- swagger: "2.0" info: x-ibm-name: bafapi-wallet-customer-to-business title: BAFAPI Customer to Business version: 1.0.0 description: "" schemes: - https basePath: /bafapi-wallet-customer-to-business 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: Stan: type: string description: Stan example: "12279524" Amount: properties: [] type: string description: Amount example: "6.03" To_Feature: properties: [] type: string description: To Feature example: alfamerchnetworfee From_Feature: properties: [] type: string description: From Feature example: alfamerchnetworfee Mobile_Number: properties: [] type: string description: Mobile Number example: "03134021474" Wallet_ID: properties: [] type: string description: Wallet ID example: "933803337900400" Transaction_Ref: properties: [] type: string description: Transaction Reference example: "210923161930459" additionalProperties: false required: - Stan - Amount - To_Feature - From_Feature - Mobile_Number - Wallet_ID - Transaction_Ref ResponseBody: description: "" type: object properties: code: type: string description: type: string data: type: array items: properties: TaxAmount: type: string TransactionReference: type: string CurrentBalance: type: string PrincipalAmount: type: string FeeAmount: type: string type: object example: code: "00" description: SUCCESS data: - TaxAmount: "0.00" TransactionReference: "12279526" CurrentBalance: "3485.69" PrincipalAmount: "6.03" FeeAmount: "0.00" 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 ...