## Retrieve a SetupIntent

`stripe.retrieveSetupIntent(clientSecret: string)`

Retrieve a [SetupIntent](https://docs.stripe.com/api/setup_intents.md) using its client secret.

- `clientSecret` The [client secret](https://docs.stripe.com/api/setup_intents/object.md#setup_intent_object-client_secret) of the `SetupIntent` to retrieve.

### Example

```javascript
const stripe = Stripe('pk_test_...');

// Retrieve the SetupIntent
const setupIntent = await stripe.retrieveSetupIntent('seti_1K3f7x2..._secret_LzFz1z...');
```