Skip to main content

Audience:

Developers

Get card package tier

Retrieve the card package tier assigned to a specific card using the card query. Card package tiers: Standard, Essential, and Premium.

Retrieve card package tier

  1. Call the card query.
  2. Enter the cardId (line 2).
  3. Add cardPackage to receive the card package tier (line 4).

Query

Open in API Explorer
query RetrieveCardPackage {
card(cardId: "$YOUR_CARD_ID") {
id
cardPackage
}
}

Payload

The response includes the cardPackage (line 5), Premium in this example. Possible values: Standard, Essential, or Premium.

{
"data": {
"card": {
"id": "$YOUR_CARD_ID",
"cardPackage": "Premium"
}
}
}