Authorize a PayPal order, capture it in a separate call, and reauthorize it if the authorization has expired

domain: developer.paypal.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create the order with intent set to AUTHORIZE rather than CAPTURE.
  2. Call POST /v2/checkout/orders/{id}/authorize to obtain an authorization resource, and record its id and status.
  3. When ready to collect funds, call POST /v2/payments/authorizations/{authorization_id}/capture — capture within the 3-day honor period is guaranteed, but captures attempted later (even though the authorization stays valid up to about 29 days) may be declined by the issuer.
  4. If a capture fails because the honor period has passed, call POST /v2/payments/authorizations/{authorization_id}/reauthorize, then use the new authorization ID returned in that response for any subsequent capture — do not keep referencing the original ID.
  5. If the held funds are no longer needed, call POST /v2/payments/authorizations/{authorization_id}/void; a voided or already fully captured authorization can no longer be captured or reauthorized.

Known gotchas

Related routes

Perform a Braintree partial capture on a previously authorized transaction and handle the remaining uncaptured balance
developer.paypal.com/braintree · 6 steps · unrated
Monitor and respond to authorization capture expiry windows before holds lapse
docs.stripe.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans