> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Components

> React components for React SDK reference for Crossmint checkout

## CrossmintEmbeddedCheckout

### Props

**appearance** `EmbeddedCheckoutV3Appearance`

**properties**

**fonts** `\{ cssSrc: string \}[]`

**properties**

**cssSrc** `string` *required*

**rules** `EmbeddedCheckoutV3AppearanceRules`

**properties**

**DestinationInput** `\{ display?: "hidden" \}`

**properties**

**display** `"hidden"`

**GlobalMessage** `\{ display?: "hidden" | "visible" \}`

**properties**

**display** `"hidden" | "visible"`

**Input** `object`

**properties**

**borderRadius** `string`

**colors** `\{ background?: string; border?: string; boxShadow?: string; placeholder?: string; text?: string \}`

**focus** `\{ colors?: \{ background?: string; border?: string; boxShadow?: string \} \}`

**font** `\{ family?: string; size?: string; weight?: string \}`

**hover** `\{ colors?: \{ background?: string; border?: string; boxShadow?: string; text?: string \} \}`

**Label** `\{ colors?: \{ text?: string \}; font?: \{ family?: string; size?: string; weight?: string \} \}`

**properties**

**colors** `\{ text?: string \}`

**font** `\{ family?: string; size?: string; weight?: string \}`

**PrimaryButton** `object`

**properties**

**borderRadius** `string`

**colors** `\{ background?: string; text?: string \}`

**disabled** `\{ colors?: \{ background?: string; text?: string \} \}`

**font** `\{ family?: string; size?: string; weight?: string \}`

**hover** `\{ colors?: \{ background?: string; text?: string \} \}`

**ReceiptEmailInput** `\{ display?: "hidden" \}`

**properties**

**display** `"hidden"`

**Tab** `object`

**properties**

**borderRadius** `string`

**colors** `\{ background?: string; border?: string; boxShadow?: string; text?: string \}`

**font** `\{ family?: string; size?: string; weight?: string \}`

**hover** `\{ colors?: \{ background?: string; border?: string; boxShadow?: string; text?: string \} \}`

**selected** `\{ colors?: \{ background?: string; border?: string; boxShadow?: string; text?: string \} \}`

**variables** `EmbeddedCheckoutV3AppearanceVariables`

**properties**

**borderRadius** `string`

**colors** `object`

**properties**

**accent** `string`

**backgroundPrimary** `string`

**borderPrimary** `string`

**danger** `string`

**textPrimary** `string`

**textSecondary** `string`

**warning** `string`

**fontFamily** `string`

**fontSizeUnit** `string`

Multiplier unit for font sizes, not a base font size. Default `"4px"`: labels render at `fontSizeUnit * 3.75` (15px), inputs at `* 4` (16px), the primary button at `* 4.25` (17px). Passing a body size such as `"14px"` (the `VerificationAppearance` convention) yields \~52px labels.

**spacingUnit** `string`

Multiplier unit for paddings and gaps, not a base spacing. Default `"3.33px"`; each spacing is `calc(spacingUnit * k)` with k between 3.6 and 4.42.

**clientSecret** `string`

**identityVerificationHandling** `"external"`

`"external"`: you mount `CrossmintIdentityVerification` from `getIdentityVerificationCredentials(order)`, or the buyer cannot finish.

**jwt** `string`

**orderId** `string`

**payment** `EmbeddedCheckoutV3Payment` *required*

**properties**

**crypto** `EmbeddedCheckoutV3CryptoPayment` *required*

**properties**

**defaultChain** `BlockchainIncludingTestnet`

**defaultCurrency** `CryptoCurrency`

**enabled** `boolean` *required*

**payer** `EmbeddedCheckoutPayer`

**properties**

**address** `string` *required*

**initialChain** `PayerSupportedBlockchains` *required*

**supportedChains** `PayerSupportedBlockchains[]`

**handleChainSwitch** `unknown` *required*

**handleSignAndSendTransaction** `unknown` *required*

**handleSignMessage** `unknown`

**defaultMethod** `"fiat" | "crypto"`

**fiat** `EmbeddedCheckoutV3FiatPayment` *required*

**properties**

**allowedMethods** `\{ applePay?: boolean; card?: boolean; googlePay?: boolean \}`

**properties**

**applePay** `boolean`

**card** `boolean`

**googlePay** `boolean`

