Payment method form
The Payment method form component renders a form for adding or authorizing a payment method. Use it when you want to let customers save a new payment method or complete a payment directly in your product.

Overview
Payment method form is driven by a portalObject your backend generates for a specific customer. The SDK uses it to load the available payment options and handle the submission. Your frontend never handles API keys directly.
The component supports two variants controlled by configuration.variant:
TOKENIZE(default) — saves the payment method for future use without charging the customer.AUTHORIZE— charges the customer immediately. Requiresamountandcontext.
Mount the component
Payment method form component
Configuration
Events
This component does not fire any events.