SetupIntentService::retrieve( string $id, null|array $params = null, null|array|StripeUtilRequestOptions $opts = null )
Retrieves the details of a SetupIntent that has previously been created.
Description Description
Client-side retrieval using a publishable key is allowed when the
client_secret
is provided in the query string.
When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the SetupIntent object reference for more details.
Parameters Parameters
- $id
-
(Required)
- $params
-
(Optional)
Default value: null
- $opts
-
(Optional)
Default value: null
Return Return
(StripeSetupIntent)
Source Source
File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/Service/SetupIntentService.php