PaymentIntentService::capture( string $id, null|array $params = null, null|array|StripeUtilRequestOptions $opts = null )
Capture the funds of an existing uncaptured PaymentIntent when its status is requires_capture
.
Description Description
Uncaptured PaymentIntents will be canceled exactly seven days after they are created.
Learn more about separate authorization and capture.
Parameters Parameters
- $id
-
(Required)
- $params
-
(Optional)
Default value: null
- $opts
-
(Optional)
Default value: null
Return Return
(StripePaymentIntent)
Source Source
File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/Service/PaymentIntentService.php