Skip to main content

customerCardInstances

Loads the customer's card instances.

This query will return any cards that are loaded and within their expiry time. For cards that are past their expiry or are errored it will request a load of the cards and return a CustomerCardInstanceLoading.

A maximum of 25 card instances will be returned, due to only allowing 25 customer card configs.

customerCardInstances(
customerId: ID!
): [CustomerCardInstance!]!

Arguments

customerId (ID!)

Type

CustomerCardInstance

A shared interface for all common properties customer card instances can have. A customer can only have one customer card instance for each customer card config at any point in time.

Has 3 implementations:

  • CustomerCardInstanceLoading
  • CustomerCardInstanceLoaded
  • CustomerCardInstanceError