Skip to main content
mutation

Requires write_orders access scope or write_marketplace_orders access scope. Also: The user must have capture_payments_for_orders permission.

Captures payment for an authorized transaction on an order. Use this mutation to claim the money that was previously reserved by an authorization transaction.

The orderCapture mutation can be used in the following scenarios:

  • To capture the full amount of an authorized transaction
  • To capture a partial payment by specifying an amount less than the total order amount
  • To perform multiple captures on the same order, as long as the order transaction is multi-capturable

Note

Multi-capture functionality is only available to stores on a Shopify Plus plan. For multi-currency orders, the currency field is required and should match the presentment currency from the order.


After capturing a payment, you can:

  • View the transaction details including status, amount, and processing information.
  • Track the captured amount in both shop and presentment currencies.
  • Monitor the transaction's settlement status.

Learn more about order transactions.

•OrderCaptureInput!required

The input for the mutation.


Was this section helpful?

Anchor to OrderCapturePayload returnsOrderCapturePayload returns

•OrderTransaction

The created capture transaction.

•[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?