Enkash APIs
HomePayment GatewayPayoutsCreate Account
HomePayment GatewayPayoutsCreate Account
Login
  1. Gift Card
  • EnKash Developer Portal Overview
  • Payment Gateway
    • Payment Gateway Overview
    • Payment Gateway Sign Up
    • Payment Methods
    • Supported Integrations
    • Payment Gateway APIs
    • Web Integration
    • Server to Server Integration
    • Test Card Details
    • Authorization
      • About Authorization
      • Get Authorization Token
    • Orders
      • About Order
      • Create Order
      • Get Order Status
      • Get Order By Merchant Order Id
      • Get BNPL Payment Modes
      • Get Dynamic QR Code
      • UPI Intent Links
    • Payments
      • About Payment
      • Submit Payment Detail
      • Get Transaction Status
      • Validate OTP
      • Resend OTP
      • Payment Notify Request
      • Get UPI Transaction Status
      • Verify VPA
    • Refunds
      • About Refund
      • Refund
    • Settlements
      • About Settlement
      • Settlement Reporting
      • Get Settlement Payout By ID
      • Search Settlement Payouts
    • Split Settlements
      • About Split Settlements
      • Create Split Settlement Account
      • Update Split Settlement Account
      • Get All Split Settlement Account
      • Deactivate Split Settlement Account
      • Activate Split Settlement Account
      • Submit Payment with Split Details
      • Edit/Deferred Split Settlement
    • E-Commerce Plugins
    • Payment Links
    • Payment Button
    • Qr Code
      • Create Qr Code
      • Get QR Code
      • Search QR Code
      • createCustomer
      • searchCustomer
      • Cancel QR Code
    • UPI Mandate
      • Create UPI Mandate
      • Update UPI Mandate
      • Revoke UPI Mandate
      • Get UPI Mandate
      • UPI mandate create callback
      • Mandate Pre-debit Notification
      • Execute mandate debit
      • Mandate Debit callback
  • Payment Links
    • Payment Links Overview
    • Payment Link APIs
    • Payment Link
      • Create Payment Link
      • Get Payment Link Details
      • Delete Payment Link
    • Payment Link Webhook
      • Payment Link Webhook Request
  • Bharat Connect (BBPS)
    • About Bharat Connect
    • B2B Invoicing
      • Invoice
        • Create Invoice
        • Confirm Invoice
        • Status Change Invoice
        • Edit Invoice
      • Payment
        • Pay Invoices
        • Payment Confirmation
      • Financing
        • Request Financing
        • Share Bid
        • Respond Bid
      • Onboarding
        • Register Check Entity
        • Search Entity
        • Register Entity
        • Registration Id
      • cdNote
        • Send CdNote Request
        • Confirm CdNote Request
        • Status Change CdNote Request
      • Purchase Order
        • Send Purchase Order Request
        • Confirm Purchase Order Request
        • Edit Purchase Order Request
        • Status Change Purchase Order Request
      • webhook-invoice
        • Webhook Create Invoice Request
        • Webhook Create Invoice Response
        • Webhook Confirm Invoice Request
        • Webhook Confirm Invoice Response
        • Webhook Status Change Invoice Request
        • Webhook Status Change Invoice Response
        • Webhook Edit Invoice Request
        • Webhook Edit Invoice Response
      • webhook-payments
        • Webhook Payment Request
        • Webhook Payment Confirmation Request
        • Webhook Payment Response
        • Webhook Payment Confirmation Response
      • webhook-business-onboarding
        • Webhook Check Entity Response
        • Webhook Register Entity Response
        • Webhook Search Entity Response
        • Webhook Registration Id Response
      • webhook-financing
        • Webhook Financing Response
        • Webhook Respond Bid Response
        • Webhook Share Bid Request
      • webhook-cdNote
        • Webhook Send CdNote Request
        • Webhook Send CdNote Response
        • Webhook Confirm CdNote Request
        • Webhook Confirm CdNote Response
        • Webhook Status Change CdNote Request
        • Webhook Status Change CdNote Response
      • Webhook Purchase Order
        • Webhook Send Purchase Order Request
        • Webhook Send Purchase Order Response
        • Webhook Confirm Purchase Order Request
        • Webhook Confirm Purchase Order Response
        • Webhook Edit Purchase Order Request
        • Webhook Edit Purchase Order Response
        • Webhook Status Change Purchase Order Request
        • Webhook Status Change Purchase Order Response
    • Bill Payments
      • Bill Payments Overview
      • Get Authentication Token
      • Get BillerTypes
      • Get Billers
      • Fetch Bill
      • Create Bill API
      • Create Bill Without Bill Fetch
      • Bill Payment
      • Utility Bill Approval API
      • Get Utility Bill Status
      • Get Utility Bill by Reference Id
      • Get Utility Bills Detail
      • Bill Payment Webhook
  • Payouts
    • Payouts Overview
    • Payouts Sign Up
    • Payout Methods
    • Payout API Response Codes
    • Payouts Integration Steps
    • Encrypting and Decrypting Payload
    • Payouts Status Codes
    • Get Authentication Token
      • Get Authentication Token
    • Beneficiary Apis
      • Create Beneficiary
      • Search Beneficiary
      • Delete Beneficiary
    • Transfer Apis
      • Create Payout
      • Search Payouts
      • Create Batch Payout
    • Payout Account Apis
      • Get Balance
      • Get Source Bank Account Details
      • Add Source Bank Account
      • Fetch Bank Statement
    • Webhook Data Apis
      • Get Webhook Data
      • Create Webhook Data
  • Accounts Payable Management Tool
    • About AP Management Tool
    • Vendor Management
      • Create Vendor
      • Create Bulk Vendors
      • Update Bulk Vendors
      • Get Beneficiaries (V1)
      • Get Beneficiaries
      • Change Vendor Status
      • Get Beneficiary
    • Invoice Management
      • Payout Apis
        • validateInvoices
        • initiate
        • Search Payouts V1
        • bulkCreatePayout
        • Create Payout
        • Update Payouts
        • Search Payouts
        • createBulkPayoutForPartnerIntegration
        • Update Bulk Payouts
        • Update Approval Status
        • Get Invoice Data
        • Delete Payout
    • Bharat Connect 2.0 AP
      • Confirm Invoice Request
      • Payment Request
    • Update Beneficiary
  • Account Receivable
    • Accounts Receivable Overview
    • Get Authentication Token Copy
      • Get Authentication Token
    • Customer Management
      • Customer Apis
        • Activate customer
        • createBulkCustomer
        • bulkUpdate
        • Deactivate customer
        • deleteCustomerByCustomerId
        • updateCustomer
    • Customer Contacts Management
      • Customer Apis
        • getCustomerContactDetails
    • Invoice Management
      • invoice-controller
        • createInvoice
        • invoiceBulkUpload
        • Dispatch Invoice Collection
        • Delete Invoice Collection
        • searchCollectionInvoices
        • getInvoice
        • updateInvoice
    • Payment Reminders
      • customer-reminder-controller
        • createCustomerReminder
        • getCustomerReminders
        • getCustomerReminder
        • deleteReminder
        • updateCustomerReminder
    • Bharat Connect 2.0 AR
      • Payment Confirmation Request
      • Change Invoice Status Request
      • Bulk Create Invoice
  • Expense Management
    • Expense Management Overview
    • Sign Up - Expense Management
    • Token Api
      • About Authorization
      • Token API
    • Expenses
    • Advance
  • Loyalty
    • Overview
    • Sign Up
    • Employee R&R
      • API Integration Guide
      • Common Fields passed in API requests
      • Token Api
        • Client Authentication
        • SSO LOGIN (Single Sign On)
      • Create And Allocate point
      • Bulk Create And Allocate Points
      • Get Card Account Details
      • Get Transaction details
      • List Users Details
      • Get User Card Details
    • Channel Incentives
      • Incentive Create And Allocate point
      • Reward Get Transaction details
      • Incentive Get User Details
    • Points Redemption
      • User Authentication
      • Get Cart for User
      • Search Catalog
      • Get Product Catalog Details
      • Get Product Configs (Denominations)
      • Add to cart
      • Update Cart
      • Create Order
      • Order Search
      • create order
      • Fetch Order Info by Partner order Reference id
    • Point Management APIs
      • Overview
      • Create Event
      • Get Event
      • Update Event
      • Allocate Coins
      • Get Balance
  • Card Management
    • EnKash Card Management Systems Overview
    • Cards We Issue
    • API Reference
    • VKYC
    • Developer Guide
    • Cards Integration Steps
    • Encryption / Decryption of API requests / Response
    • Encryption & Decryption Guide
    • Token Api
      • Partner auth Token
    • Gift Card
      • Create
        POST
      • Request Physical
        POST
      • Block
        POST
      • Replace
        POST
      • Get User Details
        POST
      • Get Transaction Details
        POST
      • Get All Transaction details
        POST
    • Meal Cards
      • Create
      • Load Balance
      • Replace
      • Block
      • Request Physical
      • Get User Card Details
      • Get Transaction Details
      • Get All Transaction details
    • Prepaid Cards
      • Create
      • Load Balance
      • Replace
      • Block
      • Request Physical
      • Get User Card Details
      • Get Transaction Details
      • Get All Transaction details
    • Fuel_cards
      • Create
      • Load Balance
      • Replace
      • Block
      • Physical
      • Get User Card Details
      • Get Transaction Details
      • Get All Transaction details
    • Advance Card Feature
      • Create Card Account
      • Set Pin
      • Get Card Account Details
      • Generate Otp Card
      • View Card
      • Update Card Velocity Rules
      • Get Card Velocity Rules
  • Verification Suite
    • Verification Suite Overview
    • Bank Account Verification
      • Bank Account Verification PennyLess/PennyDrop
    • GSTN Verification
      • Gstin Verification
    • PAN Verification
      • Pan Verification
    • UPI(VPA) Verification
      • Vpa Verification
  1. Gift Card

