--- swagger: "2.0" info: x-ibm-name: bafapi-card-get-cards-limit title: BAFAPI Get Cards Limit version: 1.0.0 description: "" schemes: - https basePath: /bafapi-card-get-cards-limit 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 clientIdHeader: type: apiKey in: header name: X-IBM-Client-Id clientSecretHeader: type: apiKey in: header name: X-IBM-Client-Secret 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' definitions: RequestData: properties: CardId: type: string example: "17115013" description: Card ID additionalProperties: false required: - CardId 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 type: object totalSize: type: string example: values: - limitId: "7692" availableLimit: "250000.00" isIndividualLimit: "" indivdualAmountID: "109895" 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 - channels: "0001" channelName: ATM transaction: C5 transactionName: Credit Card Account Payment key: "17115013" maxIndvLimit: "100000.00" - limitId: "7692" availableLimit: "250000.00" isIndividualLimit: "" indivdualAmountID: "109895" 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 - channels: "0001" channelName: ATM transaction: C5 transactionName: Credit Card Account Payment key: "17115013" maxIndvLimit: "100000.00" - limitId: "7692" availableLimit: "250000.00" isIndividualLimit: "" indivdualAmountID: "109895" 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 - channels: "0001" channelName: ATM transaction: C5 transactionName: Credit Card Account Payment key: "17115013" maxIndvLimit: "100000.00" totalSize: "3" Error Response: 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 ...