Skip to content

GraphQL

The plugin adds walletPasses and hasWalletPasses fields to the User GraphQL type. Enable "Query for wallet passes" in your GraphQL schema settings.

graphql
{
  viewer {
    walletPasses {
      id
      uid
      generatorHandle
      sourceId
      sourceIndex
      dateCreated
      dateUpdated
      lastUpdatedAt
    }
    hasWalletPasses
  }
}

Fields

FieldTypeDescription
walletPasses[WalletPass!]!All wallet passes for the user
hasWalletPassesBoolean!Whether the user has any passes

WalletPass Type

FieldTypeDescription
idInt!Pass ID
uidString!Unique identifier (used as Apple serial number)
generatorHandleString!Generator that created this pass (e.g. membership)
sourceIdIntExternal source ID (null for membership passes)
sourceIndexIntIndex for multi-pass sources
dateCreatedString!ISO 8601 datetime
dateUpdatedString!ISO 8601 datetime
lastUpdatedAtStringLast platform update, ISO 8601 datetime

Sensitive fields (authToken, applePassJson, googlePassJson) are not exposed.