--- swagger: "2.0" info: x-ibm-name: bafapi-wallet-customer-to-customer title: BAFAPI Customer to Customer version: 1.0.0 description: "" schemes: - https basePath: /bafapi-wallet-customer-to-customer 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: Transaction_Ref: type: string description: Transaction Reference example: "200810144425265" Amount: properties: [] type: string description: Amount example: "100" From_Account: properties: [] type: string description: From Account example: "930203149661373" To_Account: properties: [] type: string description: To Account example: "930203040112171" Channel: properties: [] type: string description: Channel example: fee_no_pin Tran_Type: properties: [] type: string description: Transaction Type example: C2C Channel_Mobile: properties: [] type: string description: Channel Mobile example: 03149661373 Channel_Pin: properties: [] type: string description: Channel Pin example: "5555" Feature: properties: [] type: string description: Feature example: alfawallettowalletrec Consumer_Number: properties: [] type: string description: Consumer Number Channel_Username: properties: [] type: string description: Channel Username Stan: properties: [] type: string description: Stan example: "200810144425265" additionalProperties: false required: - Transaction_Ref - Amount - From_Account - To_Account - Channel - Tran_Type - Channel_Mobile - Channel_Pin - Feature - Consumer_Number - Channel_Username - Stan ResponseBody: description: "" type: object properties: code: type: string description: type: string data: type: array items: properties: transactionType: type: string feeAmount: type: string walletId: type: string availableAmount: type: string transactionReference: type: string mobileNumber: type: string STAN: type: string KEY_ACC_REF: type: string taxAmount: type: string principalAmount: type: string username: type: string type: object example: code: "00" description: SUCCESS data: - transactionType: DebitWallet feeAmount: "0.00" walletId: "" availableAmount: "16368.00" transactionReference: "14935356" mobileNumber: 03149661373 STAN: "2008101444251234" KEY_ACC_REF: "0000025226440" taxAmount: "0.00" principalAmount: "0" username: "" 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 ...