- Explore Our Product Suite
- Payment Gateway
- Payouts
- Prepaid Cards
- About Prepaid Card
- Key Capabilities
- Getting Started
- APIs
- API Access & Authorization
- Encryption & Decryption Guide
- Auth TokenPOST
- Create Card AccountPOST
- Create Gift CardPOST
- Create Prepaid CardPOST
- Set Card PINPOST
- Load Card BalancePOST
- Get Card Account DetailsPOST
- Generate Card OTPPOST
- View Card DetailsPOST
- Card Usage ControlsPOST
- Get Card Usage LimitsPOST
- Request Card ReplacementPOST
- Block Card POST
- Order Physical CardPOST
- Get Card Details POST
- Get Transaction DetailsPOST
- Get All Transaction detailsPOST
- Bharat Connect (BBPS)
- About Bharat Connect
- Invoice Payments
- 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
- Accounts Payable
- Account Receivable
- Expense Management
- Rewards & Incentives
- Verification Suite
Get Card Account Details
Developing
POST
/api/v0/partner/enKashCard/cardAccount/get
Request
Header Params
partnerId
stringÂ
required
Example:
partnerId
Authorization
stringÂ
required
Example:
Bearer xaYGp6Oav3I65OlSTx7SU-Rh1aM
Content-Type
stringÂ
required
Example:
application/json
Body Params application/json
cardAccountId
stringÂ
required
companyId
stringÂ
required
Example
{
"cardAccountId": "account_id",
"companyId": "company_id"
}
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/cardAccount/get' \
--header 'partnerId: partnerId' \
--header 'Authorization: Bearer xaYGp6Oav3I65OlSTx7SU-Rh1aM' \
--header 'Content-Type: application/json' \
--data-raw '{
"cardAccountId": "account_id",
"companyId": "company_id"
}'
Responses
🟢200Success
application/json
Body
availableBalance
numberÂ
required
totalCards
numberÂ
required
companyName
stringÂ
required
companyId
stringÂ
required
cardAccountId
stringÂ
required
activeCards
numberÂ
required
totalAllocationPoint
numberÂ
required
 totalRedemptionPoint
