Skip to content

List Cards

Get all user's virtual cards with summary information

Endpoint: GET https://api.uncash.io/api/v1/cards

Response

Success Response

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

Data Object

FieldTypeDescription
total_balancenumberTotal balance across all cards
total_cardsnumberTotal number of cards
cardsarrayArray of card objects

Card Object

FieldTypeDescription
idstringCard ID (UUID)
namestringCard nickname
statusstringCard status ("active", "frozen", "closed")
balancenumberCurrent card balance
categorystringCard category ("wallet" or "online")
card_plannumberCard plan ID
card_numberstringMasked card number (e.g., "************1249")
created_atstringISO 8601 timestamp

Request Example

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

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

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

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

Response Example

json
{
  "success": true,
  "message": "User cards retrieved successfully",
  "data": {
    "total_balance": 2140.15,
    "total_cards": 41,
    "cards": [
      {
        "id": "card-id",
        "name": "card-name",
        "status": "active",
        "balance": 10,
        "category": "wallet",
        "card_plan": 1,
        "card_number": "************1234",
        "created_at": "2025-11-22T08:26:48.998433+00:00"
      }
    ]
  },
  "timestamp": "2025-11-22T09:27:01.970Z"
}

UnCash API Documentation