**defaultCurrency** `FiatCurrency`

**enabled** `boolean` *required*

**receiptEmail** `string`

**lineItems** `EmbeddedCheckoutV3LineItem | EmbeddedCheckoutV3LineItem[]`

**properties**

**callData** `Record\<string, any\>`

**collectionLocator** `string`

**tokenLocator** `string`

**executionParameters** `Record\<string, any\>`

**productLocator** `string`

**locale** `Locale`

**metadata** `JSONObject`

**recipient** `EmbeddedCheckoutV3Recipient`

**properties**

**email** `string`

**physicalAddress** `EmbeddedCheckoutV3PhysicalAddress`

**properties**

**city** `string` *required*

**country** `"US"` *required*

**line1** `string` *required*

**line2** `string`

**name** `string` *required*

**postalCode** `string` *required*

**state** `string` *required*

**walletAddress** `string`

### Usage

```tsx theme={null}
import { CrossmintEmbeddedCheckout } from "@crossmint/client-sdk-react-ui";

function Checkout() {
    return (
        <CrossmintEmbeddedCheckout
            lineItems={{
                collectionLocator: "crossmint:YOUR_COLLECTION_ID",
                callData: {
                    totalPrice: "0.001",
                },
            }}
            payment={{
                crypto: {
                    enabled: true,
                    defaultChain: "base-sepolia",
                    defaultCurrency: "usdc",
                },
                fiat: {
                    enabled: true,
                    defaultCurrency: "usd",
                    allowedMethods: {
                        card: true,
                        applePay: true,
                        googlePay: true,
                    },
                },
                receiptEmail: "buyer@example.com",
            }}
            recipient={{ email: "buyer@example.com" }}
            locale="en-US"
        />
    );
}
```

***

## CrossmintHostedCheckout

### Props

**appearance** `CrossmintHostedCheckoutV3Appearance`

**properties**

**display** `"popup" | "new-tab" | "same-tab"`

**overlay** `CrossmintHostedCheckoutV3OverlayOptions`

**properties**

**enabled** `boolean` *required*

**rules** `HostedCheckoutV3AppearanceRules`

**properties**

**DestinationInput** `\{ display?: "hidden" \}`

**properties**

**display** `"hidden"`

**ReceiptEmailInput** `\{ display?: "hidden" \}`

**properties**

**display** `"hidden"`

**theme** `\{ button?: CrossmintHostedCheckoutV3ButtonTheme; checkout?: CrossmintHostedCheckoutV3Theme \}`

**properties**

**button** `CrossmintHostedCheckoutV3ButtonTheme`

**checkout** `CrossmintHostedCheckoutV3Theme`

**variables** `CrossmintHostedCheckoutV3AppearanceVariables`

**properties**

**colors** `\{ accent?: string \}`

**properties**

**accent** `string`

**lineItems** `EmbeddedCheckoutV3LineItem | EmbeddedCheckoutV3LineItem[]`

**properties**

**callData** `Record\<string, any\>`

**collectionLocator** `string`

**tokenLocator** `string`

**executionParameters** `Record\<string, any\>`

**productLocator** `string`

**locale** `Locale`

**metadata** `JSONObject`

**payment** `HostedCheckoutV3Payment` *required*

**properties**

**crypto** `HostedCheckoutV3CryptoPayment` *required*

**properties**

**defaultChain** `BlockchainIncludingTestnet`

**defaultCurrency** `CryptoCurrency`

**enabled** `boolean` *required*

**defaultMethod** `"fiat" | "crypto"`

**fiat** `HostedCheckoutV3FiatPayment` *required*

**properties**

**defaultCurrency** `FiatCurrency`

**enabled** `boolean` *required*

**receiptEmail** `string`

**recipient** `EmbeddedCheckoutV3Recipient`

**properties**

**email** `string`

**physicalAddress** `EmbeddedCheckoutV3PhysicalAddress`

**properties**

**city** `string` *required*

**country** `"US"` *required*

**line1** `string` *required*

**line2** `string`

**name** `string` *required*

**postalCode** `string` *required*

**state** `string` *required*

**walletAddress** `string`

**clientSecret** `string`

**orderId** `string`

### Usage

