--- swagger: "2.0" info: x-ibm-name: bafapi-card-create-new-card-physical title: BAFAPI Create New Card Physical version: 1.0.0 description: "" schemes: - https basePath: /bafapi-card-create-new-card-physical 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: 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: customerType: type: string example: "00" customerCategory: properties: [] type: string status: properties: [] type: string example: "00" CNIC: properties: [] type: string example: "4220105741165" uniqueIdentifier: properties: [] type: string dateOfBirth: properties: [] type: string example: "19900101" homePhone: properties: [] type: string example: "923242119171" mobileNumber: properties: [] type: string example: "923242119171" fathersName: properties: [] type: string example: Muhammad Ali mothersName: properties: [] type: string example: ADC email: properties: [] type: string example: UPI@TEST.COM company: properties: [] type: string example: Company Name city: properties: [] type: string example: "135" country: properties: [] type: string example: PK homeAddress1: properties: [] type: string example: st Floor, Branchless Department homeAddress2: properties: [] type: string example: Bank Alfalah, Head Office, B.A homeAddress3: properties: [] type: string example: Building, I.I Chundrigar Road, homeAddress4: properties: [] type: string example: Karachi homeAddress5: properties: [] type: string officeAddress1: properties: [] type: string officeAddress2: properties: [] type: string officeAddress3: properties: [] type: string officeAddress4: properties: [] type: string officeAddress5: properties: [] type: string designation: properties: [] type: string firstName: properties: [] type: string example: Muhammad middleName: properties: [] type: string example: TAHA lastName: properties: [] type: string example: Siddiqui BRANCH_CODE: properties: [] type: string example: "3698" passportNo: properties: [] type: string gender: properties: [] type: string example: M homePostalCode: properties: [] type: string officePostalCode: properties: [] type: string province: properties: [] type: string nationality: properties: [] type: string example: Pakistani placeOfBirth: properties: [] type: string title: properties: [] type: string example: Mrs custLanguage: properties: [] type: string primaryProductCode: properties: [] type: string example: "3001" supplementaryProductCode: properties: [] type: string nameOnCard: properties: [] type: string example: Muhammad TAHA supplementaryNameOnCard: properties: [] type: string cardId: properties: [] type: string accountId: properties: [] type: string example: "1000111777711" accountCurrency: properties: [] type: string example: "586" accountType: properties: [] type: string example: "10" terminalId: properties: [] type: string requestId: properties: [] type: string srequestId: properties: [] type: string BILLINGFLAG: properties: [] type: string example: H machineId: properties: [] type: string additionalProperties: false required: - customerType - customerCategory - status - CNIC - uniqueIdentifier - dateOfBirth - homePhone - mobileNumber - fathersName - mothersName - email - company - city - country - homeAddress1 - homeAddress2 - homeAddress3 - homeAddress4 - homeAddress5 - officeAddress1 - officeAddress2 - officeAddress3 - officeAddress4 - officeAddress5 - designation - firstName - middleName - lastName - BRANCH_CODE - passportNo - gender - homePostalCode - officePostalCode - province - nationality - placeOfBirth - title - custLanguage - primaryProductCode - supplementaryProductCode - nameOnCard - supplementaryNameOnCard - cardId - accountId - accountCurrency - accountType - terminalId - requestId - srequestId - BILLINGFLAG - machineId ResponseBody: description: "" type: object properties: CUSTOMERTYPE: type: string STATUS: type: string CNIC: type: string DATEOFBIRTH: type: string HOMEPHONE: type: string MOBILENUMBER: type: string FATHERSNAME: type: string MOTHERSNAME: type: string EMAIL: type: string COMPANY: type: string CITY: type: string COUNTRY: type: string HOMEADDRESS1: type: string HOMEADDRESS2: type: string HOMEADDRESS3: type: string HOMEADDRESS4: type: string HOMEADDRESS5: type: string OFFICEADDRESS1: type: string OFFICEADDRESS2: type: string OFFICEADDRESS3: type: string OFFICEADDRESS4: type: string OFFICEADDRESS5: type: string DESIGNATION: type: string FIRSTNAME: type: string MIDDLENAME: type: string LASTNAME: type: string BILLINGFLAG: type: string BRANCH_CODE: type: string GENDER: type: string HOMEPOSTALCODE: type: string OFFICEPOSTALCODE: type: string PROVINCE: type: string NATIONALITY: type: string PLACEOFBIRTH: type: string TITLE: type: string PRIMARYPRODUCTCODE: type: string SUPPLEMENTARYPRODUCTCODE: type: string NAMEONCARD: type: string cardId: type: string accountId: type: string accountCurrency: type: string accountType: type: string terminalId: type: string example: CUSTOMERTYPE: "00" STATUS: "00" CNIC: "4220105741165" DATEOFBIRTH: "19900101" HOMEPHONE: "23242119171" MOBILENUMBER: "923242119171" FATHERSNAME: M PAPA MOTHERSNAME: ADC EMAIL: UPI@TEST.COM COMPANY: Company Name CITY: "135" COUNTRY: PK HOMEADDRESS1: 1st Floor, Branchless Department, HOMEADDRESS2: Bank Alfalah, Head Office, B.A HOMEADDRESS3: Building, I.I Chundrigar Road, HOMEADDRESS4: Karachi HOMEADDRESS5: "" OFFICEADDRESS1: "" OFFICEADDRESS2: "" OFFICEADDRESS3: "" OFFICEADDRESS4: "" OFFICEADDRESS5: "" DESIGNATION: "" FIRSTNAME: Muhammad MIDDLENAME: TAHA LASTNAME: Siddiqui BILLINGFLAG: H BRANCH_CODE: "3698" GENDER: M HOMEPOSTALCODE: "" OFFICEPOSTALCODE: "" PROVINCE: "" NATIONALITY: Pakistani PLACEOFBIRTH: "" TITLE: Mrs PRIMARYPRODUCTCODE: "3001" SUPPLEMENTARYPRODUCTCODE: "" NAMEONCARD: Muhammad TAHA cardId: "" accountId: "1000111777711" accountCurrency: "586" accountType: "10" terminalId: "" 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 ...