Skip to content

Get Card Sensitive Details

Get sensitive card information including PAN, CVV, and expiration date

Endpoint: GET https://api.uncash.io/api/v1/cards/{id}/details

Path Parameters

ParameterTypeRequiredDescription
idstringYesThe card ID (UUID) to retrieve sensitive details for

Response

Success Response

FieldTypeDescription
successbooleanIndicates if the request was successful
messagestringSuccess message
timestampstringISO 8601 timestamp

Data Object

FieldTypeDescription
idstringDatabase card ID (UUID)
PANstringFull card number (16 digits)
CVVstringCard verification value (3-4 digits)
EXPstringExpiration date (MM/YY format)
masked_PANstringMasked card number
namestringCard nickname

Request Example

bash
curl -X GET https://api.uncash.io/api/v1/cards/card-id/details \
  -H "Authorization: Bearer uc_your_api_token_here"
javascript
const response = await fetch('https://api.uncash.io/api/v1/cards/card-id/details', {
  headers: {
    'Authorization': 'Bearer uc_your_api_token_here'
  }
});

const data = await response.json();
python
import requests

url = "https://api.uncash.io/api/v1/cards/card-id/details"
headers = {"Authorization": "Bearer uc_your_api_token_here"}

response = requests.get(url, headers=headers)
data = response.json()

Response Example

json
{
  "success": true,
  "message": "Card sensitive details retrieved successfully",
  "data": {
    "id": "card-id",
    "PAN": "123123123123123",
    "CVV": "123",
    "EXP": "11/23",
    "masked_PAN": "************1234",
    "name": "cardname"
  },
  "timestamp": "2025-11-22T09:31:29.350Z"
}

Warning

Highly Sensitive Data: This endpoint returns full card numbers and CVVs. Only use this for legitimate card operations and ensure:

  • Data is transmitted over HTTPS only
  • Sensitive data is never logged or stored insecurely
  • Access is restricted to authorized personnel/systems only
  • Compliance with PCI-DSS requirements

Error Responses

Card Not Found

json
{
  "success": false,
  "message": "Card not found or access denied",
  "timestamp": "2025-11-22T10:00:00.000Z"
}

UnCash API Documentation