`GiftCardCashOutTransaction` is now resolvable from `GiftCardTransaction`
Starting with GraphQL Admin API version 2026-07, the [GiftCardCashOutTransaction](https://shopify.dev/docs/api/admin-graphql/2026-07/objects/GiftCardCashOutTransaction type is introduced as a new variant of the GiftCardTransaction 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 GiftCardDebitTransaction. From version 2026-07 onwards, they are identified as GiftCardCashOutTransaction. To accurately differentiate cash-out transactions from credit and debit transactions, use the __typename field when querying giftCard.transactions.
Below is an example query:
giftCard(id: "...") {
transactions(first: 10) {
nodes {
__typename
... on GiftCardCashOutTransaction {
id
amount { amount currencyCode }
}
}
}
}Fetched June 5, 2026

