Place a hold on a payment method
Separate payment authorization and capture to create a charge now, but capture funds later.
When you create a payment, you can place a hold on an eligible payment method to reserve funds that you can capture later. For example, hotels often authorize a payment in full before a guest arrives, then capture the money when the guest checks out. This is sometimes referred to as manual capture.
Authorizing a payment guarantees the amount by holding it on the customerâs payment method. If youâre using the API, the payment_method_details.card.capture_before attribute on the charge indicates when the authorization expires.
You need to capture the funds before the authorization expires. If the authorization expires before you capture the funds, the funds are released and the payment status changes to canceled
. Learn more about statuses for asynchronous payments.
Authorization validity windows
The following tables outline validity windows for authorizing different transaction types.
Card-not-present transactions
Card brand | Merchant-Initiated Transaction authorization validity window | Customer-Initiated Transaction authorization validity window |
---|---|---|
Visa | 5 days* | 7 days |
Mastercard | 7 days | 7 days |
American Express | 7 days | 7 days |
Discover | 7 days | 7 days |
* The exact authorization window is 4 days and 18 hours, to allow time for clearing processes.
Card-present transactions (in-person payments)
Card brand | Authorization validity window |
---|---|
Visa | 5 days* |
Mastercard | 2 days |
American Express | 2 days |
Discover | 2 days |
* The exact authorization window is 4 days and 18 hours, to allow time for clearing processes.
30-day authorization windows in Japan
If your account is based in Japan, you can hold JPY-denominated transactions from Visa, Mastercard, JCB, Diners Club, and Discover for up to 30 days. Non-JPY and American Express transactions expire after the standard 7-day window.
Note
As of April 14, 2024, Visa shortened the authorization window for online Merchant-Initiated Transactions from 7 days to 5 days. Visa also lengthened the authorization window for in-person (Terminal) transactions from 2 days to 5 days.
Payment method limitations
Before implementing, understand the following limitations for authorizing and capturing separately.
Only some payment methods support separate authorization and capture. Some payment methods that support this include cards, Affirm, Afterpay, Cash App Pay, Klarna, and PayPal. Some payment methods that donât support this include ACH and iDEAL. Read more about payment method feature support.
Beyond what is outlined in the tables above, other payment methods have different rules and authorization windows:
- Card payments: The amount is typically on hold for 7 days for online payments and 2 days for in-person Terminal payments (depending on the type of transaction and the card network). You can request an extended authorization for certain online and Terminal payment authorizations that are eligible for extended validity periods. Card networks may also restrict 1 USD authorizations you donât intend to capture.
- Affirm: If Affirm requires a down payment for very large order amounts, they charge the amount during authorization and refund if the payment isnât captured. You then have 30 days to capture the payment balance.
- Afterpay / Clearpay: During authorization, the customer pays the first repayment installment. Afterpay refunds the payment if itâs never captured. You then have 13 days to capture the payment balance.
- Cash App Pay: Valid authorizations must be captured within 7 days to complete a payment.
- Klarna: You must capture the charge by midnight of the 28th calendar day after the charge request, otherwise the authorization expires. For example, youâd need to capture a charge request at UTC 2020-10-01 14:00 by UTC 2020-10-29 00:00.
- PayPal: Holds the amount for 10 days. Stripe automatically attempts to extend the hold for another 10 days, totalling 20 days. Your settlement preference might affect the authorization period. See separate authorization and capture for more information.
Use the Dashboard to authorize and capture
You can authorize a payment and capture funds separately without writing code.
- In the Dashboard, create a new payment. Select One-time.
- When you enter or select the payment method, select More options then Capture funds later.
The payment appears in your payments page as Uncaptured.
To capture the funds, go to the payment details page and click Capture.
Tell Stripe to authorize only
To indicate that you want separate authorization and capture, specify capture_method as manual
when creating the PaymentIntent. This parameter instructs Stripe to authorize the amount but not capture it on the customerâs payment method.
With the above approach, you tell Stripe that you can only use âcapture afterâ for a PaymentIntent with eligible payment methods. For example, you canât accept card payments and SEPA Direct Debit (which doesnât support capture after) for a single PaymentIntent. To accept payment methods that might not all support capture after, you can configure capture-after-per-payment-method by configuring capture_
on the payment_
object.
For example, by configuring payment_
, youâre placing only card payments on hold. You can manage payment methods from the Dashboard. Stripe handles the logic for dynamically displaying the most relevant eligible payment methods to each customer based on factors such as the transactionâs amount, currency, and payment flow.
Alternatively, you can list card
and sepa_
using payment method types like in the example below.
Before continuing to capture, attach a payment method with card details to the PaymentIntent, and authorize the card by confirming the PaymentIntent. You can do this by setting the payment_
and confirm
fields on the PaymentIntent.
Extended authorizations
Usually, an authorization for an online card payment is valid for 7 days. To increase the validity period, you can place an extended hold on an online card payment.
Capture the funds
After the payment method is authorized, the PaymentIntent status transitions to requires_
. To capture the authorized funds, make a PaymentIntent capture request. This captures the total authorized amount by default. To capture less or (for certain online card payments) more than the initial amount, pass the amount_to_capture option. A partial capture automatically releases the remaining amount. If attempting to capture more than the initial amount for an online card payment, refer to the overcapture documentation.
The following example demonstrates how to capture 7.50 USD of the authorized 10.99 USD payment:
Although some card payments are eligible for multicapture, you can only perform one capture on an authorized payment for most payments. If you partially capture a payment, you canât perform another capture for the difference. (Instead, consider saving the customerâs payment method details for later and creating future payments as needed.)
Card statements from some issuers and interfaces from payment methods donât always distinguish between authorizations and captured (settled) payments, which can sometimes confuse customers.
Additionally, when a customer completes the payment process on a PaymentIntent with manual capture, it triggers the payment_
event. You can inspect the PaymentIntentâs amount_capturable property to see the total amount that you can capture from the PaymentIntent.
Cancel the authorization
If you need to cancel an authorization, you can cancel the PaymentIntent.