Skip to main content
Anchor to StoreCreditAccountTransactionOrigin

StoreCreditAccountTransactionOrigin

union

Requires read_orders access scope or read_marketplace_orders access scope.

The origin of a store credit account transaction.

•OBJECT

The OrderTransaction object represents a payment transaction that's associated with an order. An order transaction is a specific action or event that happens within the context of an order, such as a customer paying for a purchase or receiving a refund, or other payment-related activity.

Use the OrderTransaction object to capture the complete lifecycle of a payment, from initial authorization to final settlement, including refunds and currency exchanges. Common use cases for using the OrderTransaction object include:

  • Processing new payments for orders
  • Managing payment authorizations and captures
  • Processing refunds for returned items
  • Tracking payment status and errors
  • Managing multi-currency transactions
  • Handling payment gateway integrations

Each OrderTransaction object has a kind that defines the type of transaction and a status that indicates the current state of the transaction. The object stores detailed information about payment methods, gateway processing, and settlement details.

Learn more about payment processing and payment gateway integrations.


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?