Enkash Developer Portal
Home
Home
Login
  1. Home
  • Back to home
  • Prepaid Card APIs
  • Encryption & Decryption Guide
  • Auth Token
    POST
  • Create Card Account
    POST
  • Create Gift Card
    POST
  • Create Prepaid Card
    POST
  • Set Card PIN
    POST
  • Load Card Balance
    POST
  • Get Card Account Details
    POST
  • Generate Card OTP
    POST
  • View Card Details
    POST
  • Card Usage Controls
    POST
  • Get Card Usage Limits
    POST
  • Request Card Replacement
    POST
  • Block Card
    POST
  • Order Physical Card
    POST
  • Get Card Details
    POST
  • Get Transaction Details
    POST
  • Get All Transaction details
    POST
  1. Home

Create Prepaid Card

POST
/api/v0/partner/enKashCard
📌
This API allows to create new prepaid cards under a specified card account. It supports issuing physical or virtual cards with customizable details such as cardholder name, account type, and limits

Request

Header Params

Body Params application/json

Example
{
  "companyId": "CEKEP5GSGP",
  "cardAccountId": "CABFIPS",
  "email": "[email protected]",
  "mobile": "6001098801",
  "title": "Mr",
  "firstName": "johny",
  "lastName": "bateman",
  "gender": "M",
  "address": "cda block",
  "address2": "ab colony",
  "city": "kota",
  "state": "Rajasthan",
  "country": "India",
  "pincode": "323307",
  "primaryEnKashCard": false,
  "physicalCard": true,
  "loadAmount": 10,
  "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"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v0/partner/enKashCard' \
--header 'authorization: Bearer 2f68dbbf-519d-4f01-9636-e2421b68f379 ' \
--header 'partnerId: CRXXXXXXX' \
--header 'Content-Type: application/json' \
--data-raw '{
  "companyId": "CEKEP5GSGP",
  "cardAccountId": "CABFIPS",
  "email": "[email protected]",
  "mobile": "6001098801",
  "title": "Mr",
  "firstName": "johny",
  "lastName": "bateman",
  "gender": "M",
  "address": "cda block",
  "address2": "ab colony",
  "city": "kota",
  "state": "Rajasthan",
  "country": "India",
  "pincode": "323307",
  "primaryEnKashCard": false,
  "physicalCard": true,
  "loadAmount": 10,
  "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

🟢200OK
application/json
Body

Example
{
    "code": 0,
    "message": "Success",
    "payload": {
        "enKashCardId": "EKCMB7KAEW",
        "userId": "EKSGAY08",
        "cardAccountId": "CABFIPS",
        "token": "131a73dc83713e010467",
        "maskedNumber": "XXXX XXXX XXXX 8801",
        "expiryMonth": "01",
        "expiryYear": "2027",
        "email": "[email protected]",
        "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": "[email protected]",
        "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
    }
}
🟢200OK
Modified at 2025-05-26 17:22:25
Previous
Create Gift Card
Next
Set Card PIN
Built with