Manual capture
A payment normally collects the money the moment it's confirmed. With manual capture, confirming only places a hold, called an authorization, on the buyer's card for the full amount. No money moves. Later you capture, which collects some or all of the held amount, or cancel, which releases the hold without charging anything.
Use it when you don't know the final amount while the buyer is paying: a rental with a damage deposit, a hotel stay with incidentals, a service quoted before the work is done, a bar tab. It also fits when you know the amount but need to confirm you can deliver first: a pre-order, a stock check, or a manual review of a large payment.
If you always charge the full amount right away, keep the default "capture_method": "automatic". Every hold needs a decision, capture or cancel, before it expires, and a forgotten hold ties up the buyer's money for days.
Where you can use it#
You choose manual capture with "capture_method": "manual" when your server creates the PaymentIntent with an API key:
| Payment | Manual capture |
|---|---|
A standalone PaymentIntent from POST /v1/payment-intents | Yes |
A payment leg on an order, from POST /v1/orders/{order_id}/payment-intents | Yes, with one leg per payment attempt. See Manual capture on orders. |
| Checkout sessions, payment links, invoices, and subscriptions | No. These always capture automatically. |
The payment options on the PaymentIntent decide how you can capture:
| Payment option | What you can capture |
|---|---|
card, apple_pay, google_pay | All of the hold, or part of it |
affirm | All of the hold only. See Affirm. |
ach_debit | Not offered with manual capture. Asking for it returns PAYMENT_OPTION_UNAVAILABLE with reason manual_capture_not_supported. |
How a hold works#
A manual-capture PaymentIntent follows the usual lifecycle with one extra stop. After confirmation it waits in requires_capture until you capture, you cancel, or the hold expires.
- requires_payment_method moves to requires_action on confirm, card needs 3D Secure
- requires_action moves to requires_capture on buyer authenticates
- requires_payment_method moves to requires_capture on confirm
- requires_capture moves to succeeded on capture
- requires_capture moves to canceled on cancel
- requires_capture moves to expired on authorization_expires_at passes
amount_money is the amount you asked the buyer for, and capturing never changes it. Four money fields say where the funds stand. Each is absent until the hold is placed:
| Field | Meaning |
|---|---|
authorized_money | The amount of the hold. Always equals amount_money, and never changes. |
capturable_money | What you can still capture. Equals authorized_money while the hold is open, and drops to zero once you capture or cancel, or the hold expires. |
captured_money | What you collected. Zero until you capture. Book revenue and print receipts from this field. |
released_money | What went back to the buyer without being charged: the uncaptured part after a partial capture, or the whole hold after a cancellation or expiry. |
authorized_money always equals captured_money plus capturable_money plus released_money.
Three timestamps go with them. authorized_at and authorization_expires_at are set when the hold is placed, and captured_at when you capture. authorization_expires_at is the deadline for your decision; see Authorization expiry.
Every PaymentIntent in a response or webhook carries supported_actions, the actions its current state accepts. While the hold is open it's ["capture", "cancel"]. After a capture, cancellation, or expiry it's []. Choose your next call from this list rather than from status. A listed action can still be refused by something outside the PaymentIntent, such as an open payment review or the state of its order.
Place a hold#
- Your server sends POST /v1/payment-intents with capture_method manual to Flint
- Flint returns payment_collection for Stripe Elements to Your server
- Browser sends ConfirmationToken ID from Elements to Your server
- Your server sends POST /v1/payment-intents/{id}/confirm to Flint
- Flint returns status requires_capture to Your server
- Flint sends payment_intent.requires_capture webhook to Your server
- Your server sends POST /v1/payment-intents/{id}/capture, once you know the amount to Flint
- Flint returns status succeeded, with captured_money to Your server
Create the PaymentIntent with "capture_method": "manual". Set amount_money to the most you might need to collect, since you can capture less but never more.
curl -X POST https://api.withflintpay.com/v1/payment-intents \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: hold-camera-rental-001" \
-d '{
"amount_money": {"amount": 12900, "currency": "USD"},
"payment_options": ["card"],
"capture_method": "manual"
}'
{
"data": {
"payment_intent_id": "pi_1kmn0aExample",
"status": "requires_payment_method",
"supported_actions": ["confirm", "cancel"],
"amount_money": {"amount": 12900, "currency": "USD"},
"capture_method": "manual",
"payment_options": ["card"],
"payment_flow": "api",
"payment_collection": {
"stripe": {
"account_id": "acct_Example",
"publishable_key": "pk_test_Example",
"elements": {
"next_step": "create_confirmation_token",
"submit_to": "confirm_payment_intent",
"mode": "payment",
"amount_money": {"amount": 12900, "currency": "USD"},
"payment_method_types": ["card"],
"payment_method_creation": "manual"
}
}
}
},
"request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4D"
}
Confirming places the hold. Mount Stripe Elements from payment_collection, call elements.submit(), create a ConfirmationToken in the browser, and send its ctoken_... ID to your server. Your server confirms; the browser never confirms the PaymentIntent itself. Server-confirmed payments covers collection and 3D Secure in full.
curl -X POST https://api.withflintpay.com/v1/payment-intents/pi_1kmn0aExample/confirm \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: confirm-camera-rental-001" \
-d '{"credential_type": "stripe_confirmation_token", "stripe": {"confirmation_token": "ctoken_Example"}}'
{
"data": {
"payment_intent_id": "pi_1kmn0aExample",
"status": "requires_capture",
"supported_actions": ["capture", "cancel"],
"amount_money": {"amount": 12900, "currency": "USD"},
"capture_method": "manual",
"authorized_money": {"amount": 12900, "currency": "USD"},
"capturable_money": {"amount": 12900, "currency": "USD"},
"captured_money": {"amount": 0, "currency": "USD"},
"released_money": {"amount": 0, "currency": "USD"},
"authorized_at": "2026-07-03T02:57:20Z",
"authorization_expires_at": "2026-07-10T02:57:19Z",
"payment_source": {
"type": "card",
"card": {"brand": "visa", "last4": "4242"}
},
"current_payment_action": null
},
"request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4E"
}
The hold is in place: status is requires_capture, the full amount is in capturable_money, and nothing has been charged. current_payment_action is null because the buyer has nothing left to do.
If the card needs 3D Secure, the confirm response is requires_action instead, with the step for the browser in current_payment_action. Once the buyer authenticates, confirm again with {"credential_type": "attached"} and the PaymentIntent reaches requires_capture. Either way, the payment_intent.requires_capture webhook tells you the hold is in place.
Store payment_intent_id and authorization_expires_at with the rental, booking, or order the hold is for. You can't raise a hold later: amount_money can change only before the first confirmation. To hold more, cancel this hold and have the buyer confirm a new PaymentIntent.
Capture the payment#
To collect the full hold, capture with no body. An empty {} body works the same.
curl -X POST https://api.withflintpay.com/v1/payment-intents/pi_1kmn0aExample/capture \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: capture-camera-rental-001"
To collect part of it, send amount_money. Here the camera came back a day early, so the merchant captures $98.00 of the $129.00 hold:
curl -X POST https://api.withflintpay.com/v1/payment-intents/pi_1kmn0aExample/capture \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: capture-camera-rental-partial-001" \
-d '{"amount_money": {"amount": 9800, "currency": "USD"}}'
{
"data": {
"payment_intent_id": "pi_1kmn0aExample",
"status": "succeeded",
"supported_actions": [],
"amount_money": {"amount": 12900, "currency": "USD"},
"capture_method": "manual",
"authorized_money": {"amount": 12900, "currency": "USD"},
"capturable_money": {"amount": 0, "currency": "USD"},
"captured_money": {"amount": 9800, "currency": "USD"},
"released_money": {"amount": 3100, "currency": "USD"},
"authorized_at": "2026-07-03T02:57:20Z",
"captured_at": "2026-07-05T16:12:04Z",
"authorization_expires_at": "2026-07-10T02:57:19Z"
},
"request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4F"
}
The PaymentIntent is succeeded. captured_money is the $98.00 you collected, and the other $31.00 is in released_money, on its way back to the buyer. amount_money still shows the $129.00 you asked for, so reconcile from captured_money. The processing fee is priced on the amount you capture, and refunds can return up to captured_money.
Warning: One hold, one capture
A PaymentIntent can be captured once. A partial capture releases the rest of the hold in the same request, and the released amount can't be captured later. For installments, authorize only the installment you intend to collect. On an order, a successful final capture discharges the uncaptured part of that authorization; it cannot be collected again as order debt.
The amount you capture must be:
- Greater than zero, and in the hold's currency. Otherwise the request returns
400 INVALID_REQUEST, withparamset toamount_money.amountoramount_money.currency. - No more than
capturable_money. A larger amount returns409 LIMIT_EXCEEDED, with the most you can capture indetails[0].maximum_money. If the final bill grew past the hold, capture the full hold and collect the difference as a new payment. - Large enough for your pricing. An amount below the smallest payment your rates cover returns
409 MERCHANT_NOT_READYwith reasonpricing_not_authorized, and the hold stays in place. Cancel the hold instead of capturing a very small amount. See When pricing rejects a payment.
Retry a capture safely#
Send an Idempotency-Key on every capture. If a capture times out, retry with the same key and body: Flint returns the original result, or finishes the interrupted capture, and never captures twice. A new key is a new request, and once the payment is captured it returns 409 ACTION_NOT_ALLOWED with reason already_applied. See Idempotency.
To refuse the capture if the PaymentIntent changed since you last read it, send that read's version as expected_version. A stale value returns 409 VERSION_CONFLICT.
Payment reviews#
If a risk rule opened a review on the payment, capture returns 409 PAYMENT_REVIEW_OPEN until someone approves it. details[0].blocking_resources names the review. Approving doesn't capture: capture again afterward, before authorization_expires_at. Declining the review cancels the hold. If nobody decides in time, Flint cancels the hold before it expires and closes the review as expired.
Cancel the hold#
If you won't be charging the buyer, cancel to release the hold right away:
curl -X POST https://api.withflintpay.com/v1/payment-intents/pi_1kmn0aExample/cancel \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: cancel-camera-rental-001" \
-d '{"cancellation_reason": "requested_by_customer"}'
{
"data": {
"payment_intent_id": "pi_1kmn0aExample",
"status": "canceled",
"supported_actions": [],
"amount_money": {"amount": 12900, "currency": "USD"},
"capture_method": "manual",
"cancellation_reason": "requested_by_customer",
"authorized_money": {"amount": 12900, "currency": "USD"},
"capturable_money": {"amount": 0, "currency": "USD"},
"captured_money": {"amount": 0, "currency": "USD"},
"released_money": {"amount": 12900, "currency": "USD"}
},
"request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4G"
}
The body is optional. cancellation_reason takes requested_by_customer, duplicate, fraudulent, or abandoned. Send no body, or {}, to cancel without a reason; cancellation_reason is then absent on the canceled PaymentIntent.
Nothing was charged, so there's nothing to refund, and the whole hold moves to released_money. Flint releases the authorization immediately, but the pending charge can take a few days to leave the buyer's statement, depending on their bank. Tell the buyer to expect that.
Authorization expiry#
Card networks release holds that aren't captured in time. Each hold's deadline is in authorization_expires_at, usually seven days after authorized_at for a card. When it passes without a capture, the PaymentIntent moves to expired, the whole hold moves to released_money, and Flint sends payment_intent.expired. An expired PaymentIntent has no cancellation_reason; that field appears only on a canceled one.
A capture sent after authorization_expires_at is refused with 409 ACTION_NOT_ALLOWED, and nothing is charged. Flint checks the authorization with the card processor first, then refuses with one of two reasons:
details[0].current_status | details[0].reason | What happened |
|---|---|---|
expired or canceled | terminal_status | The hold is already released. supported_actions is []. |
requires_capture | authorization_expired | The deadline passed, and Flint hasn't recorded the release yet. supported_actions still lists cancel: cancel to release the hold now, or let Flint release it. |
Either way, collecting the money now takes a new payment from the buyer. An expired hold usually means you delivered without collecting, so plan for the deadline:
- Read
authorization_expires_atfrom the confirm response or thepayment_intent.requires_capturewebhook, and schedule the capture well before it. Don't assume seven days. - If you won't know the final amount before the deadline, capture what you can justify in time, or cancel and place a new hold closer to fulfillment.
- Alert on
payment_intent.expired. Each one is money you meant to collect.
Cancel or refund?#
Which one you need depends on whether you've captured.
Before capture
Cancel
The buyer hasn't been charged. Cancel the PaymentIntent, and the pending hold drops off their statement without a charge ever posting.
After capture
Refund
The captured amount was collected, so returning any of it is a refund, up to captured_money. Refunding a PaymentIntent that is still requires_capture returns 409 ACTION_NOT_ALLOWED with reason status_not_reached.
The amount released by a partial capture is neither. It was never charged, so it needs no refund, and it can't be captured later. If you released too much, collecting it takes a new payment.
Refused captures and cancels#
When the PaymentIntent's state doesn't allow a capture or cancel, the request returns 409 ACTION_NOT_ALLOWED. details[0].resource_type is payment_intent, and details[0] also carries current_status, supported_actions, and a reason:
| Request | current_status | reason | What to do |
|---|---|---|---|
| Capture | requires_payment_method, requires_confirmation, or requires_action | status_not_reached | The hold isn't in place yet. Wait for payment_intent.requires_capture. |
| Capture | succeeded | already_applied | It's already captured. Read the PaymentIntent for captured_money. |
| Capture | canceled or expired | terminal_status | The hold is released. Collect with a new payment. |
| Capture | requires_capture | authorization_expired | The deadline passed. See Authorization expiry. |
| Cancel | succeeded | terminal_status | Money was collected, so issue a refund. remediation.next_actions includes create_refund. |
| Cancel | canceled or expired | already_applied | The hold is already released. Nothing to do. |
A retry of your own request with the same Idempotency-Key and body returns its original result instead of already_applied. Refused actions covers this error in general.
Manual capture on orders#
An order carries the line items, tax, and delivery the hold is for, and its payment status follows the hold. You create the order's payment leg yourself with "capture_method": "manual", confirm it through the order, then capture or cancel it through the same PaymentIntent routes as a standalone hold.
These rules apply to the order and its leg:
- Finalize the order first. While a hold is open, changes to the order's financial fields, such as its line items, charges, and discounts, return
409 PAYMENT_ATTEMPT_ACTIVE, and so does closing the order. Capture or cancel the hold first. - One leg per attempt. A payment attempt that confirms more than one leg, where any of them uses manual capture, returns
400 INVALID_REQUESTwith detail codeNOT_ALLOWED. - No automatic tax. An order that uses automatic tax needs immediate capture. Paying it with a manual-capture leg returns
400 INVALID_REQUESTwith detail codeNOT_ALLOWED. - Your server creates the leg. Creating it requires
commerce.orders.writeand an API key. A checkout session credential that asks for"capture_method": "manual"gets400 INVALID_REQUESTwith detail codeNOT_ALLOWEDoncapture_method.
Create the leg. With no amount_money, it covers the order's outstanding balance.
curl -X POST https://api.withflintpay.com/v1/orders/ord_1kmn0aExample/payment-intents \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: pi-order-rental-001" \
-d '{"capture_method": "manual"}'
{
"data": {
"payment_intent_id": "pi_1kmn0aExample",
"order_id": "ord_1kmn0aExample",
"status": "requires_payment_method",
"supported_actions": ["cancel"],
"amount_money": {"amount": 18500, "currency": "USD"},
"capture_method": "manual",
"payment_options": ["card"],
"payment_collection": {
"stripe": {
"account_id": "acct_Example",
"publishable_key": "pk_test_Example",
"elements": {
"next_step": "collect_payment_source",
"submit_to": "pay_order",
"mode": "payment",
"amount_money": {"amount": 18500, "currency": "USD"},
"payment_method_types": ["card"],
"payment_method_creation": "manual"
}
}
}
},
"request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4H"
}
The leg's fields are flat in data, with payment_collection beside them. Its supported_actions never lists confirm: an order's leg is confirmed through the order, and POST /v1/payment-intents/{payment_intent_id}/confirm refuses it with 409 ACTION_NOT_ALLOWED and reason order_owned.
Collect the card with Stripe Elements as next_step describes, then send the resulting payment method to the order's pay route with action: "confirm_payment_intents". Embedded payments covers collection in full.
curl -X POST https://api.withflintpay.com/v1/orders/ord_1kmn0aExample/pay \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: pay-order-rental-001" \
-d '{
"action": "confirm_payment_intents",
"payment_intents": [{
"credential_type": "token",
"payment_intent_id": "pi_1kmn0aExample",
"token": "pm_1kmn0aExample"
}],
"expected_outstanding_money": {"amount": 18500, "currency": "USD"}
}'
{
"data": {
"order": {
"order_id": "ord_1kmn0aExample",
"status": "open",
"payment_status": "unpaid",
"authorization_amounts": {
"authorized_money": {"amount": 18500, "currency": "USD"},
"capturable_money": {"amount": 18500, "currency": "USD"},
"expires_at": "2026-07-10T02:58:26Z"
},
"settlement_amounts": {
"paid_money": {"amount": 0, "currency": "USD"},
"outstanding_money": {"amount": 18500, "currency": "USD"}
}
},
"order_payment_attempt": {
"order_payment_attempt_id": "opat_1kmn0aExample",
"status": "requires_capture",
"is_resumable": false
}
},
"request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4J"
}
The order is still open and unpaid, because only captured money counts toward payment_status. The hold shows in authorization_amounts, and expires_at is the PaymentIntent's authorization_expires_at. The attempt is waiting on you, not the buyer: is_resumable is false, and the next step is a capture or a cancel, not action: "resume".
Fulfillments need a paid order, so creating one while the hold is open returns 409 ACTION_NOT_ALLOWED with reason status_not_reached. Capture first. If you deliver outside Flint before charging, capture before authorization_expires_at.
Capture the leg like any other PaymentIntent. Leave out amount_money for the full hold, or send it for part of it:
curl -X POST https://api.withflintpay.com/v1/payment-intents/pi_1kmn0aExample/capture \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: capture-order-rental-001"
The response is the PaymentIntent, with captured_money and released_money as for a standalone capture. Flint finds the payment attempt from the leg, so the request takes no order_payment_attempt_id, and the order changes in the same request:
- A full capture collects the authorization. When it covers the remaining balance, the order becomes
paidand closes withclosed_reason: paid. - A partial capture is your final bill for that authorization. Its uncaptured part becomes
settlement_amounts.released_moneyand reducesoutstanding_money. When the capture and release cover the remaining balance, the order becomespaidand closes withclosed_reason: paid. No extra close call is needed.
For a $25.00 order with a $25.00 hold and a $15.00 final capture, paid_money and net_collected_money are $15.00, released_money is $10.00, and outstanding_money is zero. pricing_amounts.total_money stays $25.00. The release is neither a refund nor a write-off, and only the captured $15.00 can be refunded. A later refund does not restore the released debt.
Release discharges only debt within the successful capture's authorization, capped at the remaining priced obligation. A smaller hold does not discharge an unrelated balance. Canceling or expiring a hold does not add order released_money.
Read the order with GET /v1/orders/{order_id}, or from the order.paid and order.closed webhooks.
To release the hold instead, cancel the leg with POST /v1/payment-intents/{payment_intent_id}/cancel, exactly as for a standalone hold. The order stays open and unpaid.
The order's state can refuse a capture or cancel that the PaymentIntent allows. These refusals are 409 ACTION_NOT_ALLOWED with details[0].resource_type order: reason terminal_status when the order is closed, and already_applied when it's already paid. A leg in requires_payment_method or requires_confirmation that an open payment attempt is still using returns 409 PAYMENT_ATTEMPT_ACTIVE; finish or cancel the attempt first. A leg in requires_action doesn't list cancel in supported_actions, because the buyer's payment attempt owns it until it finishes.
Webhooks#
Holds are resolved minutes or days after they're placed, often by a scheduled job rather than a request, so webhooks are the reliable record of each change. The PaymentIntent sends every hold event, and a PaymentIntent on an order carries order_id. The order sends order.paid or order.partially_paid only when its payment_status changes.
Each changed order axis sends its event once: order.paid for payment and order.closed for closure. A settled final capture does not also send order.partially_paid or order.updated, and re-observing the same capture sends nothing.
There's no separate capture event: a capture is the PaymentIntent succeeding, so it arrives as payment_intent.succeeded. Cancellation and expiry are different events, so an expiry handler doesn't need to inspect cancellation_reason.
Test it#
In the sandbox, you can place and capture a hold from your terminal on an order. Create an order with "tax": {"enabled": false} (manual capture refuses automatic tax), add one manual-capture leg for its balance, and confirm the leg with a test token:
curl -X POST https://api.withflintpay.com/v1/orders/ord_1kmn0aExample/payment-intents \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: hold-test-leg-001" \
-d '{
"amount_money": {"amount": 2500, "currency": "USD"},
"payment_options": ["card"],
"capture_method": "manual"
}'
curl -X POST https://api.withflintpay.com/v1/orders/ord_1kmn0aExample/pay \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: hold-test-pay-001" \
-d '{
"action": "confirm_payment_intents",
"payment_intents": [{
"credential_type": "token",
"payment_intent_id": "pi_1kmn0aExample",
"token": "pm_card_visa"
}],
"expected_outstanding_money": {"amount": 2500, "currency": "USD"}
}'
The PaymentIntent lands in requires_capture; capture or cancel it with the routes above. In a browser with Stripe Elements, the universal success card, , places a hold.
To check that your code waits for payment_intent.requires_capture instead of assuming the hold from the confirm response, use the 3D Secure card, , which stops at requires_action first.
To rehearse the review gate, create a sandbox review rule and confirm a manual-capture payment; Testing walks through it.
No test card makes a hold expire early. To check that your expiry handler is wired up, send payment_intent.expired from the test-events endpoint. A test event carries an example PaymentIntent with placeholder IDs, so it proves delivery and routing, not the logic behind them. A handler that reads the hold back from Flint needs a real hold.
Errors#
Error handling covers the envelope these arrive in and the request IDs to log.
Common mistakes#
- Treating the hold as revenue.
requires_capturemeans the money is reserved, not collected. Untilcaptured_moneyis positive, you haven't been paid. - Reading
amount_moneyas the amount collected. It's the amount you asked for, and capture never changes it. After a partial capture,captured_moneyis what you were paid. - Letting holds expire unnoticed. Schedule a capture or cancel before
authorization_expires_atfor every hold, and alert onpayment_intent.expired. - Planning to capture twice. One hold, one capture. A partial capture releases the rest immediately.
- Waiting for a capture event. There isn't one. A successful capture arrives as
payment_intent.succeeded. - Refunding a hold. Before capture there's nothing to refund. Cancel instead.
- Resuming an attempt that's waiting for capture. An order attempt in
requires_captureneeds a capture or a cancel, notaction: "resume". - Editing an order under an open hold. Financial changes return
PAYMENT_ATTEMPT_ACTIVEuntil you capture or cancel. Settle the total first, then pay.
