---
title: "Capture Transaction"
method: POST
path: "/transactions/{transaction_id}/capture"
tags: ["Transactions API"]
---

# Capture Transaction

`POST /transactions/{transaction_id}/capture`

Include the `transaction_id` returned in the `authorize transaction` response to capture a transaction.

## Path parameters

- `transaction_id` string, required

## Headers

- `Idempotency-Key` string

## Request body

- CaptureRequest
  - `order_id` string — Identifies the order within the merchant's order management system that this transaction corresponds to. It is only returned in the response if included in the request.
  - `reference_id` string — An optional, unique identifier that may be associated with each transaction event and reconciled with the system of record used by the merchant.
  - `shipping_carrier` string — The shipping carrier used to ship the items.
  - `shipping_confirmation` string — The tracking number of the shipment.
  - `amount` integer — The amount to capture, used only for merchants that are enabled with split capture. The value is positive and is represented in the smallest currency unit, such as cents instead of dollars.

## Response `200`

HTTP 200 OK

## Other responses

- `400` — HTTP 400 Bad Request
- `401` — HTTP 401 Unauthorized
- `404` — HTTP 404 Not Found
- `409` — HTTP 409 Conflict

---

[API](https://skmtc.net/affirm/apis/merchant-transaction-api.md) · [All operations](https://skmtc.net/affirm/apis/merchant-transaction-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/affirm/merchant-transaction-api/versions/f2f4252c946f/schema)
