Retrieve a SetupIntent
GET {{baseUrl}}/v1/setup_intents/:intent
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.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
client_secret | string | The client secret of the SetupIntent. Required if a publishable key is used to retrieve the SetupIntent. | |
expand[0] | string | Specifies which fields in the response should be expanded. | |
expand[1] | string | Specifies which fields in the response should be expanded. |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |