Tags:
- Admin GraphQL API
- 2026-07
GiftCardCashOutTransaction is now resolvable from GiftCardTransaction
GiftCardCashOutTransaction is now resolvable from GiftCardTransactionStarting with GraphQL Admin API version 2026-07, the [](https://shopify.dev/docs/api/admin-graphql/2026-07/objects/GiftCardCashOutTransaction type is introduced as a new variant of the interface. This type specifically represents transactions where a gift card balance is paid out through a point of sale (POS) system.
In previous API versions, such as 2026-04 and earlier, these transactions were classified as . From version 2026-07 onwards, they are identified as . To accurately differentiate cash-out transactions from credit and debit transactions, use the __typename field when querying .
Below is an example query:
giftCard(id: "...") {
transactions(first: 10) {
nodes {
__typename
... on GiftCardCashOutTransaction {
id
amount { amount currencyCode }
}
}
}
}
giftCard(id: "...") {
transactions(first: 10) {
nodes {
__typename
... on GiftCardCashOutTransaction {
id
amount { amount currencyCode }
}
}
}
}Was this section helpful?