Use this file to discover all available pages before exploring further.
Charge a customer after fulfilling their order, not immediately. Common use cases include:
Reserve payment for pre-orders shipping in the future
Charge after made-to-order items are produced
Authorize hotels or rentals at booking, capture at check-in or check-out
Confirm authenticity of high value items requiring verification before capturing payment
This integration uses the Orders API v2 to authorize and the Payments API v2 to capture later. To authorize first and capture later, change your integration to use intent: "AUTHORIZE". This reserves funds on the customer’s payment method for up to 29 days.The highest success rate is within the first 3 days (the honor period). After 3 days, you may use reauthorization to extend the hold.What’s the difference between authorization and capture?
Capture within 3-day honor period: Authorization success rates are highest during the 3-day honor period. After the payment is authorized, ship within 3 days.
Track authorization expiration: Store the date when the authorization was created in your database. Alert when approaching day 29 and have a process to handle expiring authorizations.
Handle partial captures: You can capture any amount up to the authorized total. The remainder can be voided or left to expire. For multiple shipments, use multiple partial captures.
Void uncaptured authorizations promptly: If you can’t fulfill an order, void the authorization immediately to release customer funds.
Communicate holds to customers: Inform customers that their payment is authorized, but not yet charged. Inform them when the actual charge will occur.
Monitor authorization validity: Authorizations can be voided by the customer’s bank or PayPal. Handle capture failures gracefully.
Find authorization IDs: The authorization ID is in the order approval response at purchase_units[0].payments.authorizations[0].id. Store this value in your database immediately.
Authorization expiration: YYou have up to 29 days to capture. The 3-day honor period (when the cardholder’s issuing bank is most likely to approve the capture) is your best window. After 29 days, the authorization automatically expires and you must create a new order to charge the customer.
Partial captures: You can capture any amount up to the authorized total. Make multiple partial captures for split shipments or capture less than the full amount if needed.
Extending authorizations: Use reauthorization between days 4-29 to extend an authorization. See Reauthorize an authorization.