Get card package tier
Retrieve the card package tier assigned to a specific card using the card query. Card package: Standard, Essential, and Premium.
Retrieve card package tier​
- Call the
cardquery. - Enter the
cardId(line 2). - Add
cardPackageto receive the card package tier (line 4).
Query
Open in API Explorerquery RetrieveCardPackage {
card(cardId: "$YOUR_CARD_ID") {
id
cardPackage
}
}
Payload
The response includes the cardPackage (line 5), which is the Premium tier. Possible values: Standard, Essential, or Premium.
{
"data": {
"card": {
"id": "$YOUR_CARD_ID",
"cardPackage": "Premium"
}
}
}