## useStripe hook The `useStripe` hook returns the initialized [Stripe.js](https://docs.stripe.com/js/initializing.md) instance from the `Elements` provider. Use it to [confirm payments](https://docs.stripe.com/js/payment_intents/confirm_payment.md) and call other Stripe.js methods from inside your React components. If you need to access the Stripe object from a class component, use [ElementsConsumer](https://docs.stripe.com/react_stripe_js/elements/elements_consumer.md) instead. ### Return value - `result` Returns the `Stripe` instance configured on the [provider](https://docs.stripe.com/js/elements/elements_provider.md), or `null` while it is still loading. ### Example ```title Call useStripe ```