# Create Reloadable Prepaid Card 

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/partner/enKashCard:
    post:
      summary: 'Create Reloadable Prepaid Card '
      deprecated: false
      description: >-

        :::highlight purple 📌

        This API allows you to create new prepaid cards, supporting both
        physical and virtual cards.

        :::
      operationId: createEnKashCard
      tags:
        - Prepaid Cards/APIs - Prepaid Card/Reloadable Prepaid Cards
      parameters:
        - name: authorization
          in: header
          description: >-
            Provide your bearer token in the Authorization header when making
            requests to protected resources.
          required: true
          example: 'Bearer 2f68dbbf-519d-4f01-9636-e2421b68f379 '
          schema:
            type: string
        - name: partnerId
          in: header
          description: PartnerID shared during sign-up
          required: true
          example: CRXXXXXXX
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              description: Encrypted request payload string
              $ref: '#/components/schemas/CreatePrepaidCardRequest'
            example:
              companyId: CEKEP5GSGP
              cardAccountId: CABFIPS
              email: anay.soni12@enkash.com
              mobile: '6001098801'
              title: Mr
              firstName: johny
              lastName: bateman
              gender: M
              primaryEnKashCard: false
              physicalCard: true
              remarks: string
              physicalDeliveryAddressFlag: true
              deliveryAddress: test
              deliveryAddress2: test
              deliveryCity: test
              deliveryState: test
              deliveryCountry: test
              deliveryPincode: '323309'
              documents:
                - docType: PAN
                  docNo: CPNPN9977R
              specialDate: 02-09-2001
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                x-apidog-refs:
                  01KDFCG01670Y5A0BTA357YFC6:
                    $ref: '#/components/schemas/EnKashCardResponse'
                    x-apidog-overrides:
                      userId: null
                x-apidog-orders:
                  - 01KDFCG01670Y5A0BTA357YFC6
                properties:
                  enKashCardId:
                    type: string
                  cardAccountId:
                    type: string
                  token:
                    type: string
                  maskedNumber:
                    type: string
                  expiryMonth:
                    type: string
                  expiryYear:
                    type: string
                  email:
                    type: string
                  mobile:
                    type: string
                  title:
                    type: string
                  firstName:
                    type: string
                  lastName:
                    type: string
                  gender:
                    type: string
                  specialDate:
                    type: string
                  address:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  state:
                    type: string
                  country:
                    type: string
                  pincode:
                    type: string
                  mtd:
                    type: number
                  usedMtd:
                    type: number
                  dtd:
                    type: number
                  usedDtd:
                    type: number
                  ytd:
                    type: number
                  usedYtd:
                    type: number
                  otbBalance:
                    type: number
                  primaryCard:
                    type: boolean
                  prepaidCard:
                    type: boolean
                  physicalCard:
                    type: boolean
                  deleted:
                    type: boolean
                  closedLoopCard:
                    type: boolean
                  createdOn:
                    type: string
                    format: date-time
                  modifiedOn:
                    type: string
                    format: date-time
                  cardStatus: &ref_0
                    $ref: '#/components/schemas/EnumModel'
                  kycStatus: *ref_0
                  cardProgramme:
                    type: string
                    enum:
                      - FBENKASH
                      - SBM
                      - MAXIMUS
                      - TRANSCORP
                      - ENKASH
                      - FINCARE
                  idProof:
                    type: string
                  addressProof:
                    type: string
                  pan:
                    type: string
                  useAccountFunds:
                    type: boolean
                  blockCode:
                    type: string
                    enum:
                      - A
                      - Z
                      - C
                      - D
                      - B
                      - E
                      - F
                      - G
                      - H
                      - I
                      - J
                      - K
                      - L
                      - M
                      - 'N'
                      - O
                      - P
                      - Q
                      - R
                      - S
                      - T
                      - U
                      - V
                      - W
                      - X
                      - 'Y'
                      - CO
                      - WO
                  remarks:
                    type: string
                  partnerLogo:
                    type: string
                  cardKitNumber:
                    type: string
                  physicalCardRequestDate:
                    type: string
                    format: date-time
                  physicalDeliveryAddressFlag:
                    type: boolean
                  deliveryAddress:
                    type: string
                  deliveryAddress2:
                    type: string
                  deliveryCity:
                    type: string
                  deliveryState:
                    type: string
                  deliveryCountry:
                    type: string
                  deliveryPincode:
                    type: string
                  cardActivated:
                    type: boolean
                  binType: *ref_0
                  shareCode:
                    type: string
                  kycReason:
                    type: string
                  loadAmount:
                    type: number
                  companyId:
                    type: string
                  middleName:
                    type: string
                  cardKitMasterId:
                    type: integer
                    format: int64
                  extEntityId:
                    type: string
                  switchProvider:
                    type: string
                    enum:
                      - M2P
                      - MAXIMUS
                      - EK_CLOSEDLOOP_CREDIT
                      - M2P_TRANSCORP
                      - M2P_FINCARE
                  kycSubmittedOn:
                    type: string
                    format: date-time
                  kycType: *ref_0
                  accountBalance:
                    type: number
                  physicalCardAllowed:
                    type: boolean
                  kitType: *ref_0
                  surchargeAmt:
                    type: number
                  panValidated:
                    type: boolean
                  invoiceNumber:
                    type: string
                  usedLtd:
                    type: number
                  latestTnCVersionAccepted:
                    type: boolean
                  latestKeyFactAccepted:
                    type: boolean
                  latestTnCVersionAcceptedForPrimaryCard:
                    type: boolean
                  latestKeyFactAcceptedCardForPrimaryCard:
                    type: boolean
                  tncVersionMasterId:
                    type: string
                  tncVersion:
                    type: string
                  tncUrl:
                    type: string
                  keyFactSheetUrl:
                    type: string
                  acceptanceByDate:
                    type: string
                    format: date-time
                  primaryEnKashCardId:
                    type: string
                  primaryEnKashCardUserId:
                    type: string
                  virtualAccountNumber:
                    type: string
                  limitAllocatedLtd:
                    type: number
                  posAllowed:
                    type: boolean
                  posAllowedAdmin:
                    type: boolean
                  atmAllowed:
                    type: boolean
                  atmAllowedAdmin:
                    type: boolean
                  onlineAllowed:
                    type: boolean
                  onlineAllowedAdmin:
                    type: boolean
                  ckycNumber:
                    type: string
                  liveImage:
                    type: boolean
                  livenessScore:
                    type: number
                  faceMatch:
                    type: string
                  faceMatchScore:
                    type: number
                  ckycAccountType:
                    type: string
                  unallocateFundAllowed:
                    type: boolean
                  useParentFundAllowed:
                    type: boolean
                  defaultCardImage:
                    type: string
                  vcipLink:
                    type: string
                  qrImageUrl:
                    type: string
                  vcipId:
                    type: string
                  minKycOtpVerified:
                    type: boolean
                  kycSubStatus: *ref_0
                  enKashSupportEmail:
                    type: string
                  enKashSupportMobile:
                    type: string
                  companyName:
                    type: string
                  accountType: *ref_0
                  lastAllocatedAmount:
                    type: number
                  holdBalance:
                    type: number
                  enableHoldAmount:
                    type: boolean
                  enkashCardTxnId:
                    type: string
                  unAllocateHoldBalance:
                    type: number
                  tncUnAllocateAllowed:
                    type: boolean
                  tncUnAllocateAccepted:
                    type: boolean
                  minTransactionAmount:
                    type: number
                  totalRewardsReceived:
                    type: integer
                    format: int32
                  latestRewardType:
                    type: string
                    enum:
                      - OCCASION
                      - PERFORMANCE
                  rewardPointsReceived:
                    type: number
                  vkycAllowed:
                    type: boolean
                  ckycEnabled:
                    type: boolean
                x-apidog-ignore-properties:
                  - enKashCardId
                  - cardAccountId
                  - token
                  - maskedNumber
                  - expiryMonth
                  - expiryYear
                  - email
                  - mobile
                  - title
                  - firstName
                  - lastName
                  - gender
                  - specialDate
                  - address
                  - address2
                  - city
                  - state
                  - country
                  - pincode
                  - mtd
                  - usedMtd
                  - dtd
                  - usedDtd
                  - ytd
                  - usedYtd
                  - otbBalance
                  - primaryCard
                  - prepaidCard
                  - physicalCard
                  - deleted
                  - closedLoopCard
                  - createdOn
                  - modifiedOn
                  - cardStatus
                  - kycStatus
                  - cardProgramme
                  - idProof
                  - addressProof
                  - pan
                  - useAccountFunds
                  - blockCode
                  - remarks
                  - partnerLogo
                  - cardKitNumber
                  - physicalCardRequestDate
                  - physicalDeliveryAddressFlag
                  - deliveryAddress
                  - deliveryAddress2
                  - deliveryCity
                  - deliveryState
                  - deliveryCountry
                  - deliveryPincode
                  - cardActivated
                  - binType
                  - shareCode
                  - kycReason
                  - loadAmount
                  - companyId
                  - middleName
                  - cardKitMasterId
                  - extEntityId
                  - switchProvider
                  - kycSubmittedOn
                  - kycType
                  - accountBalance
                  - physicalCardAllowed
                  - kitType
                  - surchargeAmt
                  - panValidated
                  - invoiceNumber
                  - usedLtd
                  - latestTnCVersionAccepted
                  - latestKeyFactAccepted
                  - latestTnCVersionAcceptedForPrimaryCard
                  - latestKeyFactAcceptedCardForPrimaryCard
                  - tncVersionMasterId
                  - tncVersion
                  - tncUrl
                  - keyFactSheetUrl
                  - acceptanceByDate
                  - primaryEnKashCardId
                  - primaryEnKashCardUserId
                  - virtualAccountNumber
                  - limitAllocatedLtd
                  - posAllowed
                  - posAllowedAdmin
                  - atmAllowed
                  - atmAllowedAdmin
                  - onlineAllowed
                  - onlineAllowedAdmin
                  - ckycNumber
                  - liveImage
                  - livenessScore
                  - faceMatch
                  - faceMatchScore
                  - ckycAccountType
                  - unallocateFundAllowed
                  - useParentFundAllowed
                  - defaultCardImage
                  - vcipLink
                  - qrImageUrl
                  - vcipId
                  - minKycOtpVerified
                  - kycSubStatus
                  - enKashSupportEmail
                  - enKashSupportMobile
                  - companyName
                  - accountType
                  - lastAllocatedAmount
                  - holdBalance
                  - enableHoldAmount
                  - enkashCardTxnId
                  - unAllocateHoldBalance
                  - tncUnAllocateAllowed
                  - tncUnAllocateAccepted
                  - minTransactionAmount
                  - totalRewardsReceived
                  - latestRewardType
                  - rewardPointsReceived
                  - vkycAllowed
                  - ckycEnabled
              examples:
                '1':
                  summary: Success
                  value:
                    code: 0
                    message: Success
                    payload:
                      enKashCardId: EKCWLUAADN
                      cardAccountId: CAC7975
                      title: Mr
                      firstName: Kris
                      lastName: Singh
                      otbBalance: 0
                      cardStatus:
                        name: UL
                        label: UnLocked
                      kycStatus:
                        name: NOT_UPLOADED
                        label: Not Uploaded
                      partnerTncUrl: string
                '2':
                  summary: Success
                  value:
                    code: 0
                    message: Success
                    payload:
                      enKashCardId: EKCMB7KAEW
                      userId: EKSGAY08
                      cardAccountId: CABFIPS
                      token: 131a73dc83713e010467
                      maskedNumber: XXXX XXXX XXXX 8801
                      expiryMonth: '01'
                      expiryYear: '2027'
                      email: anay.soni12@enkash.com
                      mobile: '6001098801'
                      title: Mr
                      firstName: Johny
                      lastName: Bateman
                      gender: M
                      specialDate: 02-09-2001
                      address: cda block
                      address2: ab colony
                      city: kota
                      state: Rajasthan
                      country: India
                      pincode: '323307'
                      usedMtd: 0
                      usedDtd: 0
                      usedYtd: 0
                      otbBalance: 0
                      primaryCard: true
                      prepaidCard: true
                      physicalCard: true
                      deleted: false
                      closedLoopCard: false
                      createdOn: Jan 29, 2025 1:50:28 PM
                      modifiedOn: Jan 29, 2025 1:50:28 PM
                      cardStatus:
                        name: UL
                        label: UnLocked
                      kycStatus:
                        name: NOT_UPLOADED
                        label: Not Uploaded
                      cardProgramme: ENKASH
                      pan: CPNPN9977R
                      useAccountFunds: false
                      blockCode: A
                      remarks: string
                      partnerLogo: https://imagesbox.enkash.in/IMAGES/EnkashLogo.png
                      cardKitNumber: card_0da321f7-b89d-44d6-b8f7-988c02f44d75
                      physicalCardRequestDate: Jan 29, 2025 1:50:28 PM
                      physicalDeliveryAddressFlag: true
                      deliveryAddress: test
                      deliveryAddress2: test
                      deliveryCity: test
                      deliveryState: test
                      deliveryCountry: test
                      deliveryPincode: '323309'
                      cardActivated: false
                      binType:
                        name: PREPAID
                        label: Prepaid Card
                      loadAmount: 10
                      companyId: CEKEP5GSGP
                      cardKitMasterId: 1
                      extEntityId: EXTG5PGLLJOER
                      switchProvider: PAY_NEXT
                      accountBalance: 0
                      physicalCardAllowed: false
                      kitType:
                        name: RUPAY
                        label: Rupay
                      surchargeAmt: 0
                      panValidated: false
                      usedLtd: 0
                      latestTnCVersionAccepted: true
                      latestKeyFactAccepted: true
                      latestTnCVersionAcceptedForPrimaryCard: true
                      latestKeyFactAcceptedCardForPrimaryCard: true
                      tncVersionMasterId: TVMWVTUADW
                      tncUrl: imagesbox.enkash.in/IMAGES/PPI_T&C.pdf
                      acceptanceByDate:
                        date:
                          year: 2023
                          month: 1
                          day: 5
                        time:
                          hour: 6
                          minute: 55
                          second: 56
                          nano: 884000000
                      virtualAccountNumber: ENKASHEDENEKCMB7KAEW
                      limitAllocatedLtd: 0
                      posAllowed: false
                      posAllowedAdmin: false
                      atmAllowed: false
                      atmAllowedAdmin: false
                      onlineAllowed: false
                      onlineAllowedAdmin: false
                      liveImage: false
                      cKycEnabled: false
                      unallocateFundAllowed: true
                      useParentFundAllowed: true
                      defaultCardImage: https://imagesbox.enkash.in/IMAGES/enkash_ppi.png
                      minKycOtpVerified: false
                      enKashSupportEmail: support@enkash.com
                      enKashSupportMobile: '1234567890'
                      companyName: Anay Prepaid
                      vKycAllowed: true
                      accountType:
                        name: RELOADABLE_GPR
                        label: Reloadable GPR
                        description: Prepaid
                      lastAllocatedAmount: 0
                      holdBalance: 0
                      enkashCardTxnId: ECT1LDDPS37CJ
                      unAllocateHoldBalance: 0
                      tncUnAllocateAllowed: false
                      tncUnAllocateAccepted: false
          headers: {}
          x-apidog-name: OK
        x-200:OK:
          description: ''
          content:
            application/json:
              schema:
                title: ''
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  payload:
                    type: object
                    properties:
                      enKashCardId:
                        type: string
                        description: Enkash Card ID
                      userId:
                        type: string
                        description: Enkash User Id
                      cardAccountId:
                        type: string
                        description: Unique Card Account Id
                      maskedNumber:
                        type: string
                        description: Card Number masked
                      expiryMonth:
                        type: string
                        description: Expiry month of card
                      expiryYear:
                        type: string
                        description: Expiry year of card
                      title:
                        type: string
                        description: Mr/Mrs/Ms
                      firstName:
                        type: string
                        description: First Name of user
                      lastName:
                        type: string
                        description: Last name of user
                      gender:
                        type: string
                        description: Gender of card holder
                      otbBalance:
                        type: integer
                        description: Available Card Balance
                      cardStatus:
                        type: object
                        properties:
                          name:
                            type: string
                          label:
                            type: string
                        required:
                          - name
                          - label
                        x-apidog-orders:
                          - name
                          - label
                        description: "\tL(\"Locked\"), UL(\"UnLocked\"), BL(\"Blocked\"),AP(\"Activation InProgress\");\n"
                        x-apidog-ignore-properties: []
                      kycStatus:
                        type: object
                        properties:
                          name:
                            type: string
                          label:
                            type: string
                        required:
                          - name
                          - label
                        x-apidog-orders:
                          - name
                          - label
                        description: >-
                          VERIFIED, PENDING, FAILED, UPLOADED, CKYC_IN_PROGRESS,
                          CKYC_PENDING, LIVENESS_PENDING, NOT_UPLOADED,
                          OSV_VERIFIED, PAPER_KYC_PENDING, MIN_KYC_VERIFIED,
                          KYC_NOT_ALLOWED, DRAFTED, CREATED
                        x-apidog-ignore-properties: []
                      companyId:
                        type: string
                        description: Company Id
                    required:
                      - enKashCardId
                      - userId
                      - cardAccountId
                      - maskedNumber
                      - expiryMonth
                      - expiryYear
                      - title
                      - firstName
                      - lastName
                      - gender
                      - otbBalance
                      - cardStatus
                      - kycStatus
                      - companyId
                    x-apidog-orders:
                      - enKashCardId
                      - userId
                      - cardAccountId
                      - maskedNumber
                      - expiryMonth
                      - expiryYear
                      - title
                      - firstName
                      - lastName
                      - gender
                      - otbBalance
                      - cardStatus
                      - kycStatus
                      - companyId
                    x-apidog-ignore-properties: []
                x-apidog-orders:
                  - 01JJSMBTW8YGB47BYRQ582D7YS
                required:
                  - code
                  - message
                  - payload
                x-apidog-refs:
                  01JJSMBTW8YGB47BYRQ582D7YS:
                    $ref: '#/components/schemas/Create%20Enkash%20Card%20Response'
                x-apidog-ignore-properties:
                  - code
                  - message
                  - payload
          headers: {}
          x-apidog-name: OK
      security: []
      x-apidog-folder: Prepaid Cards/APIs - Prepaid Card/Reloadable Prepaid Cards
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-13438387-run
components:
  schemas:
    CreatePrepaidCardRequest:
      required:
        - companyId
        - cardAccountId
      type: object
      properties:
        userId:
          type: string
          description: >-
            Unique EnKash User ID. This is the ID assigned to a user created in
            a company.
        companyId:
          type: string
          description: >-
            Unique EnKash Company ID. This is the ID assigned to a company
            onboarded on the EnKash platform.
        cardAccountId:
          type: string
          description: >-
            Unique EnKash Account ID. This is the ID assigned to the account
            created under the company.
        email:
          type: string
          description: Email address of the user.
          pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
        mobile:
          type: string
          minLength: 10
          maxLength: 10
          pattern: ^\d{10}$
          description: 10-digit mobile number of the user.
        title:
          type: string
          description: Title of the user (e.g., Mr., Ms.).
        firstName:
          type: string
          description: First name of the user.
        middleName:
          type: string
          description: Middle name of the user.
        lastName:
          type: string
          description: Last name of the user.
        gender:
          type: string
          description: Gender of the user.
        specialDate:
          type: string
          description: Special date associated with the user (birthday date).
        address:
          type: string
          description: Primary address of the user.
        address2:
          type: string
          description: Address second line
        city:
          type: string
          description: City of the user's address.
        state:
          type: string
          description: State of the user's address.
        country:
          type: string
          description: Country of the user's address.
        pincode:
          type: string
          description: Postal code of the user's address.
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentsDTO'
          description: List of documents associated with the user.
        physicalCard:
          type: boolean
          description: Indicates if a physical card is required while card issuance.
        physicalDeliveryAddressFlag:
          type: boolean
          description: >-
            Indicates if the delivery address is different from the primary
            address
        deliveryAddress:
          type: string
          description: Primary delivery address
        deliveryAddress2:
          type: string
          description: Second line of delivery address
        deliveryCity:
          type: string
          description: City of the delivery address.
        deliveryState:
          type: string
          description: State of the delivery address.
        deliveryCountry:
          type: string
          description: Country of the delivery address.
        deliveryPincode:
          type: string
          description: Postal code of the delivery address.
      x-apidog-orders:
        - userId
        - companyId
        - cardAccountId
        - email
        - mobile
        - title
        - firstName
        - middleName
        - lastName
        - gender
        - specialDate
        - address
        - address2
        - city
        - state
        - country
        - pincode
        - documents
        - physicalCard
        - physicalDeliveryAddressFlag
        - deliveryAddress
        - deliveryAddress2
        - deliveryCity
        - deliveryState
        - deliveryCountry
        - deliveryPincode
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    DocumentsDTO:
      required:
        - docType
        - docNo
      type: object
      properties:
        docType:
          type: string
          description: Type of the document (e.g., PAN, AADHAAR).
        docNo:
          type: string
          description: Document number.
        docExpDate:
          type: string
          description: Document expiration date.
      x-apidog-orders:
        - docType
        - docNo
        - docExpDate
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    EnumModel:
      type: object
      properties:
        name:
          type: object
          x-apidog-orders: []
          properties: {}
          x-apidog-ignore-properties: []
        label:
          type: string
        description:
          type: string
        subModels:
          type: array
          items:
            $ref: '#/components/schemas/SubModel'
        minValue:
          type: number
        maxValue:
          type: number
      x-apidog-orders:
        - name
        - label
        - description
        - subModels
        - minValue
        - maxValue
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    SubModel:
      type: object
      x-apidog-orders: []
      properties: {}
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    EnKashCardResponse:
      type: object
      properties:
        enKashCardId:
          type: string
        userId:
          type: string
        cardAccountId:
          type: string
        token:
          type: string
        maskedNumber:
          type: string
        expiryMonth:
          type: string
        expiryYear:
          type: string
        email:
          type: string
        mobile:
          type: string
        title:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        gender:
          type: string
        specialDate:
          type: string
        address:
          type: string
        address2:
          type: string
        city:
          type: string
        state:
          type: string
        country:
          type: string
        pincode:
          type: string
        mtd:
          type: number
        usedMtd:
          type: number
        dtd:
          type: number
        usedDtd:
          type: number
        ytd:
          type: number
        usedYtd:
          type: number
        otbBalance:
          type: number
        primaryCard:
          type: boolean
        prepaidCard:
          type: boolean
        physicalCard:
          type: boolean
        deleted:
          type: boolean
        closedLoopCard:
          type: boolean
        createdOn:
          type: string
          format: date-time
        modifiedOn:
          type: string
          format: date-time
        cardStatus: *ref_0
        kycStatus: *ref_0
        cardProgramme:
          type: string
          enum:
            - FBENKASH
            - SBM
            - MAXIMUS
            - TRANSCORP
            - ENKASH
            - FINCARE
        idProof:
          type: string
        addressProof:
          type: string
        pan:
          type: string
        useAccountFunds:
          type: boolean
        blockCode:
          type: string
          enum:
            - A
            - Z
            - C
            - D
            - B
            - E
            - F
            - G
            - H
            - I
            - J
            - K
            - L
            - M
            - 'N'
            - O
            - P
            - Q
            - R
            - S
            - T
            - U
            - V
            - W
            - X
            - 'Y'
            - CO
            - WO
        remarks:
          type: string
        partnerLogo:
          type: string
        cardKitNumber:
          type: string
        physicalCardRequestDate:
          type: string
          format: date-time
        physicalDeliveryAddressFlag:
          type: boolean
        deliveryAddress:
          type: string
        deliveryAddress2:
          type: string
        deliveryCity:
          type: string
        deliveryState:
          type: string
        deliveryCountry:
          type: string
        deliveryPincode:
          type: string
        cardActivated:
          type: boolean
        binType: *ref_0
        shareCode:
          type: string
        kycReason:
          type: string
        loadAmount:
          type: number
        companyId:
          type: string
        middleName:
          type: string
        cardKitMasterId:
          type: integer
          format: int64
        extEntityId:
          type: string
        switchProvider:
          type: string
          enum:
            - M2P
            - MAXIMUS
            - EK_CLOSEDLOOP_CREDIT
            - M2P_TRANSCORP
            - M2P_FINCARE
        kycSubmittedOn:
          type: string
          format: date-time
        kycType: *ref_0
        accountBalance:
          type: number
        physicalCardAllowed:
          type: boolean
        kitType: *ref_0
        surchargeAmt:
          type: number
        panValidated:
          type: boolean
        invoiceNumber:
          type: string
        usedLtd:
          type: number
        latestTnCVersionAccepted:
          type: boolean
        latestKeyFactAccepted:
          type: boolean
        latestTnCVersionAcceptedForPrimaryCard:
          type: boolean
        latestKeyFactAcceptedCardForPrimaryCard:
          type: boolean
        tncVersionMasterId:
          type: string
        tncVersion:
          type: string
        tncUrl:
          type: string
        keyFactSheetUrl:
          type: string
        acceptanceByDate:
          type: string
          format: date-time
        primaryEnKashCardId:
          type: string
        primaryEnKashCardUserId:
          type: string
        virtualAccountNumber:
          type: string
        limitAllocatedLtd:
          type: number
        posAllowed:
          type: boolean
        posAllowedAdmin:
          type: boolean
        atmAllowed:
          type: boolean
        atmAllowedAdmin:
          type: boolean
        onlineAllowed:
          type: boolean
        onlineAllowedAdmin:
          type: boolean
        ckycNumber:
          type: string
        liveImage:
          type: boolean
        livenessScore:
          type: number
        faceMatch:
          type: string
        faceMatchScore:
          type: number
        ckycAccountType:
          type: string
        unallocateFundAllowed:
          type: boolean
        useParentFundAllowed:
          type: boolean
        defaultCardImage:
          type: string
        vcipLink:
          type: string
        qrImageUrl:
          type: string
        vcipId:
          type: string
        minKycOtpVerified:
          type: boolean
        kycSubStatus: *ref_0
        enKashSupportEmail:
          type: string
        enKashSupportMobile:
          type: string
        companyName:
          type: string
        accountType: *ref_0
        lastAllocatedAmount:
          type: number
        holdBalance:
          type: number
        enableHoldAmount:
          type: boolean
        enkashCardTxnId:
          type: string
        unAllocateHoldBalance:
          type: number
        tncUnAllocateAllowed:
          type: boolean
        tncUnAllocateAccepted:
          type: boolean
        minTransactionAmount:
          type: number
        totalRewardsReceived:
          type: integer
          format: int32
        latestRewardType:
          type: string
          enum:
            - OCCASION
            - PERFORMANCE
        rewardPointsReceived:
          type: number
        vkycAllowed:
          type: boolean
        ckycEnabled:
          type: boolean
      x-apidog-orders:
        - enKashCardId
        - userId
        - cardAccountId
        - token
        - maskedNumber
        - expiryMonth
        - expiryYear
        - email
        - mobile
        - title
        - firstName
        - lastName
        - gender
        - specialDate
        - address
        - address2
        - city
        - state
        - country
        - pincode
        - mtd
        - usedMtd
        - dtd
        - usedDtd
        - ytd
        - usedYtd
        - otbBalance
        - primaryCard
        - prepaidCard
        - physicalCard
        - deleted
        - closedLoopCard
        - createdOn
        - modifiedOn
        - cardStatus
        - kycStatus
        - cardProgramme
        - idProof
        - addressProof
        - pan
        - useAccountFunds
        - blockCode
        - remarks
        - partnerLogo
        - cardKitNumber
        - physicalCardRequestDate
        - physicalDeliveryAddressFlag
        - deliveryAddress
        - deliveryAddress2
        - deliveryCity
        - deliveryState
        - deliveryCountry
        - deliveryPincode
        - cardActivated
        - binType
        - shareCode
        - kycReason
        - loadAmount
        - companyId
        - middleName
        - cardKitMasterId
        - extEntityId
        - switchProvider
        - kycSubmittedOn
        - kycType
        - accountBalance
        - physicalCardAllowed
        - kitType
        - surchargeAmt
        - panValidated
        - invoiceNumber
        - usedLtd
        - latestTnCVersionAccepted
        - latestKeyFactAccepted
        - latestTnCVersionAcceptedForPrimaryCard
        - latestKeyFactAcceptedCardForPrimaryCard
        - tncVersionMasterId
        - tncVersion
        - tncUrl
        - keyFactSheetUrl
        - acceptanceByDate
        - primaryEnKashCardId
        - primaryEnKashCardUserId
        - virtualAccountNumber
        - limitAllocatedLtd
        - posAllowed
        - posAllowedAdmin
        - atmAllowed
        - atmAllowedAdmin
        - onlineAllowed
        - onlineAllowedAdmin
        - ckycNumber
        - liveImage
        - livenessScore
        - faceMatch
        - faceMatchScore
        - ckycAccountType
        - unallocateFundAllowed
        - useParentFundAllowed
        - defaultCardImage
        - vcipLink
        - qrImageUrl
        - vcipId
        - minKycOtpVerified
        - kycSubStatus
        - enKashSupportEmail
        - enKashSupportMobile
        - companyName
        - accountType
        - lastAllocatedAmount
        - holdBalance
        - enableHoldAmount
        - enkashCardTxnId
        - unAllocateHoldBalance
        - tncUnAllocateAllowed
        - tncUnAllocateAccepted
        - minTransactionAmount
        - totalRewardsReceived
        - latestRewardType
        - rewardPointsReceived
        - vkycAllowed
        - ckycEnabled
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Create Enkash Card Response:
      type: object
      properties:
        code:
          type: integer
        message:
          type: string
        payload:
          type: object
          properties:
            enKashCardId:
              type: string
              description: Enkash Card ID
            userId:
              type: string
              description: Enkash User Id
            cardAccountId:
              type: string
              description: Unique Card Account Id
            maskedNumber:
              type: string
              description: Card Number masked
            expiryMonth:
              type: string
              description: Expiry month of card
            expiryYear:
              type: string
              description: Expiry year of card
            title:
              type: string
              description: Mr/Mrs/Ms
            firstName:
              type: string
              description: First Name of user
            lastName:
              type: string
              description: Last name of user
            gender:
              type: string
              description: Gender of card holder
            otbBalance:
              type: integer
              description: Available Card Balance
            cardStatus:
              type: object
              properties:
                name:
                  type: string
                label:
                  type: string
              required:
                - name
                - label
              x-apidog-orders:
                - name
                - label
              description: "\tL(\"Locked\"), UL(\"UnLocked\"), BL(\"Blocked\"),AP(\"Activation InProgress\");\n"
              x-apidog-ignore-properties: []
            kycStatus:
              type: object
              properties:
                name:
                  type: string
                label:
                  type: string
              required:
                - name
                - label
              x-apidog-orders:
                - name
                - label
              description: >-
                VERIFIED, PENDING, FAILED, UPLOADED, CKYC_IN_PROGRESS,
                CKYC_PENDING, LIVENESS_PENDING, NOT_UPLOADED, OSV_VERIFIED,
                PAPER_KYC_PENDING, MIN_KYC_VERIFIED, KYC_NOT_ALLOWED, DRAFTED,
                CREATED
              x-apidog-ignore-properties: []
            companyId:
              type: string
              description: Company Id
          required:
            - enKashCardId
            - userId
            - cardAccountId
            - maskedNumber
            - expiryMonth
            - expiryYear
            - title
            - firstName
            - lastName
            - gender
            - otbBalance
            - cardStatus
            - kycStatus
            - companyId
          x-apidog-orders:
            - enKashCardId
            - userId
            - cardAccountId
            - maskedNumber
            - expiryMonth
            - expiryYear
            - title
            - firstName
            - lastName
            - gender
            - otbBalance
            - cardStatus
            - kycStatus
            - companyId
          x-apidog-ignore-properties: []
      required:
        - code
        - message
        - payload
      x-apidog-orders:
        - code
        - message
        - payload
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
