# Create Non Reloadable Gift Card

## OpenAPI Specification

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

        :::highlight purple 📌

        This API allows you to create new gift cards under a specified card
        account. It supports issuing physical or virtual cards with configurable
        details such as cardholder name and account type. A load amount is
        mandatory to create a gift card.

        :::
      operationId: createEnKashCard
      tags:
        - Prepaid Cards/APIs - Prepaid Card/Non Reloadable Gift 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
              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).
                loadAmount:
                  type: string
                  description: Amount to be loaded in card
              x-apidog-refs: {}
              x-apidog-orders:
                - userId
                - companyId
                - cardAccountId
                - email
                - mobile
                - title
                - firstName
                - middleName
                - lastName
                - gender
                - specialDate
                - loadAmount
              required:
                - companyId
                - cardAccountId
                - email
                - mobile
                - firstName
                - loadAmount
              x-apidog-ignore-properties: []
            example: ''
      responses:
        '200':
          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:
                  - 01JJSKMEW7DWBV0GJJXS1K4QJR
                required:
                  - code
                  - message
                  - payload
                x-apidog-refs:
                  01JJSKMEW7DWBV0GJJXS1K4QJR:
                    $ref: '#/components/schemas/Create%20Enkash%20Card%20Response'
                x-apidog-ignore-properties:
                  - code
                  - message
                  - payload
              example:
                code: 0
                message: Success
                payload:
                  enKashCardId: EKC94AEX89
                  userId: EK94JCMP
                  cardAccountId: CAA8W45
                  maskedNumber: XXXX XXXX XXXX 3211
                  expiryMonth: '01'
                  expiryYear: '2027'
                  email: johnnydew@enkash.com
                  mobile: '6876543211'
                  title: Mr
                  firstName: Johnny
                  lastName: Dew
                  gender: M
                  specialDate: '2000-02-14'
                  address: 123 Street Name
                  address2: Apt 456
                  city: Pune
                  state: Maharashtra
                  country: India
                  pincode: '323908'
                  usedMtd: 0
                  usedDtd: 0
                  usedYtd: 0
                  otbBalance: 500
                  createdOn: Jan 29, 2025 11:57:51 AM
                  modifiedOn: Jan 29, 2025 11:57:51 AM
                  cardStatus:
                    name: UL
                    label: UnLocked
                  kycStatus:
                    name: NOT_UPLOADED
                    label: Not Uploaded
                  blockCode: A
                  remarks: This is a test card
                  physicalDeliveryAddressFlag: true
                  deliveryAddress: 789 Delivery St
                  deliveryAddress2: Suite 101
                  deliveryCity: Mumbai
                  deliveryState: Maharashtra
                  deliveryCountry: India
                  deliveryPincode: '323307'
                  cardActivated: false
                  binType:
                    name: GIFT_CARD
                    label: Gift Card
                  loadAmount: 500
                  companyId: CEKEP5GSGP
                  accountBalance: 99500
                  latestTnCVersionAccepted: true
                  latestKeyFactAccepted: false
                  latestTnCVersionAcceptedForPrimaryCard: true
                  latestKeyFactAcceptedCardForPrimaryCard: true
                  tncVersionMasterId: TVMLP1VK8X
                  tncUrl: https://ekpayout-uat.enkash.in/tu/0xl5b7ci
                  virtualAccountNumber: ENKASHEDTCEKC94AEX89
                  limitAllocatedLtd: 0
                  posAllowed: false
                  posAllowedAdmin: false
                  atmAllowed: false
                  atmAllowedAdmin: false
                  onlineAllowed: false
                  onlineAllowedAdmin: false
                  liveImage: false
                  cKycEnabled: false
                  unallocateFundAllowed: false
                  useParentFundAllowed: false
                  defaultCardImage: https://imagesbox.enkash.in/IMAGES/enkash_ppi.png
                  minKycOtpVerified: false
                  enKashSupportEmail: support@enkash.com
                  enKashSupportMobile: '1234567890'
                  companyName: Anay Gift
                  vKycAllowed: false
                  accountType:
                    name: GIFT
                    label: Gift
                    description: Gift
                  lastAllocatedAmount: 0
                  holdBalance: 0
                  enkashCardTxnId: ECTNY27ELILVP
                  tncUnAllocateAllowed: false
                  tncUnAllocateAccepted: false
          headers: {}
          x-apidog-name: OK
      security: []
      x-apidog-folder: Prepaid Cards/APIs - Prepaid Card/Non Reloadable Gift Cards
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-13012983-run
components:
  schemas:
    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: []

```
