--- swagger: "2.0" info: x-ibm-name: DebitCard-CardCreation title: DebitCard_CardCreation version: 1.0.0 contact: name: API Support email: apisupport@federalbank.co.in description: This service is used for creating/registering new card for the given customer id and account number. schemes: - https basePath: /debitCard/v1.0.0 securityDefinitions: appSecret: type: apiKey description: "" in: header name: X-IBM-Client-Secret appId: type: apiKey in: header name: X-IBM-Client-Id security: - appSecret: [] appId: [] x-ibm-configuration: testable: true enforced: true phase: realized paths: /cardCreation: post: responses: 400: description: Error schema: $ref: '#/definitions/Error Response' 500: description: Internal Error schema: $ref: '#/definitions/Error Response' operationId: paylite_statement parameters: - name: req required: true in: body schema: $ref: '#/definitions/Request' definitions: Request: description: "" type: object properties: RespUrl: type: string description: Final response will be posted to this URL SenderCode: type: string description: Hardcoded, will be shared to client at the time of on boarding ServiceAccessId: type: string description: Hardcoded, will be shared to client at the time of on boarding ServiceAccessCode: type: string description: Hardcoded, will be shared to client at the time of on boarding RequestId: type: string description: Only alphanumeric values and '_' is allowed. MobileNumber: type: string description: Only Numeric values (Mobile number with 91 is allowed (91XXXXXXXXXX)) EmbossName: type: string description: Name to be printed on the card. . If no tag then emboss name will be defaulted from customer name. CardType: type: string description: P - Physical Card V – Virtual Card CardSubType: type: string description: Only alphanumeric values are allowed. CustomerId: type: string description: Only alphanumeric values are allowed AccountNumber: type: string description: Only alphanumeric values are allowed example: '{"RespUrl":"https://vnotificationgw.uat.pointz.in/openbanking/card/federal","SenderCode":"Zerodha","ServiceAccessId":"Zerodha","ServiceAccessCode":"Zerodha","RequestId":"CA097839","MobileNumber":"919562034225","EmbossName":"ASHNA E","CardType":"P","CardSubType":"EPIFI","CustomerId":"136254205","AccountNumber":"55550106087248"}' Response: description: "" type: object properties: SenderCode: type: string description: Hardcoded, will be shared to client at the time of on boarding RequestId: type: string description: Only alphanumeric values and '_' is allowed. ResponseCode: type: string ResponseReason: type: string ResponseAction: type: string example: '{"SenderCode":"Zerodha","RequestId":"CA012189","ResponseCode":"CC0000","ResponseReason":"RECEIVED SUCCESSFULLY","ResponseAction":"SUSPECT"}' Error Response: description: "" type: object properties: SenderCode: type: string description: Hardcoded, will be shared to client at the time of on boarding RequestId: type: string description: Only alphanumeric values and '_' is allowed. CardType: type: string description: P - Physical Card V – Virtual Card ResponseCode: type: string ResponseReason: type: string ResponseAction: type: string ErrorList: type: array items: properties: ErrorCode: type: string Reason: type: string type: object example: '{"SenderCode":"Zerodha","RequestId":"CA8710123139","CardType":"P","ResponseCode":"OBE0071","ResponseReason":"System Failure","ResponseAction":"FAILURE","ErrorList":[{"ErrorCode":"F","Reason":"The customer is already having 2 cards in account number 55550100000197."}]}' tags: [] consumes: - application/json produces: - application/json x-ibm-endpoints: - endpointUrl: https://devgateway.federalbank.co.in/fedbnkdev/dev type: - production - development ...