card_required
HTTP 422 · Spending needs the card itself or a store account linked with it
What happened. Spending needs the card itself. A phone number or email can find a card to earn on, but never to spend from, and an external id can spend only once it is proven to belong to that card (the sign-up that made the card, or POST /cards/link).
What to do. Name the card by its card_id (scanned or typed from under its QR) or serial, or link the store account to the card first with POST /cards/link.
Returned by
Section titled “Returned by”- Spend value now —
POST /redemptions - Reserve value against an online order —
POST /redemption-holds
The answer
Section titled “The answer”Errors are Problem Details, served as application/problem+json, with "code": "card_required" and "type": "https://passkaar.com/developers/errors/card_required", which opens this page on docs.passkaar.com.