---
title: StoreCreditAccountTransactionOrigin - GraphQL Admin
description: The origin of a store credit account transaction.
api_version: 2026-04
source_url:
  html: https://shopify.dev/docs/api/admin-graphql/latest/unions/storecreditaccounttransactionorigin
  md: https://shopify.dev/docs/api/admin-graphql/latest/unions/storecreditaccounttransactionorigin.md
---

# Store​Credit​Account​Transaction​Origin

union

The origin of a store credit account transaction.

## Fields with this union

* [Store​Credit​Account​Credit​Transaction.origin](https://shopify.dev/docs/api/admin-graphql/latest/objects/StoreCreditAccountCreditTransaction#field-StoreCreditAccountCreditTransaction.fields.origin)

  OBJECT

  A credit transaction which increases the store credit account balance.

* [Store​Credit​Account​Debit​Revert​Transaction.origin](https://shopify.dev/docs/api/admin-graphql/latest/objects/StoreCreditAccountDebitRevertTransaction#field-StoreCreditAccountDebitRevertTransaction.fields.origin)

  OBJECT

  A debit revert transaction which increases the store credit account balance. Debit revert transactions are created automatically when a [store credit account debit transaction](https://shopify.dev/api/admin-graphql/latest/objects/StoreCreditAccountDebitTransaction) is reverted.

  Store credit account debit transactions are reverted when an order is cancelled, refunded or in the event of a payment failure at checkout. The amount added to the balance is equal to the amount reverted on the original credit.

* [Store​Credit​Account​Debit​Transaction.origin](https://shopify.dev/docs/api/admin-graphql/latest/objects/StoreCreditAccountDebitTransaction#field-StoreCreditAccountDebitTransaction.fields.origin)

  OBJECT

  A debit transaction which decreases the store credit account balance.

* [Store​Credit​Account​Expiration​Transaction.origin](https://shopify.dev/docs/api/admin-graphql/latest/objects/StoreCreditAccountExpirationTransaction#field-StoreCreditAccountExpirationTransaction.fields.origin)

  OBJECT

  An expiration transaction which decreases the store credit account balance. Expiration transactions are created automatically when a [store credit account credit transaction](https://shopify.dev/api/admin-graphql/latest/objects/StoreCreditAccountCreditTransaction) expires.

  The amount subtracted from the balance is equal to the remaining amount of the credit transaction.

* [Store​Credit​Account​Transaction.origin](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/StoreCreditAccountTransaction#fields-origin)

  INTERFACE

  Interface for a store credit account transaction.

***

```graphql
union StoreCreditAccountTransactionOrigin = OrderTransaction
```