- 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 Details
Developing
POST
/api/v0/partner/enKashCard/search
companyId
and card account cardAccountId
The enkashCardId
parameter is optional and should be provided only if details of a specific card are requiredThe response includes masked card details to ensure card data security
Request
Header Params
partnerId
stringÂ
required
Example:
CRMXWB3ZM
Authorization
stringÂ
required
Example:
Bearer SuzhOaF6K64ztA4rSmDOgl9yMlI
Content-Type
stringÂ
required
Example:
application/json
Cookie
stringÂ
required
Example:
JSESSIONID=526FAFE391FEC276549D84FEF5FC5BE7; JSESSIONID=B01764303CD3DEFC3C0699B3EF351505
Body Params application/json
cardAccountId
stringÂ
required
companyId
stringÂ
required
enKashCardId
stringÂ
optional
Example
{
"cardAccountId": "CAQL8YCV3",
"companyId" : "CEK1PU9AOO",
"enKashCardId": "EKC9MKS5RM"
}
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/search' \
--header 'partnerId: CRMXWB3ZM' \
--header 'Authorization: Bearer SuzhOaF6K64ztA4rSmDOgl9yMlI' \
--header 'Cookie: JSESSIONID=526FAFE391FEC276549D84FEF5FC5BE7; JSESSIONID=B01764303CD3DEFC3C0699B3EF351505' \
--header 'Content-Type: application/json' \
--data-raw '{
"cardAccountId": "CAQL8YCV3",
"companyId" : "CEK1PU9AOO",
"enKashCardId": "EKC9MKS5RM"
}'
Responses
🟢200Success
application/json
Body
code
integerÂ
required
message
stringÂ
required
payload
objectÂ
required
recordsCount
integerÂ
required
data
array [object {12}]Â
required
Example
{
"code": 0,
"message": "Success",
"payload": {
"recordsCount": 1,
"data": [
{
"enKashCardId": "EKC9MKS5RM",
"userId": "EKPDC37K",
"cardAccountId": "CAQL8YCV3",
"expiryMonth": "",
"expiryYear": "",
"email": "test@hrms.com",
"mobile": "6667778889",
"title": "Mr",
"firstName": "Test",
"lastName": "Company",
"otbBalance": 321.00,
"companyId": "CEK1PU9AOO"
}
]
}
}