EnKash Developer Portal
Home
Home
Login
  1. Rewards & Incentives
  • Explore Our Product Suite
  • Payment Gateway
    • Set Up Payment Gateway
    • Payment Options
    • Easy API Setup
    • APIs - Payment Gateway
  • Payouts
    • Set Up Payouts
    • APIs - Payout
  • Prepaid Cards
    • Key Capabilities
    • Set Up Prepaid Cards
    • KYC Status Handling Guide
    • T&C Acceptance Flow
    • Card Design & Branding Compliance Guide
    • APIs - Prepaid Card
  • Wallet
    • APIs - Wallet
  • Bharat Connect (BBPS)
    • APIs - BBPS
  • Accounts Payable
    • APIs - Accounts Payable
  • Account Receivable
    • Accounts Receivable Overview
    • APIs - Account Receivable
  • Expense ERP Integration
    • About Authorization
    • APIs - Expense
    • Partner Integration
    • APIs - Expense
      • Update user
      • Create user
      • List employees
      • Get employee
      • Create department
      • List departments
      • Get department
      • Update department
      • Create grade
      • List grades
      • Get grade
      • Create designation
      • List designations
      • Get designation
      • List designations in a department
      • List categories
      • Get category
      • Create expense policy
      • List policies
      • Get policy
      • Create expense
      • Update expense fare, tax, invoice, or receipt
      • Cancel an expense and keep the record
      • Get expense
      • Approve, reject, or hold expense
      • Receipt OCR
      • Update grade
      • Update grade status
      • Update designation status
      • Update designation
      • Update department status
      • Update policy status
      • Update policy
  • Rewards & Incentives
    • About Rewards
    • Getting Started
    • Encryption & Decryption Guide
    • Reward Allocation
    • Incentive Allocation
    • APIs - Reward
  • Petty Cash
    • Request Encryption Using AES
    • API - Petty Cash
  • Verification Suite
    • Verification Suite Overview
    • APIs - Verification Suite
    • Create expense category
  • Schemas
    • ErrorResponse
    • CardExpenseSuccessResponse
    • OcrDataSuccessResponse
    • PartnerDesignationUpdateRequest
    • AttachReceiptSuccessResponse
    • PartnerGradeUpdateRequest
    • PartnerPolicy
    • PartnerUserUpdateRequest
    • PartnerPolicySuccessResponse
    • PartnerExpenseCreateRequest
    • ExpenseSearchRequest
    • PartnerUser
    • PartnerDesignation
    • ExpenseSearchItem
    • PartnerPolicyUpdateRequest
    • PartnerGrade
    • ExpenseSearchResponse
    • PartnerUserRequest
    • PartnerUserListResponse
    • PartnerDepartmentCreateRequest
    • PartnerDesignationSuccessResponse
    • PartnerDepartment
    • PartnerGradeSuccessResponse
    • PartnerUserSuccessResponse
    • PartnerDepartmentSuccessResponse
    • PartnerDepartmentListResponse
    • EmptySuccessResponse
    • PartnerGradeCreateRequest
    • PartnerCodeName
    • PartnerGradeListResponse
    • PartnerDesignationCreateRequest
    • PartnerDesignationListResponse
    • PartnerCategoryCreateRequest
    • PartnerCategory
    • PartnerCategorySuccessResponse
    • PartnerCategoryListResponse
    • PartnerPolicyCreateRequest
    • PartnerPolicyListResponse
    • PartnerExpense
    • PartnerExpenseUpdateRequest
    • PartnerExpenseCancelRequest
    • PartnerExpenseSuccessResponse
    • PartnerExpenseStatusRequest
    • PartnerExpenseStatusItem
    • PartnerExpenseStatusResponse
    • ExpenseHistoryItem
    • ExpensePaymentMode
    • ExpensePayload
    • AccountType
    • TripRequestSuccessResponse
    • TripRequestCreateRequest
    • TripRequestPayload
    • FlightEntries
    • FlightSegment
    • BusAndTrainEntry
    • CarRentalEntry
    • HotelEntry
    • AdvanceCreateRequest
    • TripRequestHistoryItem
    • TripType
    • RequestFormStatus
  1. Rewards & Incentives

