Skip to content

Find a card by serial, card ID, phone, email or external id

POST /cards/lookup

A POST so a phone or email never sits in a URL or a log line.

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 POST "https://api.passkaar.com/integrations/v1/cards/lookup" \
-H "Authorization: Bearer $PASSKAAR_KEY" \
-H "Content-Type: application/json" \
-d '{
"card_id": "CARD_ID"
}'

object

The matching cards.

Field Type Required What it is
data array of object (Card) yes Every card the matched customer holds in this shop, or the one card named.

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

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