Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Create Contact Details Element


Create the Contact Details Element elements.create(type: 'contactDetails', options?: object) This method creates an instance of the Contact Details Element. - type The type of Element being created, which is contactDetails in this case. - options Options for creating the Contact Details Element. - defaultValues Provide the initial contact information that will be displayed in the Contact Details Element. The form will render with empty fields if not provided. - email ### Example title Create a Contact Details Element

Last verified 2026-09-24

Is this helpful?