Checking access…

Skip to main content
Audience: CCG Platform Engineers

Pre-Auth & Capture Flow

Understanding the two-step authorize-then-capture model before implementing it β€” full, partial, and per-allocation captures, and the 7-day expiry window. For the actual request/response steps, see How to Authorize and Capture a Payment. If the merchant needs to void instead of capture, see Cancel Payment.

Overview​

The pre-authorization flow is a two-step payment process for CARD payment methods. Step 1 places a hold (authorization) on the customer's card without charging it. Step 2 captures (charges) the authorized amount, either fully or partially.

Key characteristics:

  • authorizeCard: true + partialAuthorization: true on the create payment request
  • Payment reaches AUTHORIZED state after step 1
  • Merchant must explicitly call PATCH /v2/payments/{paymentId}/capture within 7 days
  • Supports full capture, partial capture, and per-allocation capture (split-tender)
  • Omitted allocations in capture request are auto-cancelled with CCG_AUTOMATED_CANCEL

Sequence Diagram β€” Full Flow​

Authorization Expiry​

RuleDetail
Expiry window7 days from authorization
After expiryAuthorization hold is automatically released by the card issuer
Action requiredMerchant must create a new payment; expired authorizations cannot be captured
No automatic notificationThe system does not currently send a webhook when an authorization expires
Time-Sensitive

Pre-authorized payments must be captured or cancelled within 7 days. After expiry, the authorization hold is released by the issuing bank, and the payment can no longer be captured. The merchant must create a new payment with a new merchantTransactionId.

Partial Authorization (Healthcare / FSA/HSA Cards)​

When partialAuthorization: true, the card issuer may approve less than the requested amount. This is common with FSA/HSA healthcare cards where the eligible amount may differ from the total.

ScenarioauthorizedAmountNext Step
Full authorizationEquals amountCapture full amount
Partial authorizationLess than amountCapture partial, merchant handles remainder (e.g., second payment)
Declined0Payment fails