Create

POST
/api/v0/partner/enKashCard
Card Partner Apis
This API facilitates the creation of new Gift cards.

Request

Header Params
authorization
string 
required
Provide your bearer token in the Authorization header when making requests to protected resources.
Example:
Bearer 2f68dbbf-519d-4f01-9636-e2421b68f379
partnerId
string 
required
PartnerID shared during sign-up
Example:
CRXXXXXXX
Body Params application/json
Encrypted request payload string
userId
string 
optional
Unique EnKash User ID. This is the ID assigned to a user created in a company.
companyId
string 
required
Unique EnKash Company ID. This is the ID assigned to a company onboarded on the EnKash platform.
cardAccountId
string 
required
Unique EnKash Account ID. This is the ID assigned to the account created under the company.
email
string 
optional
Email address of the user.
Match pattern:
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
mobile
string 
optional
10-digit mobile number of the user.
>= 10 characters<= 10 characters
Match pattern:
^\d{10}$
title
string 
optional
Title of the user (e.g., Mr., Ms.).
firstName
string 
optional
First name of the user.
middleName
string 
optional
Middle name of the user.
lastName
string 
optional
Last name of the user.
gender
string 
optional
Gender of the user.
specialDate
string 
optional
Special date associated with the user (birthday date).
address
string 
optional
Primary address of the user.
address2
string 
optional
Address second line
city
string 
optional
City of the user's address.
state
string 
optional
State of the user's address.
country
string 
optional
Country of the user's address.
pincode
string 
optional
Postal code of the user's address.
physicalCard
boolean 
optional
Indicates if a physical card is required while card issuance.
physicalDeliveryAddressFlag
boolean 
optional
Indicates if the delivery address is different from the primary address
deliveryAddress
string 
optional
Primary delivery address
deliveryAddress2
string 
optional
Second line of delivery address
deliveryCity
string 
optional
City of the delivery address.
deliveryState
string 
optional
State of the delivery address.
deliveryCountry
string 
optional
Country of the delivery address.
deliveryPincode
string 
optional
Postal code of the delivery address.
Example
{
  "userId": "string",
  "companyId": "string",
  "cardAccountId": "string",
  "email": "string",
  "mobile": "stringstri",
  "title": "string",
  "firstName": "string",
  "middleName": "string",
  "lastName": "string",
  "gender": "string",
  "specialDate": "string",
  "address": "string",
  "address2": "string",
  "city": "string",
  "state": "string",
  "country": "string",
  "pincode": "string",
  "physicalCard": true,
  "physicalDeliveryAddressFlag": true,
  "deliveryAddress": "string",
  "deliveryAddress2": "string",
  "deliveryCity": "string",
  "deliveryState": "string",
  "deliveryCountry": "string",
  "deliveryPincode": "string"
}

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 '{
    "userId": "string",
    "companyId": "string",
    "cardAccountId": "string",
    "email": "string",
    "mobile": "stringstri",
    "title": "string",
    "firstName": "string",
    "middleName": "string",
    "lastName": "string",
    "gender": "string",
    "specialDate": "string",
    "address": "string",
    "address2": "string",
    "city": "string",
    "state": "string",
    "country": "string",
    "pincode": "string",
    "physicalCard": true,
    "physicalDeliveryAddressFlag": true,
    "deliveryAddress": "string",
    "deliveryAddress2": "string",
    "deliveryCity": "string",
    "deliveryState": "string",
    "deliveryCountry": "string",
    "deliveryPincode": "string"
}'

