OrderTransaction
Requires access scope or
access scope.
A payment transaction in the context of an order.
Anchor to FieldsFields
- Anchor to accountNumberaccount•
Number The masked account number associated with the payment method.
- Anchor to amountSetamount•
Set MoneyBag! non-null The amount and currency of the transaction in shop and presentment currencies.
- Anchor to authorizationCodeauthorization•
Code Authorization code associated with the transaction.
- Anchor to authorizationExpiresAtauthorization•
Expires At The time when the authorization expires. This field is available only to stores on a Shopify Plus plan and is populated only for Shopify Payments authorizations.
- Anchor to createdAtcreated•
At DateTime! non-null Date and time when the transaction was created.
- Anchor to errorCodeerror•
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•
Gateway The human-readable payment gateway name used to process the transaction.
- Anchor to gatewaygateway•
The payment gateway used to process the transaction.
- •ID!non-null
A globally-unique ID.
- Anchor to kindkind•Order
Transaction non-nullKind! The kind of transaction.
- Anchor to manuallyCapturablemanually•
Capturable Boolean!non-null Whether the transaction can be manually captured.
- Anchor to maximumRefundableV2maximum•
Refundable 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 Boolean!non-null Whether the transaction can be captured multiple times.
- Anchor to orderorder•
The associated order.
- Anchor to parentTransactionparent•
Transaction The associated parent transaction, for example the authorization of a capture.
- Anchor to paymentDetailspayment•
Details The payment details for the transaction.
- Anchor to paymentIconpayment•
Icon The payment icon to display for the transaction.
- Anchor to paymentIdpayment•
Id The payment ID associated with the transaction.
- Anchor to processedAtprocessed•
At Date and time when the transaction was processed.
- Anchor to receiptJsonreceipt•
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.
- Anchor to settlementCurrencysettlement•
Currency The settlement currency.
- Anchor to settlementCurrencyRatesettlement•
Currency Rate The rate used when converting the transaction amount to settlement currency.
- Anchor to shopifyPaymentsSetshopify•
Payments Set Contains all Shopify Payments information related to an order transaction. This field is available only to stores on a Shopify Plus plan.
- Anchor to statusstatus•Order
Transaction non-nullStatus! The status of this transaction.
- Anchor to testtest•Boolean!non-null
Whether the transaction is a test transaction.
- Anchor to totalUnsettledSettotal•
Unsettled Set 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.
- Anchor to useruser•
Staff member who was logged into the Shopify POS device when the transaction was processed.
Anchor to MutationsMutations
- •mutation
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.- •mutation
Trigger the voiding of an uncaptured authorization transaction.