# Collect payment details before creating an Intent Build an integration where you can render the Payment Element prior to creating a PaymentIntent or SetupIntent. ## Index This article has multiple variants. Fetch one of the following URLs to view specific content for your use case: - [Accept a payment](https://docs.stripe.com/payments/accept-a-payment-deferred.md?platform=web&type=payment) - [Set up a payment method](https://docs.stripe.com/payments/accept-a-payment-deferred.md?platform=web&type=setup) - [Create a subscription](https://docs.stripe.com/payments/accept-a-payment-deferred.md?platform=web&type=subscription)