> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# payment_intents_capture

> Take funds previously authorised by a manual-capture payment. Capturing less than the full amount releases the rest.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://api.stripe.com/v1/payment_intents/{intent}/capture"}</code></div>

```python stripe_payment_intents_capture.py theme={null}
from charter.packs import stripe

result = await stripe.payment_intents_capture.ainvoke({"intent": ...})
```

## Path parameters

<div className="reference-table">
  | Field                                                          | Type     | Description                  |
  | -------------------------------------------------------------- | -------- | ---------------------------- |
  | `intent` <span className="required" title="required">\*</span> | `string` | The ID of the PaymentIntent. |
</div>

## Body

<div className="reference-table">
  | Field             | Type            | Description                                                                                                                                                                                                                                                                                                                     |
  | ----------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `amountToCapture` | `integer`       | Capture less than was authorised. Absent, the whole capturable amount. It cannot exceed the original. <span className="field-constraints">≥ 1</span>                                                                                                                                                                            |
  | `finalCapture`    | `boolean`       | False keeps the remaining authorised funds available for a later capture. Only send this on an intent that supports multi-capture, which an online card payment does not: Stripe refuses the whole capture otherwise, even when the value matches what it would have done anyway. Absent, the uncaptured remainder is released. |
  | `metadata`        | map of `string` | Set of key-value pairs attached to the payment.                                                                                                                                                                                                                                                                                 |
</div>
