Appearance
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
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The card ID (UUID) to retrieve sensitive details for |
Response
Success Response
| Field | Type | Description |
|---|---|---|
success | boolean | Indicates if the request was successful |
message | string | Success message |
timestamp | string | ISO 8601 timestamp |
Data Object
| Field | Type | Description |
|---|---|---|
id | string | Database card ID (UUID) |
PAN | string | Full card number (16 digits) |
CVV | string | Card verification value (3-4 digits) |
EXP | string | Expiration date (MM/YY format) |
masked_PAN | string | Masked card number |
name | string | Card 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"
}