List card series
GET
/api/v1/card-batches
prm_cards_list
One page of card series with their stock breakdown. A non-admin caller sees only series created within their own manager subtree.
Never derive stock by subtraction. used excludes both unused and revoked, so quantity minus used is not the unused count, and quantity itself grows when the point of sale mints into the series. available is the sellable stock. stuck_sale is a warning, not a bucket: it counts cards held by a till sale that never completed, and there is no reaper for it.
At a glance
- Authentication
- Staff token or session
- Requires permission
-
prm_cards_listView card batches & cards
Parameters
| Parameter | Description |
|---|---|
filter[status]
query · string
|
Generation status — generating, ready, failed. |
filter[card_mode]
query · string
|
The series mode. |
filter[owner_manager_id]
query · integer
|
The reseller holding the series after any transfer. |
filter[suspended]
query · boolean
|
Series whose unused cards have been revoked. |
filter[template_id]
query · integer
|
Series cut from one saved card template. |
q
query · string
|
Plan name, distribution note, or series id. |