Responses

🟢200OK
application/json
Body
code
integer 
required
message
string 
required
payload
object 
required
enKashCardId
string 
required
Enkash Card ID
userId
string 
required
Enkash User Id
cardAccountId
string 
required
Unique Card Account Id
maskedNumber
string 
required
Card Number masked
expiryMonth
string 
required
Expiry month of card
expiryYear
string 
required
Expiry year of card
email
string 
required
Email of user
mobile
string 
required
mobile of user
title
string 
required
Mr/Mrs/Ms
firstName
string 
required
First Name of user
lastName
string 
required
Last name of user
gender
string 
required
Gender of card holder
specialDate
string 
required
Date of Birth of Card Holder
address
string 
required
Address of card holder
address2
string 
required
Address 2 of card holder
city
string 
required
City of card holder residence
state
string 
required
state of card holder residence
country
string 
required
Country of card holder residence
pincode
string 
required
Pincode
otbBalance
integer 
required
Available Card Balance
primaryCard
boolean 
required
Flag which denotes if a card is a primary card
prepaidCard
boolean 
required
Flag for identifying if a card is prepaid
physicalCard
boolean 
required
Is physical card available for this enkash card (if yes, then true)
cardStatus
object 
required
L("Locked"), UL("UnLocked"), BL("Blocked"),AP("Activation InProgress");
kycStatus
object 
required
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
pan
string 
required
PAN of card holder
physicalCardRequestDate
string 
required
Date on which physical card was requested by user
physicalDeliveryAddressFlag
boolean 
required
flag for identifying if physical delivery address is present
deliveryAddress
string 
required
Delivery address 1
deliveryAddress2
string 
required
Delivery address 2
deliveryCity
string 
required
Delivery City
deliveryState
string 
required
Delivery State
deliveryCountry
string 
required
Delivery Country
deliveryPincode
string 
required
Delivery Pincode
cardActivated
boolean 
required
flag for identifying if a card is activated
companyId
string 
required
Company Id
loadAmount
string 
required
denotes if any amount was loaded in the card
accountBalance
integer 
required
Current Account balance
physicalCardAllowed
boolean 
required
flag which denotes if physical card is allowed
panValidated
boolean 
required
flag for checking if pan is validated
posAllowed
boolean 
required
Pos Allowed flag
posAllowedAdmin
boolean 
required
If the admin has disabled the posAllowedAdmin flag, the POS will remain non-functional even if the user enables posAllowed, as the admin's settings take precedence.
atmAllowed
boolean 
required
Atm allowed on card
atmAllowedAdmin
boolean 
required
If the admin has disabled the atmAllowedAdmin flag, the ATM will remain non-functional even if the user enables atmAllowed, as the admin's settings take precedence.
onlineAllowed
boolean 
required
Online Transaction Allowed on card
onlineAllowedAdmin
boolean 
required
If the admin has disabled the onlineAllowedAdmin flag, the Online Txn will remain non-functional even if the user enables onlineAllowed, as the admin's settings take precedence.
unallocateFundAllowed
boolean 
required
flag which denotes if unallocate fund is allowed on card
companyName
string 
required
Company legal name
accountType
object 
required
RELOADABLE_GPR , GIFT, MEAL, FUEL, VIRTUAL_ACCOUNT, EMPLOYEE_REWARDS
lastAllocatedAmount
integer 
required
Last allocated amount
enkashCardTxnId
string 
required
Unique Enkash Transaction Id
Example
{
  "code": 0,
  "message": "Success",
  "payload": {
    "enKashCardId": "EKC94AEX89",
    "userId": "EK94JCMP",
    "cardAccountId": "CAA8W45",
    "token": "cf5295da683104b6580",
    "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,
    "primaryCard": true,
    "prepaidCard": true,
    "physicalCard": false,
    "deleted": false,
    "closedLoopCard": false,
    "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"
    },
    "cardProgramme": "TRANSCORP",
    "useAccountFunds": false,
    "blockCode": "A",
    "remarks": "This is a test card",
    "partnerLogo": "https://imagesbox.enkash.in/IMAGES/EnkashLogo.png",
    "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",
    "cardKitMasterId": 2,
    "extEntityId": "EXT58EDZTA1U1",
    "switchProvider": "M2P_TRANSCORP",
    "accountBalance": 99500,
    "physicalCardAllowed": false,
    "kitType": {
      "name": "RUPAY",
      "label": "Rupay"
    },
    "surchargeAmt": 0,
    "panValidated": false,
    "usedLtd": 0,
    "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",
    "unAllocateHoldBalance": 0,
    "tncUnAllocateAllowed": false,
    "tncUnAllocateAccepted": false
  }
}
Modified at 2025-01-29 17:59:07
Previous
Partner auth Token
Next
Request Physical
Built with