numberÂ
required
currentMonthAllocationPoint
numberÂ
required
currentMonthRedemptionPoint
numberÂ
required
Examples
{
"response_code": 0,
"response_message": "Success",
"payload": {
"cardAccountId": "CAVBMRFE8",
"companyId": "CEK7T1WMC6",
"companyName": "Vikram Singh",
"creditLimit": 0,
"dynamicLimit": 0,
"usedCreditLimit": -990553.44,
"availableBalance": 898138,
"availableCardBalance": 92415.44,
"primaryEnKashCard": {
"enKashCardId": "EKCQMY9BQ0",
"userId": "EK8IHN4B",
"cardAccountId": "CAVBMRFE8",
"token": "30acb157bcea5ae6d3b9",
"maskedNumber": "2004 01XX XXXX XX87",
"expiryMonth": "08",
"expiryYear": "2025",
"email": "anay.nagar@enkash.com",
"mobile": "9660686687",
"title": "Mr",
"firstName": "Anay",
"lastName": "Nagar",
"gender": "M",
"usedMtd": 15607.56,
"usedDtd": 15607.56,
"usedYtd": 15607.56,
"otbBalance": 89335.44,
"primaryCard": true,
"prepaidCard": true,
"physicalCard": false,
"deleted": false,
"closedLoopCard": false,
"createdOn": "2023-08-09 22:30:07",
"modifiedOn": "2024-08-14 15:49:46",
"cardStatus": {
"name": "UL",
"label": "UnLocked"
},
"kycStatus": {
"name": "VERIFIED",
"label": "Verified"
},
"cardProgramme": "SBM",
"useAccountFunds": false,
"blockCode": "A",
"partnerLogo": "https://image.enkash.in/IMAGES/sbm-logo.png",
"physicalDeliveryAddressFlag": false,
"cardActivated": true,
"binType": {
"name": "REWARD",
"label": "Reward Card"
},
"loadAmount": 999,
"companyId": "CEK7T1WMC6",
"cardKitMasterId": 11,
"extEntityId": "EXTGY8V5YQI6X",
"switchProvider": "EK_CLOSEDLOOP_CREDIT",
"accountBalance": 898138,
"physicalCardAllowed": false,
"kitType": {
"name": "VISA",
"label": "Visa"
},
"surchargeAmt": 0,
"panValidated": false,
"usedLtd": 15607.56,
"latestTnCVersionAccepted": true,
"latestKeyFactAccepted": true,
"latestTnCVersionAcceptedForPrimaryCard": true,
"latestKeyFactAcceptedCardForPrimaryCard": true,
"virtualAccountNumber": "ENKASHEDENKEKCQMY9BQ0",
"limitAllocatedLtd": 103694,
"posAllowed": false,
"posAllowedAdmin": false,
"atmAllowed": false,
"atmAllowedAdmin": false,
"onlineAllowed": false,
"onlineAllowedAdmin": false,
"liveImage": false,
"unallocateFundAllowed": true,
"useParentFundAllowed": false,
"minKycOtpVerified": false,
"enKashSupportEmail": "support@enkash.com",
"enKashSupportMobile": "1234567890",
"companyName": "Vikram Singh",
"accountType": {
"name": "EMPLOYEE_REWARDS",
"label": "Employee Rewards",
"description": "Reward"
},
"lastAllocatedAmount": 10,
"holdBalance": 0,
"unAllocateHoldBalance": 0,
"tncUnAllocateAllowed": false,
"tncUnAllocateAccepted": false,
"totalRewardsReceived": 79,
"rewardPointsReceived": 121791.28,
"ckycEnabled": false,
"vkycAllowed": false
},
"prepaidCard": true,
"blockCode": "A",
"createdOn": "2023-08-09 11:19:46",
"modifiedOn": "2024-08-14 15:49:46",
"totalCards": 34,
"activeCards": 34,
"ctdDebit": 27759.84,
"ctdCredit": 8175.28,
"madIndicator": "M",
"planMasterId": "PM1QOIQS6",
"totalDebits": 132086.2,
"totalCredits": 129081.28,
"currentMonthDebits": 720,
"currentMonthCredits": 20,
"partnerLogo": "https://image.enkash.in/IMAGES/sbm-logo.png",
"cardProgramme": "SBM",
"binType": "REWARD",
"autoAllocateCardKit": true,
"kitType": {
"name": "VISA",
"label": "Visa"
},
"accountType": {
"name": "EMPLOYEE_REWARDS",
"label": "Employee Rewards"
},
"accountTitle": "Vikram Singh - Reward",
"closedLoopCard": false,
"usedMtd": 11146.4,
"usedDtd": 11146.4,
"usedMtdCount": 57,
"usedDtdCount": 57,
"showBulkUpload": false,
"physicalCardAllowed": false,
"autoFundingDisabled": false,
"ifscCode": "KKBK0000958",
"bankName": "Kotak Mahindra Bank",
"virtualAccountNumber": "ENKAAXECENKCAVBMRFE8",
"nachStatus": "INACTIVE",
"tenantSync": true,
"subAssetClassCode": "SMA 0",
"plan": "Rewards",
"program": "SBM",
"programFunding": "PREPAID",
"cardRelationShipId": "CRSENKWQIALRW",
"nachRestrictionOverridden": false,
"nachRestrictionStatus": "RESTRICTION_NOT_APPLICABLE",
"totalAllocationPoint": 107900,
"totalRedemptionPoint": 23004.92,
"currentMonthAllocationPoint": 20,
"currentMonthRedemptionPoint": 700,
"planAutoLoadingEnabled": false,
"autoAllocateFunds": false,
"planEnableHoldAmount": false,
"enableHoldAmount": false,
"downloadCardData": false,
"bulkAllocateAllowed": false,
"virtualAccountHolderName": "Nehat Tech Solutions Pvt Limited",
"refundToSource": false,
"totalOtherRewards": 92,
"totalRewards": 120,
"totalOccasionRewards": 9,
"totalPerformanceRewards": 19,
"creditLimitUpdate": false,
"dpd": "0"
}
}