```tsx theme={null}
import { CrossmintHostedCheckout } from "@crossmint/client-sdk-react-ui";

function BuyButton() {
    return (
        <CrossmintHostedCheckout
            lineItems={{
                collectionLocator: "crossmint:YOUR_COLLECTION_ID",
                callData: {
                    totalPrice: "0.001",
                },
            }}
            payment={{
                crypto: {
                    enabled: true,
                    defaultChain: "base-sepolia",
                    defaultCurrency: "usdc",
                },
                fiat: {
                    enabled: true,
                    defaultCurrency: "usd",
                },
                receiptEmail: "buyer@example.com",
            }}
            recipient={{ email: "buyer@example.com" }}
            appearance={{
                display: "popup",
                overlay: { enabled: true },
                theme: {
                    button: "dark",
                    checkout: "light",
                },
            }}
            locale="en-US"
        />
    );
}
```

***

## CrossmintIdentityVerification

### Props

**appearance** `EmbeddedCheckoutV3Appearance`

**properties**

**fonts** `\{ cssSrc: string \}[]`

**properties**

**cssSrc** `string` *required*

**rules** `EmbeddedCheckoutV3AppearanceRules`

**properties**

**DestinationInput** `\{ display?: "hidden" \}`

**properties**

**display** `"hidden"`

**GlobalMessage** `\{ display?: "hidden" | "visible" \}`

**properties**

**display** `"hidden" | "visible"`

**Input** `object`

**properties**

**borderRadius** `string`

**colors** `\{ background?: string; border?: string; boxShadow?: string; placeholder?: string; text?: string \}`

**focus** `\{ colors?: \{ background?: string; border?: string; boxShadow?: string \} \}`

**font** `\{ family?: string; size?: string; weight?: string \}`

**hover** `\{ colors?: \{ background?: string; border?: string; boxShadow?: string; text?: string \} \}`

**Label** `\{ colors?: \{ text?: string \}; font?: \{ family?: string; size?: string; weight?: string \} \}`

**properties**

**colors** `\{ text?: string \}`

**font** `\{ family?: string; size?: string; weight?: string \}`

**PrimaryButton** `object`

**properties**

**borderRadius** `string`

**colors** `\{ background?: string; text?: string \}`

**disabled** `\{ colors?: \{ background?: string; text?: string \} \}`

**font** `\{ family?: string; size?: string; weight?: string \}`

**hover** `\{ colors?: \{ background?: string; text?: string \} \}`

**ReceiptEmailInput** `\{ display?: "hidden" \}`

**properties**

**display** `"hidden"`

**Tab** `object`

**properties**

**borderRadius** `string`

**colors** `\{ background?: string; border?: string; boxShadow?: string; text?: string \}`

**font** `\{ family?: string; size?: string; weight?: string \}`

**hover** `\{ colors?: \{ background?: string; border?: string; boxShadow?: string; text?: string \} \}`

**selected** `\{ colors?: \{ background?: string; border?: string; boxShadow?: string; text?: string \} \}`

**variables** `EmbeddedCheckoutV3AppearanceVariables`

**properties**

**borderRadius** `string`

**colors** `object`

**properties**

**accent** `string`

**backgroundPrimary** `string`

**borderPrimary** `string`

**danger** `string`

**textPrimary** `string`

**textSecondary** `string`

**warning** `string`

**fontFamily** `string`

**fontSizeUnit** `string`

Multiplier unit for font sizes, not a base font size. Default `"4px"`: labels render at `fontSizeUnit * 3.75` (15px), inputs at `* 4` (16px), the primary button at `* 4.25` (17px). Passing a body size such as `"14px"` (the `VerificationAppearance` convention) yields \~52px labels.

**spacingUnit** `string`

Multiplier unit for paddings and gaps, not a base spacing. Default `"3.33px"`; each spacing is `calc(spacingUnit * k)` with k between 3.6 and 4.42.

**credentials** `IdentityVerificationCredentials` *required*

**properties**

**inquiryId** `string`

**provider** `"persona"`

**sessionToken** `string`

**clientSecret** `string`

**deviceSessionKey** `string`

**verificationId** `string`

**locale** `Locale`

**onCancel** `() =\> void`

The user closed the flow: Done on a blocked screen, or closing document capture. Without it, Done does nothing.

**onComplete** `(result: \{ status: "expired" | "unknown" | "failed" | "verified" | "pending-review" | "pending-manual-review" | "declined" \}) =\> void`

