# OrderTransaction - admin-graphql - OBJECT Version: 2024-10 ## Description A payment transaction in the context of an order. ### Access Scopes `read_orders` access scope or `read_marketplace_orders` access scope. ## Fields * [accountNumber](/docs/api/admin-graphql/2024-10/scalars/String): String - The masked account number associated with the payment method. * [amount](/docs/api/admin-graphql/2024-10/scalars/Money): Money! - The amount of money. * [amountRoundingSet](/docs/api/admin-graphql/2024-10/objects/MoneyBag): MoneyBag - The rounding adjustment applied on the cash amount in shop and presentment currencies. * [amountSet](/docs/api/admin-graphql/2024-10/objects/MoneyBag): MoneyBag! - The amount and currency of the transaction in shop and presentment currencies. * [amountV2](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2! - The amount and currency of the transaction. * [authorizationCode](/docs/api/admin-graphql/2024-10/scalars/String): String - Authorization code associated with the transaction. * [authorizationExpiresAt](/docs/api/admin-graphql/2024-10/scalars/DateTime): DateTime - The time when the authorization expires. This field is available only to stores on a Shopify Plus plan. * [createdAt](/docs/api/admin-graphql/2024-10/scalars/DateTime): DateTime! - Date and time when the transaction was created. * [errorCode](/docs/api/admin-graphql/2024-10/enums/OrderTransactionErrorCode): OrderTransactionErrorCode - A standardized error code, independent of the payment provider. * [fees](/docs/api/admin-graphql/2024-10/objects/TransactionFee): TransactionFee! - The transaction fees charged on the order transaction. Only present for Shopify Payments transactions. * [formattedGateway](/docs/api/admin-graphql/2024-10/scalars/String): String - The human-readable payment gateway name used to process the transaction. * [gateway](/docs/api/admin-graphql/2024-10/scalars/String): String - The payment gateway used to process the transaction. * [id](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - A globally-unique ID. * [kind](/docs/api/admin-graphql/2024-10/enums/OrderTransactionKind): OrderTransactionKind! - The kind of transaction. * [manuallyCapturable](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! - Whether the transaction can be manually captured. * [maximumRefundable](/docs/api/admin-graphql/2024-10/scalars/Money): Money - Specifies the available amount to refund on the gateway. This value is only available for transactions of type `SuggestedRefund`. * [maximumRefundableV2](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2 - Specifies the available amount with currency to refund on the gateway. This value is only available for transactions of type `SuggestedRefund`. * [multiCapturable](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! - Whether the transaction can be captured multiple times. * [order](/docs/api/admin-graphql/2024-10/objects/Order): Order - The associated order. * [parentTransaction](/docs/api/admin-graphql/2024-10/objects/OrderTransaction): OrderTransaction - The associated parent transaction, for example the authorization of a capture. * [paymentDetails](/docs/api/admin-graphql/2024-10/unions/PaymentDetails): PaymentDetails - The payment details for the transaction. * [paymentIcon](/docs/api/admin-graphql/2024-10/objects/Image): Image - The payment icon to display for the transaction. * [paymentId](/docs/api/admin-graphql/2024-10/scalars/String): String - The payment ID associated with the transaction. * [paymentMethod](/docs/api/admin-graphql/2024-10/enums/PaymentMethods): PaymentMethods - The payment method used for the transaction. This value is `null` if the payment method is unknown. * [processedAt](/docs/api/admin-graphql/2024-10/scalars/DateTime): DateTime - Date and time when the transaction was processed. * [receiptJson](/docs/api/admin-graphql/2024-10/scalars/JSON): JSON - The transaction receipt that the payment gateway attaches to the transaction. The value of this field depends on which payment gateway processed the transaction. * [settlementCurrency](/docs/api/admin-graphql/2024-10/enums/CurrencyCode): CurrencyCode - The settlement currency. * [settlementCurrencyRate](/docs/api/admin-graphql/2024-10/scalars/Decimal): Decimal - The rate used when converting the transaction amount to settlement currency. * [shopifyPaymentsSet](/docs/api/admin-graphql/2024-10/objects/ShopifyPaymentsTransactionSet): ShopifyPaymentsTransactionSet - Contains all Shopify Payments information related to an order transaction. This field is available only to stores on a Shopify Plus plan. * [status](/docs/api/admin-graphql/2024-10/enums/OrderTransactionStatus): OrderTransactionStatus! - The status of this transaction. * [test](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! - Whether the transaction is a test transaction. * [totalUnsettled](/docs/api/admin-graphql/2024-10/scalars/Money): Money - Specifies the available amount to capture on the gateway. Only available when an amount is capturable or manually mark as paid. * [totalUnsettledSet](/docs/api/admin-graphql/2024-10/objects/MoneyBag): MoneyBag - Specifies the available amount with currency to capture on the gateway in shop and presentment currencies. Only available when an amount is capturable or manually mark as paid. * [totalUnsettledV2](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2 - Specifies the available amount with currency to capture on the gateway. Only available when an amount is capturable or manually mark as paid. * [user](/docs/api/admin-graphql/2024-10/objects/StaffMember): StaffMember - Staff member who was logged into the Shopify POS device when the transaction was processed. ## Connections ## Related queries ## Related mutations * [orderCapture](/docs/api/admin-graphql/2024-10/mutations/orderCapture) Captures payment for an authorized transaction on an order. An order can only be captured if it has a successful authorization transaction. Capturing an order will claim the money reserved by the authorization. orderCapture can be used to capture multiple times as long as the OrderTransaction is multi-capturable. To capture a partial payment, the included `amount` value should be less than the total order amount. Multi-capture is available only to stores on a Shopify Plus plan. * [transactionVoid](/docs/api/admin-graphql/2024-10/mutations/transactionVoid) Trigger the voiding of an uncaptured authorization transaction. ## Related Unions ## Examples