Enkash Developer Portal
Home
Home
Login
  1. Home
  • Back to home
  • Prepaid Card APIs
  • Encryption & Decryption Guide
  • Auth Token
    POST
  • Create Card Account
    POST
  • Create Gift Card
    POST
  • Create Prepaid Card
    POST
  • Set Card PIN
    POST
  • Load Card Balance
    POST
  • Get Card Account Details
    POST
  • Generate Card OTP
    POST
  • View Card Details
    POST
  • Card Usage Controls
    POST
  • Get Card Usage Limits
    POST
  • Request Card Replacement
    POST
  • Block Card
    POST
  • Order Physical Card
    POST
  • Get Card Details
    POST
  • Get Transaction Details
    POST
  • Get All Transaction details
    POST
  1. Home

View Card Details

POST
/api/v0/partner/enKashCard/viewCard
📌
This API retrieves detailed information about a specific card, including the cardholder’s details, card status, balance, and other metadata. Use this endpoint to display card information on dashboards, validate card status, or support card-related actions

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
enKashCardId
string 
required
Unique identifier for the EnKash card.
cardAccountId
string 
optional
Unique identifier for the account under company.
otpRequired
boolean 
required
flag for otp required or not. To be passed as false
Example
{
  "enKashCardId": "EKC94AEX89",
  "cardAccountId": "CAA8W45",
  "otpRequired": false
}

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/viewCard' \
--header 'authorization: Bearer 2f68dbbf-519d-4f01-9636-e2421b68f379' \
--header 'partnerId: CRXXXXXXX' \
--header 'Content-Type: application/json' \
--data-raw '{
  "enKashCardId": "EKC94AEX89",
  "cardAccountId": "CAA8W45",
  "otpRequired": false
}'

Responses

🟢200OK
application/json
Body
response_code
integer 
required
response_message
string 
required
payload
object 
required
cardNumber
string 
required
Card Number of Enkash Card
expiry
string 
required
Expiry date of card
cvv
string 
required
CVV
cardHolderName
string 
required
Card Holder Name
Example
{
    "response_code": 0,
    "response_message": "Success",
    "payload": {
        "cardNumber": "1154360149104155",
        "expiry": "04/2026",
        "cvv": "854",
        "cardHolderName": "anay test"
    }
}
Modified at 2025-05-26 17:22:51
Previous
Generate Card OTP
Next
Card Usage Controls
Built with