Skip to main content

Get card package level

Card products are associated with a specific card package: Standard, Essential and Premium. You can retrieve the package level for a specific card using the card query.

Retrieve card package level​

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

Query

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

Payload

  1. The response includes the cardPackage (line 4), which is Premium.
{
"data": {
"card": {
"id": "$YOUR_CARD_ID",
"cardPackage": Premium
}
}
}