## Retrieve a PaymentIntent

`stripe.retrievePaymentIntent(clientSecret: string)`

Retrieve a [PaymentIntent](https://docs.stripe.com/api/payment_intents.md) using its [client secret](https://docs.stripe.com/api/payment_intents/object.md#payment_intent_object-client_secret).

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

### Example

```javascript title Retrieve a PaymentIntent
const stripe = Stripe('pk_test_...');
const paymentIntent = await stripe.retrievePaymentIntent('pi_1234567890');
```