To add Link to your Elements integration, you need to collect a customer’s email address so they can authenticate to Link. You can use the Link Authentication Element to collect email, which Stripe recommends because it allows you to use a single email field for customer email collection and Link authentication during payment.
If you previously collected email ahead of payment (in a previous account creation step for example), or if you prefer to use your own email input field, then you can pass that email into the Payment Element. In this scenario, a customer authenticates to Link directly in the payment form (versus in a separate UI component).
In addition to email, if you’ve previously collected other information from a customer, such as name or phone number, you can optionally pre-fill parts of the payment form to further streamline the checkout process and reduce manual data entry.
You can accept payments with Link using information your customer stores in the Link app. When you receive a payment from a customer using Link in the Payment Element, the
payment_method.type listed for the payment is