Skip to main content
Anchor to StoreCreditAccountTransactionOrigin

StoreCreditAccountTransactionOrigin

union

The origin of a store credit account transaction.

•OBJECT

A payment transaction within an order context.

•DateTime!

The date and time when the transaction was created.

•GiftCardDetails

The gift card details for the transaction.

•ID!

A globally-unique ID.

•OrderTransactionKind

The kind of the transaction.

•Order

The associated order for the transaction.

•PaymentDetails

The payment details for the transaction.

•PaymentIconImage

The payment icon to display for the transaction.

•DateTime

The date and time when the transaction was processed.

•OrderTransactionStatus

The status of the transaction.

•MoneyBag!

The amount and currency of the transaction in shop and presentment currencies.

•String

The ID of the parent transaction.

•OrderTransactionType!

The type of the transaction.

•TransactionTypeDetails

The details of the transaction type.


Was this section helpful?

Anchor to Fields with this unionFields with this union

•OBJECT

A credit transaction which increases the store credit account balance.

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

•OBJECT

A debit transaction which decreases the store credit account balance.

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

•INTERFACE

Interface for a store credit account transaction.


Was this section helpful?