The flow ended with a result. Unmount here, not when the credentials go away: the order moves on first.

**onError** `(error: object) =\> void`

**onReady** `() =\> void`

### Usage

```tsx theme={null}
import { useRef, useState } from "react";
import {
    CrossmintIdentityVerification,
    type IdentityVerificationAppearance,
    useIdentityVerificationCredentials,
} from "@crossmint/client-sdk-react-ui";

// Mount one step per order, for example with key={order.orderId}, so the next order starts open.
function VerificationStep({ appearance }: { appearance?: IdentityVerificationAppearance }) {
    const credentials = useIdentityVerificationCredentials();
    // The order moves on before the flow shows its result, so keep the last credentials
    // and close the step on onComplete or onCancel.
    const lastCredentials = useRef(credentials);
    lastCredentials.current = credentials ?? lastCredentials.current;
    const [closed, setClosed] = useState(false);

    if (closed || lastCredentials.current == null) {
        return null;
    }

    return (
        <CrossmintIdentityVerification
            credentials={lastCredentials.current}
            appearance={appearance}
            onComplete={({ status }) => {
                console.log(status);
                setClosed(true);
            }}
            onCancel={() => setClosed(true)}
        />
    );
}
```

> **Note:** Keep the component mounted until `onComplete` or `onCancel`: the order leaves `requires-kyc`, and the hook returns undefined, before the flow shows its result. Handle `onCancel`, or the Done button on blocked screens does nothing. Pass the `appearance` object you give embedded checkout, so both look the same.

***

## CrossmintPaymentMethodManagement

Lets the user save a new card or bank account, or pick one of their saved payment methods. Rendered in a Crossmint-hosted iframe, so payment details never touch your app. Pass a user JWT from your own auth provider or a custom JWT. Crossmint Auth JWTs are not supported. `onPaymentMethodSelected` receives the chosen method. Your backend uses its `paymentMethodId` to pay. It can use that ID to create order intents.  To use your own button instead of the component's, pass `hideSubmitButton` and a `ref`, and call `ref.current.submit()` from your button: it resolves with the selected or saved method, or with why the submit could not complete.

### Props

**allowedModes** `"new" | "existing"[]`

Which sections the management UI renders. `["new"]` (default) shows only the "add new" section: no saved-methods fetch, no auto-open/auto-select of an existing method. Include `"existing"` to also show the saved-methods section.

**allowedPaymentMethodTypes** `PaymentMethodManagementAllowedType[]`

Filter array of which method types the "add new" section offers (default `["card"]`). LM0 renders the first supported entry; passing more than one type does not yet render a type picker.

**appearance** `PaymentMethodManagementAppearance`

**properties**

**fonts** `EmbeddedCheckoutV3Appearance["fonts"]`

**rules** `EmbeddedCheckoutV3Appearance["rules"]`

**variables** `EmbeddedCheckoutV3Appearance["variables"]`

**fields** `\{ billingDetails?: \{ address?: boolean | object \} \}`

Optional fields of the add-card form, in Stripe's `billingDetails` shape so new fields need no new prop. `billingDetails.address: true` collects a required billing address: the card form validates it before saving — for built-in and `ref.submit()` submissions alike — and it comes back on `card.billing.address` of the emitted method. Applies to cards only; other method types ignore it.  An object collects it too and configures the fields the payment-methods API leaves optional: `{ line2: "optional" | "required" | "hidden" }`. `true` equals `{ line2: "optional" }`.

**properties**

**billingDetails** `\{ address?: boolean | object \}`

**properties**

**address** `boolean | \{ line2?: PaymentMethodBillingAddressLine2 \}`

**properties**

**line2** `PaymentMethodBillingAddressLine2`

**hideSubmitButton** `boolean`

Render no Save/Continue button inside the component (default `false`). Pair it with a `ref` and call `ref.current.submit()` from your own button.

**jwt** `string` *required*

Pass a user JWT from your own auth provider or a custom JWT. Crossmint Auth JWTs are not supported.

**onPaymentMethodSelected** `(paymentMethod: CrossmintPaymentMethod) =\> void | Promise\<void\>`

### Usage

