Anchor to orderCaptureorder
mutationorder Capture
Requires access scope or
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 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.
Anchor to Arguments
Arguments
- Anchor to inputinput•Order
Capture Input!required The input for the mutation.
Was this section helpful?
- Anchor to transactiontransaction•Order
Transaction The created capture transaction.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?