---
title: "Capture a payment transaction"
method: POST
path: "/payments/transactions/{id}/capture"
tags: ["Transactions"]
---

# Capture a payment transaction

`POST /payments/transactions/{id}/capture`

See [here](https://docs.meld.io/docs/authorization-capture) to learn more about authorization and capture.

## Path parameters

- `id` string, required

## Headers

- `X-Idempotency-Key` string, uuid
- `Meld-Passthrough-Reference` string
- `Meld-Passthrough-Key-Id` string
- `Meld-Passthrough-Key-Public` string
- `Meld-Passthrough-Key-Private` string
- `Meld-Passthrough-Oauth` string

## Request body

- PaymentCaptureRequest
  - `description` string
  - `sourceAmount` number — If not provided then the entire Authorization amount will be captured.

## Response `200`

Payment captured

## Other responses

- `400` — Bad Request : check request values and format
- `401` — Invalid credentials
- `403` — Unauthenticated or authenticated with insufficient access
- `425` — It is too early for a retry
- `500` — Server Error. This applies to all 5xx errors, including but not limited to 500, 501, 502, 503, and 504 errors. You should treat all of these errors the same.

---

[API](https://skmtc.net/meld/apis/bank-linking.md) · [All operations](https://skmtc.net/meld/apis/bank-linking/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meld/bank-linking/revisions/818d6079a611/schema)
