---
title: >-
  New event and origin fields for store credit transactions - Shopify developer
  changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/new-event-and-origin-fields-for-store-credit-transactions
  md: >-
    https://shopify.dev/changelog/new-event-and-origin-fields-for-store-credit-transactions.md
metadata:
  effectiveApiVersion: 2025-04
  affectedApi:
    - displayName: Customer Account API
      handle: customer-account-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2025-01-29T14:06:56-05:00'
  postedAt: '2025-02-07T12:00:00-05:00'
  updatedAt: '2025-02-06T10:28:17-05:00'
  effectiveAt: '2025-01-30T12:00:00-05:00'
---

February 7, 2025

Tags:

* Customer Account API
* 2025-04

# New `event` and `origin` fields for store credit transactions

As of `2025-04`, the `event` and `origin` fields have been added to store credit transactions for the Customer Account GraphQL API.

`event`: Track what triggered a store credit transaction through the `StoreCreditSystemEvent` enum, which includes:

* Order payments and refunds
* Order cancellations
* Payment failures and returns
* Tax finalization adjustments
* Manual adjustments

`origin`: Identify the source of the transaction, with the ability to reference back to the originating `OrderTransaction` when applicable.

Additionally, we've made the `order` field accessible on `OrderTransaction` objects, allowing you to easily navigate from a transaction to its associated order.

For detailed documentation on using these new fields, visit [Shopify.dev](https://shopify.dev/docs/api/customer/2025-01/interfaces/StoreCreditAccountTransaction).