Allocating Rewards Using EnKash APIs

This section guides you through the sequence of actions required to allocate or manage reward points for a user via EnKash’s reward system.
Create Single User
Create Multiple Users

1. Obtain Onboarding Identifiers#

Before initiating any API requests, ensure you have the following identifiers from EnKash after onboarding:
FieldDescription
companyIdUnique ID assigned to your company by EnKash.
cardAccountIdReward account ID associated with your company.
partnerIdPartner ID assigned during onboarding.

2. Create Reward Account and Allocate Points#

Use this functionality to create a new user and allocate initial reward points to their account.
Set the following parameters:
transactionType: CR (Credit)
type: ALLOCATE_POINT
Required Details:
FieldDescription
firstNameEmployee's first name
emailEmployee's email address
mobileEmployee's mobile number
genderEmployee's gender (M/F)
titleEmployee's title (Mr/Mrs/Ms)
loadAmountInitial points to be credited
Sample Request:
{
  "companyId": "CEK1PU9AOO",
  "cardAccountId": "CAQL8YCV3",
  "transactionCode": "ALLOCATION",
  "transactionType": "CR",
  "type": "ALLOCATE_POINT",
  "email": "xyz2@gmail.com",
  "mobile": "9600098867",
  "title": "Mr",
  "firstName": "hedfdfg",
  "gender": "M",
  "loadAmount": 11,
  "uniqueReferenceNum": "TEST234236"
}

3. Topup Existing Reward Account#

Use this to top-up an existing reward account with additional points.
Set the following parameters:
transactionType: CR (Credit)
type: ALLOCATE_POINT
Required Details:
FieldDescription
enkashCardIdUnique card ID (required if cardAccountId not used)
cardAccountIdUnique reward account ID (required if enkashCardId not used)
loadAmountPoints to be credited
email / mobile(Optional) User identifiers for validation

4. Unallocate / Debit Points#

Use this to reverse/remove (debit) points from a reward account (e.g., refunds or corrections).
Set the following parameters:
transactionType: DR (Debit)
type: UNALLOCATE_POINT
Required Details:
FieldDescription
enkashCardIdUnique card ID (required if cardAccountId not used)
cardAccountIdUnique reward account ID (required if enkashCardId not used)
loadAmountPoints to be debited

5. Validate the Response#

You will receive a response with transaction and cardAccount details. Verify that the pgReferenceNumber in the response matches your uniqueReferenceNumber.
Sample Response Snippet:
{
  "code": 0,
  "message": "Success",
  "payload": {
    "enKashCardId": "EKC04AZHXP",
    "enkashCardTxnId": "ECTRSZJ8CRJ2E",
    "pgReferenceNumber": "TEST234236",
    "otbBalance": 11,
    "maskedNumber": "XXXX XXXX XXXX 8867",
    ...
  }
}

Reference Number Mapping#

ParameterWhere It’s UsedPurpose
uniqueReferenceNumberRequest payloadIdentifies the transaction uniquely (client side)
pgReferenceNumberResponse payloadEnKash's confirmation reference for traceability
These must match to confirm the transaction has been successfully tracked

Data Schema#

FieldTypeDescription
companyIdstringUnique EnKash company ID (provided on onboarding)
cardAccountIdstringEnKash reward account ID
transactionCodeenumType of transaction (e.g., ALLOCATION)
transactionTypeenumDirection of transaction (CR or DR)
typeenumTransaction purpose (ALLOCATE_POINT, UNALLOCATE_POINT)
emailstringEmail ID of the cardholder
mobilestringMobile number of the cardholder
titlestringTitle of the cardholder (Mr/Mrs/Ms)
firstNamestringFirst name of the cardholder
genderstringGender (M/F).
loadAmountnumberAmount of points to credit or debit
uniqueReferenceNumberstringUnique identifier from the partner for traceability
Modified at 2026-09-15 06:40:44
Previous
Encryption & Decryption Guide
Next
Incentive Allocation
Built with