```tsx theme={null}
import { CrossmintPaymentMethodManagement } from "@crossmint/client-sdk-react-ui";

function PaymentMethods({ jwt }: { jwt: string }) {
    return (
        <CrossmintPaymentMethodManagement
            jwt={jwt}
            allowedModes={["new", "existing"]}
            allowedPaymentMethodTypes={["card"]}
            onPaymentMethodSelected={(paymentMethod) => {
                if (paymentMethod.type === "card") {
                    console.log("Card selected:", paymentMethod.card.last4);
                }
            }}
        />
    );
}
```

> **Note:** CrossmintPaymentMethodManagement renders an iframe-based UI for saved payment methods. Pass a user JWT from your own auth provider or a custom JWT. Crossmint Auth JWTs are not supported. The onPaymentMethodSelected callback receives a payment-method union. Check `type` before you use its fields.

***

## CrossmintProtectedInput

Collect a protected text or numeric field in a Crossmint-hosted iframe. Call `ref.collect()` from your submit action to receive a protected reference or a collection error. Your page renders the label, button, and error message; collection keeps the entered value out of application JavaScript.

### Props

**appearance** `ProtectedInputAppearance`

**disabled** `boolean`

**expiresAt** `string`

ISO 8601; server default is 24 hours, maximum is 7 days.

**field** `ProtectedInputField` *required*

**properties**

**handling** `"protected"` *required*

**input** `object | \{ kind: "number" | "integer" \}` *required*

**properties**

**autoComplete** `"on" | "off" | "name" | "given-name" | "family-name" | "email" | "username" | "tel" | "current-password" | ...`

**display** `"masked"`

**inputMode** `"none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"`

**kind** `"text"` *required*

**multiline** `false`

**placeholder** `string`

**key** `string` *required*

**label** `string` *required*

**required** `boolean` *required*

**invalid** `boolean`

Controls the visual invalid state; the developer renders the error message.

**jwt** `string` *required*

Buyer's JWT from the application's external auth integration.

### Usage

```tsx theme={null}
import { useRef, useState } from "react";
import {
    CrossmintProvider,
    CrossmintProtectedInput,
    type CrossmintProtectedInputRef,
    type ProtectedInputField,
} from "@crossmint/client-sdk-react-ui";

type Props = {
    apiKey: string;
    jwt: string;
    field: ProtectedInputField;
    onCollected: (answer: { protectedInputId: string }) => Promise<void>;
};

export function ProtectedField({ apiKey, jwt, field, onCollected }: Props) {
    const ref = useRef<CrossmintProtectedInputRef>(null);
    const [busy, setBusy] = useState(false);
    const [error, setError] = useState("");

    async function collect() {
        if (busy || ref.current === null) {
            return;
        }
        setBusy(true);
        setError("");
        try {
            const result = await ref.current.collect();
            if (result.status !== "collected") {
                setError(result.message);
                return;
            }
            await onCollected(result.input);
        } catch {
            setError("Could not confirm submission. Retry the same message.");
        } finally {
            setBusy(false);
        }
    }

    return (
        <CrossmintProvider apiKey={apiKey}>
            <div>{field.label}</div>
            <CrossmintProtectedInput
                ref={ref}
                jwt={jwt}
                field={field}
                disabled={busy}
                invalid={error !== ""}
            />
            {error !== "" && <p role="alert">{error}</p>}
            <button type="button" disabled={busy} onClick={collect}>
                Continue
            </button>
        </CrossmintProvider>
    );
}
```

> **Note:** Pass the protected field descriptor from an Agent Checkout form as field, your browser client API key to CrossmintProvider, and the buyer JWT as jwt. The iframe renders only an input; your page owns the button and errors. ref.collect() returns collected, invalid, unavailable, or superseded. Submit result.input under the field key in response.answers alongside ordinary answers. Unchanged successful collections reuse the reference; edits invalidate that reuse. Use one ref per protected field. display: "masked" controls presentation independently of handling. Collection keeps plaintext out of application JavaScript; it does not mask merchant-page screenshots or recordings.

***

## CrossmintAgentCardAuthorization

Lets a buyer authorize a bounded card spend for Agent Checkouts and hands back an `orderIntentId`. Composes card selection, order-intent registration, order-intent creation and rail verification; the rail is chosen by a fixed policy, never by the model or the buyer. The card number, CVC and vault token id never reach this component's callbacks.

### Props

**allowedModes** `"new" | "existing"[]`

Sections of the payment-method UI to render. Defaults to `["existing", "new"]`.

**amount** `\{ currency: string; value: string \}` *required*

