← All Shopify Updates
Shopify Update · Published June 8, 2026 · Source: New `event` and `origin` fields for store credit transactions

Shopify Adds Event and Origin Fields to Store Credit Transactions in 2025

What Changed

Shopify has introduced two new fields to store credit transactions in the Customer Account GraphQL API, effective as of April 2025. The event field uses the StoreCreditSystemEvent enum to track what triggered a transaction, including order payments, refunds, cancellations, payment failures, returns, tax adjustments, and manual modifications. The origin field identifies the source of each transaction and can reference back to the originating OrderTransaction when applicable.

Why This Matters

These additions give developers significantly better visibility into store credit transaction history and the underlying causes of each transaction. With clearer tracking through the `event` and `origin` fields, you can build more sophisticated customer account features, generate accurate financial reports, and provide customers with transparent transaction histories that explain exactly why their store credit changed.

This enhancement is particularly valuable for merchants managing complex refund workflows, handling multiple payment scenarios, and maintaining audit trails for compliance purposes. Developers can now query more granular transaction data without relying on external systems to piece together the context of each store credit adjustment.

What You Should Do

How GetShopifyToken Helps

GetShopifyToken streamlines secure access to Shopify's APIs by simplifying authentication and token management, so you can focus on implementing these new store credit features without worrying about OAuth complexity.

← More Shopify Updates