capabilities.work

Authorize and Capture Payment

A 4-step recipe with Stripe. We can help you get access.

Recipe · 4 steps

Authorize and Capture Payment

with Stripe · Payment Initiation Management
Works with AI assistants

Place an authorization hold, confirm it, wait for capture readiness, then capture.

  1. Open a PaymentIntent with manual capture so funds are only held.
  2. Confirm the PaymentIntent to place the authorization hold.
  3. Poll the PaymentIntent until it reports requires_capture, indicating the authorization succeeded and funds can be captured.
  4. Capture the authorized funds, optionally for a lower amount.
What you'll need to have ready
  • amount: Amount to authorize in the smallest currency unit.
  • currency: Three-letter ISO currency code.
  • paymentMethod: ID of the PaymentMethod to authorize.
  • amountToCapture: Optional lower amount to capture; omit to capture the full hold.
For your developer

Arazzo workflow stripe:authorize-and-capture-payment, 4 operations: postPaymentIntents → postPaymentIntentsIntentConfirm → getPaymentIntentsIntent → postPaymentIntentsIntentCapture. Specs on APIs.io.