Skip to main content
Anchor to StoreCreditAccountTransaction

StoreCreditAccountTransaction

interface

Requires customer_read_store_credit_account_transactions access scope.

Interface for a store credit account transaction.

•StoreCreditAccount!
non-null

The store credit account that the transaction belongs to.

Show fields
•MoneyV2!
non-null

The amount of the transaction.

Show fields
Anchor to balanceAfterTransactionbalanceAfterTransaction
•MoneyV2!
non-null

The balance of the account after the transaction.

Show fields
•DateTime!
non-null

The date and time when the transaction was created.

•StoreCreditSystemEvent!
non-null

The event that caused the store credit account transaction.

Show enum values
•StoreCreditAccountTransactionOrigin

The origin of the store credit account transaction.

Show union types

Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

A credit transaction which increases the store credit account balance.

Show fields
•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 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.

Show fields
•OBJECT

A debit transaction which decreases the store credit account balance.

Show fields
•OBJECT

An expiration transaction which decreases the store credit account balance. Expiration transactions are created automatically when a store credit account credit transaction expires.

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

Show fields

Was this section helpful?