--- swagger: "2.0" info: x-ibm-name: bafapi-card-getsinglecarddetails title: BAFAPI Get Single Card Details version: 1.0.0 description: "" schemes: - https basePath: /bafapi-wallet-getsinglecarddetails 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' definitions: RequestData: properties: CardId: type: string description: Card ID example: "17115013" ChannelId: properties: [] type: string description: Channel ID example: "1010" additionalProperties: false required: - CardId - ChannelId Response Body: description: "" type: object properties: customerId: type: string cardNumber: type: string cardId: type: string nameOnCard: type: string cardProduct: type: string cardProductId: type: string productCategory: type: string cardProductCode: type: string cardCreationDate: type: string cardType: type: string cardCategory: type: string cardStatus: type: string cardStatusCode: type: string maxRetries: type: string retriesLeft: type: string relationshipId: type: string address1: type: string address2: type: string statusReason: type: string expiryDate: type: string example: customerId: "1000000045125" cardNumber: "4213397001408447" cardId: "15998824" nameOnCard: AMMAD ISHAQUE cardProduct: MAG VISA CLASSIC cardProductId: "620" productCategory: "00" cardProductCode: "0201" cardCreationDate: "20140805" cardType: Primary cardCategory: "00" cardStatus: Hot cardStatusCode: "02" maxRetries: "3" retriesLeft: "3" relationshipId: 4025830030075686=1908 address1: HOMEADDRESS1 address2: HOMEADDRESS2 statusReason: Iris Configured expiryDate: "20190831" 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 ...