Skip to content

A card's balance, rewards, tier, dates, status and whether it is in a wallet

GET /cards/{id}

Scope: cards:read. The key’s connection must hold it; see the reference’s introduction.

Replace the CAPITALS, and set PASSKAAR_KEY to a key from the portal.

Terminal window
curl -X GET "https://api.passkaar.com/integrations/v1/cards/CARD_UUID" \
-H "Authorization: Bearer $PASSKAAR_KEY"
Name In Type Required What it is
id path string (uuid) yes

The card.

Field Type Required What it is
id string (uuid) yes
card_id string or null yes The printed card ID, only when the call named the card by serial or card_id, the call made the card (a created sign-up), or this connection’s external_id was linked with the card. Null when the card was found by phone, email or an unproven link.
program object yes
program.id string (uuid) yes
program.name string yes
program.type stamps, points, coupon, prepaid, membership, tiers yes tiers is the VIP card; prepaid the prepaid card.
customer object (CardCustomer) yes Never the full phone or email (ADR 0168).
customer.id string (uuid) yes
customer.first_name string yes
customer.phone_masked string or null yes
customer.email_masked string or null yes
customer.external_id string or null yes
status active, suspended, revoked yes
ended_on string (date) or null yes Set once the card has ended; a banked reward may still be given.
in_wallet boolean yes In Apple or Google Wallet now.
wallets array of apple, google yes Where it is now.
claimable boolean yes Made by this connection’s own sign-up and never yet in a wallet, so POST /cards/{id}/claim-link may hand out a fresh link.
issued_at string (date-time) yes RFC 3339. Answers are in UTC; requests may carry any offset.
last_activity_at string (date-time) or null yes
balance object yes The card’s standing after the call, by its type.

Every error is a Problem Details answer with a stable code.

Status Code
400 invalid_request
401 unauthorized
404 not_found
429 rate_limited
500 internal_error
503 unavailable