`value` is a decimal string with up to 4 places, greater than 0; `currency` is a 3-letter code.

**properties**

**currency** `string` *required*

**value** `string` *required*

**appearance** `AgentCardAuthorizationAppearance`

**properties**

**paymentMethodManagement** `PaymentMethodManagementAppearance`

Styles the card selection and the CVC recollection form, which share this appearance model.

**properties**

**fonts** `EmbeddedCheckoutV3Appearance["fonts"]`

**rules** `EmbeddedCheckoutV3Appearance["rules"]`

**variables** `EmbeddedCheckoutV3Appearance["variables"]`

**verification** `VerificationAppearance`

Styles the card-network verification modal.

**properties**

**rules** `VerificationAppearanceRules`

**properties**

**CloseButton** `\{ colors?: \{ background?: string \}; hover?: \{ colors?: object \} \}`

**Input** `\{ borderRadius?: string; colors?: \{ background?: string; border?: string \} \}`

**Modal** `\{ borderRadius?: string; colors?: \{ border?: string \} \}`

**Overlay** `\{ colors?: \{ background?: string \} \}`

**PrimaryButton** `object`

**Radio** `\{ colors?: \{ border?: string \}; selected?: \{ colors?: object \} \}`

**SecondaryButton** `\{ colors?: \{ background?: string; text?: string \}; hover?: \{ colors?: object \} \}`

**variables** `VerificationAppearanceVariables`

**properties**

**borderRadius** `string`

**colors** `object`

**fontFamily** `string`

**fontSizeUnit** `string`

Not applied by `OrderIntentVerification`: only `colors` (and the button / input colors under `rules`) reach the verification modal. Not the multiplier unit of `EmbeddedCheckoutV3AppearanceVariables.fontSizeUnit`, so do not share one object between the two.

**spacingUnit** `string`

Not applied by `OrderIntentVerification`; see `fontSizeUnit`.

**description** `string` *required*

**displayName** `string` *required*

Shown to the buyer by the rail verification UI.

**expiresAt** `string`

ISO 8601 datetime in the future. Defaults to 24 hours from mount.

**jwt** `string` *required*

The buyer's Crossmint auth token, the same one `CrossmintPaymentMethodManagement` takes.

**merchant** `OrderIntentMerchant` *required*

**properties**

**acquirerBin** `string`

**categoryCode** `string`

**countryCode** `string` *required*

ISO 3166-1 alpha-2, upper case.

**name** `string` *required*

**url** `string` *required*

http or https URL of the merchant.

**onAuthorized** `(result: AgentCardAuthorizationResult) =\> void` *required*

**onError** `(error: AgentCardAuthorizationError) =\> void` *required*

### Usage

```tsx theme={null}
import { CrossmintAgentCardAuthorization } from "@crossmint/client-sdk-react-ui";

function AuthorizeCard({ jwt, onOrderIntentId }: { jwt: string; onOrderIntentId: (id: string) => void }) {
    return (
        <CrossmintAgentCardAuthorization
            jwt={jwt}
            amount={{ value: "120.00", currency: "USD" }}
            merchant={{ name: "Example Shop", url: "https://shop.example.com", countryCode: "US" }}
            description="Running shoes, order placed by your shopping agent"
            displayName="Example Shop"
            onAuthorized={({ orderIntentId }) => onOrderIntentId(orderIntentId)}
            onError={({ code, message }) => console.error(code, message)}
        />
    );
}
```

> **Note:** CrossmintAgentCardAuthorization composes card selection, order-intent registration, order-intent creation and rail verification, and calls onAuthorized once with an orderIntentId. Submit that ID as `response.orderIntentId` in the Agent Checkout's `payment` input response. The rail is chosen by the same policy the server applies (vic, then agentpay, then encrypted-card, preferring a rail that is already active); card numbers, CVCs and vault token ids never reach your JavaScript. Lifecycle: after onAuthorized the component renders nothing; after onError it returns to card selection so the buyer can try again; state lives for one mount, so a remount (a `key` or route change) creates a new order intent for the same spend and your app must store the orderIntentId from onAuthorized. Pass the buyer's JWT as `jwt`, like CrossmintPaymentMethodManagement. `appearance.paymentMethodManagement` styles the card selection and the CVC recollection form, `appearance.verification` the card-network verification modal.
