- 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
- Orders
- Payments
- Refunds
- Settlements
- Split Settlements
- E-Commerce Plugins
- Payment Links
- Payment Button
- Qr Code
- UPI Mandate
- Payment Links
- Bharat Connect (BBPS)
- About Bharat Connect
- B2B Invoicing
- Invoice
- Payment
- Financing
- Onboarding
- cdNote
- Purchase Order
- webhook-invoice
- webhook-payments
- webhook-business-onboarding
- webhook-financing
- webhook-cdNote
- 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
- Payouts
- Accounts Payable Management Tool
- Account Receivable
- Expense Management
- Loyalty
- Card Management
- Verification Suite
Bulk Create And Allocate Points
Developing
POST
/api/v0/partner/enKashCard/bulk-create-allocate-points-json
"Company Id is required if it is an Enkash User"
"Primary Enkash card is not present. So bulk upload cannot be done"
"KYC is not uploaded or under review for the primary card. So bulk upload cannot be done"
"Bin Type is not mapped on PlanMaster"
"Card Account does not exist for this partner"
"Card account not found for companyId: [companyId] and cardAccountId: [cardAccountId]"
Request
Query Params
companyId
stringÂ
required
Example:
CEKBVCGMR1
cardAccountId
stringÂ
required
Example:
CA1ZS96
isPointsAllocation
booleanÂ
required
If the flag is false only new users will be created and points will be allocated to new users , no points will be allocated to the existing users.
Example:
true
Header Params
partnerId
stringÂ
required
Example:
CRMTTTMUF
Content-Type
stringÂ
required
Example:
application/json
Authorization
stringÂ
required
Example:
{token}
Body Params application/json
array of:
title
stringÂ
optional
name
stringÂ
required
email
stringÂ
optional
mobile
stringÂ
required
loadAmount
integerÂ
required
remarks
stringÂ
optional
uniqueReferenceNumber
stringÂ
required
Example
[
{
"title": "Mr",
"name": "John hrllo",
"email": "ojas.bisariya@kratikal.com",
"mobile": "6836111111",
"loadAmount": 100,
"remarks": "good",
"uniqueReferenceNumber": "test123457"
}
]
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 'https://test.your-api-server.com/api/v0/partner/enKashCard/bulk-create-allocate-points-json?companyId=CEKBVCGMR1&cardAccountId=CA1ZS96&isPointsAllocation=true' \
--header 'partnerId: CRMTTTMUF' \
--header 'Authorization: {token}' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"title": "Mr" ,
"name": "John hrllo",
"email": "ojas.bisariya@kratikal.com",
"mobile": "6836111111",
"loadAmount": 100,
"remarks" : "good",
"uniqueReferenceNumber" :"test123457"
}
]'
Responses
🟢200Success
application/json
Body
email
stringÂ
required
name
stringÂ
required
mobile
stringÂ
required
title
stringÂ
required
loadAmount
numberÂ
required
companyId
stringÂ
required
cardAccountId
stringÂ
required
enkashCardId
stringÂ
required
userId
stringÂ
required
accountBalance
numberÂ
required
enkashCardTxnId
stringÂ
required
otbBalance
numberÂ
required
successCount
numberÂ
required
failureCount
numberÂ
required
totalCount
numberÂ
required
Example
{
"code": 0,
"message": "Success",
"payload": {
"successBulkEnKashCardCreateDTOs": [
{
"email": "johndee@email.com",
"name": "John Dee",
"mobile": "6776543210",
"title": "Mr",
"loadAmount": 10,
"companyId": "CEKCDVT1UV",
"cardAccountId": "CAF0RX8N3",
"enkashCardId": "EKCBO72AEY",
"userId": "EKHVPYVS",
"accountBalance": 48681,
"enkashCardTxnId": "ECTA72T56O2SP",
"otbBalance": 10000
}
],
"failureBulkEnKashCardCreateDTOs": [
{
"email": "taylor@email.com",
"name": "test1 testlast",
"mobile": "6876543324",
"title": "Mr",
"loadAmount": 10,
"companyId": "CEKCDVT1UV",
"cardAccountId": "CAF0RX8N3"
},
{
"email": "johndee@email.com",
"name": "John Dee",
"mobile": "6776543210",
"title": "Mr",
"loadAmount": 10,
"companyId": "CEKCDVT1UV",
"cardAccountId": "CAF0RX8N3",
"uniqueReferenceNumber": "123443101",
"failureReason": "The transaction associated with the given Unique reference Number already exists"
}
],
"successCount": 1,
"failureCount": 2,
"totalCount": 3
}
}
Modified at 2025-01-30 04:17:39