POST
stripe_payment_intents_capture.py
from charter.packs import stripe
result = await stripe.payment_intents_capture.ainvoke({"intent": ...})
Path parameters
| Field | Type | Description |
|---|---|---|
intent * | string | The ID of the PaymentIntent. |
Body
| Field | Type | Description |
|---|---|---|
amountToCapture | integer | Capture less than was authorised. Absent, the whole capturable amount. It cannot exceed the original. ≥ 1 |
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. |