--- swagger: "2.0" info: x-ibm-name: bafapi-card-setcardlimit title: BAFAPI Set Card Limit version: 1.0.0 description: "" schemes: - https basePath: /bafapi-card-setcardlimit 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: Success schema: $ref: '#/definitions/Response Body' 500: description: Error schema: $ref: '#/definitions/Error Response' parameters: - name: RequestBody required: true in: body schema: $ref: '#/definitions/RequestData' tags: [] definitions: RequestData: description: "" type: object properties: LimitsCollection: type: array items: properties: limitId: type: string availableLimit: type: string isIndividualLimit: type: string indivdualAmountID: type: string amount: type: string frequency: type: string limitType: type: string remainingFrequency: type: string cycleType: type: string cycleLength: type: string frequencyType: type: string frequencyLength: type: string channelsTransactions: type: array items: properties: channels: type: string channelName: type: string transaction: type: string transactionName: type: string type: object key: type: string example: [] isStandIn: type: string transactionCode: type: string maxIndvLimit: type: string cycleBeginDate: type: string type: object example: "{\r\n \"LimitsCollection\": [\r\n {\r\n \"limitId\": \"7692\",\r\n \"availableLimit\": \"250000.00\",\r\n \"isIndividualLimit\": \"\",\r\n \"indivdualAmountID\": \"109895\",\r\n \"amount\": \"250000.00\",\r\n \"frequency\": \"999\",\r\n \"limitType\": \"01\",\r\n \"remainingFrequency\": \"999\",\r\n \"cycleType\": \"Day\",\r\n \"cycleLength\": \"1\",\r\n \"frequencyType\": \"Day\",\r\n \"frequencyLength\": \"1\",\r\n \"channelsTransactions\": [\r\n {\r\n \"channels\": \"0001\",\r\n \ \"channelName\": \"ATM\",\r\n \"transaction\": \"C5\",\r\n \"transactionName\": \"Credit Card Account Payment\"\r\n }\r\n ],\r\n \"key\": \"17115013\",\r\n \"example\": null,\r\n \"isStandIn\": \"0\",\r\n \"transactionCode\": \"00\",\r\n \"maxIndvLimit\": \"500000.00\",\r\n \"cycleBeginDate\": \"20220520\"\r\n }\r\n \ ]\r\n }" Error Response: description: "" type: object properties: ResponseCode: type: string ResponseDesc: type: string example: ResponseCode: "99" ResponseDesc: Failed Response Body: description: "" type: object properties: values: type: array items: properties: limitId: type: string availableLimit: type: string isIndividualLimit: type: string indivdualAmountID: type: string amount: type: string frequency: type: string limitType: type: string remainingFrequency: type: string cycleType: type: string cycleLength: type: string frequencyType: type: string frequencyLength: type: string channelsTransactions: type: array items: properties: channels: type: string channelName: type: string transaction: type: string transactionName: type: string type: object key: type: string maxIndvLimit: type: string cycleBeginDate: type: string type: object totalSize: type: string example: values: - limitId: "7692" availableLimit: "250000.00" isIndividualLimit: "" indivdualAmountID: "109894" amount: "250000.00" frequency: "999" limitType: "01" remainingFrequency: "999" cycleType: Day cycleLength: "1" frequencyType: Day frequencyLength: "1" channelsTransactions: - channels: "0001" channelName: ATM transaction: C5 transactionName: Credit Card Account Payment key: "17115013" maxIndvLimit: "500000.00" cycleBeginDate: "20220609" totalSize: "1" x-ibm-endpoints: - endpointUrl: https://apigateway.bankalfalah.com/bankalfalah/sb type: - production - development ...