Store Credit Account Transaction Origin
The origin of a store credit account transaction.
Anchor to Possible typesPossible types
- •OBJECT
The
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
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
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
object has a
kind
that defines the type of transaction and astatus
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.
- Anchor to accountNumberaccount•String
Number The masked account number associated with the payment method.
- Anchor to amountRoundingSetamount•Money
Rounding Set Bag The rounding adjustment applied on the cash amount in shop and presentment currencies.
- Anchor to amountSetamount•Money
Set Bag! non-null The amount and currency of the transaction in shop and presentment currencies.
- •String
Authorization code associated with the transaction.
- •Date
Time The time when the authorization expires. This field is available only to stores on a Shopify Plus plan.
- Anchor to createdAtcreated•Date
At Time! non-null Date and time when the transaction was created.
- Anchor to errorCodeerror•Order
Code Transaction Error Code A standardized error code, independent of the payment provider.
- Anchor to feesfees•[Transaction
Fee!]! non-null The transaction fees charged on the order transaction. Only present for Shopify Payments transactions.
- Anchor to formattedGatewayformatted•String
Gateway The human-readable payment gateway name used to process the transaction.
- Anchor to gatewaygateway•String
The payment gateway used to process the transaction.
- •ID!non-null
A globally-unique ID.
- Anchor to kindkind•Order
Transaction Kind! non-null The kind of transaction.
- Anchor to manuallyCapturablemanually•Boolean!
Capturable non-null Whether the transaction can be manually captured.
- Anchor to manualPaymentGatewaymanual•Boolean!
Payment Gateway non-null Whether the transaction is processed by manual payment gateway.
- Anchor to maximumRefundableV2maximum•Money
Refundable V2 V2 Specifies the available amount with currency to refund on the gateway. This value is only available for transactions of type
.
- Anchor to multiCapturablemulti
Capturable