Retrieve a SetupIntent
Retrieves the details of a SetupIntent that has previously been created.
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.
get/v1/setup_intents/{intent}
Path parameters
intentstring required
Query parameters
client_secretstring
The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.
expandstring[]
Specifies which fields in the response should be expanded.
Response
Successful response.