CrossmintProvider.
CrossmintPaymentMethodManagement
Renders the UI to save a new card or select one of the user’s saved cards. Use it in Save a Card.Props
string
required
The user’s Crossmint auth token.
("new" | "existing")[]
default:"[\"new\"]"
Which sections the management UI renders.
["new"] shows only the “add new” section. Include "existing" to also show the saved-methods section.("card" | "bank-account-us")[]
default:"[\"card\"]"
Which method types the “add new” section offers. Only the first entry is rendered; passing more than one type does not show a type picker yet.
PaymentMethodManagementAppearance
Fonts, variables, and rules to style the hosted UI. See Customize UI.
(paymentMethod: CrossmintPaymentMethod) => void | Promise<void>
Called when the user saves a new card or selects an existing one. The argument is a discriminated union: narrow on
type before reading variant-specific fields.Usage
CrossmintCvcRecollection
Renders a single hosted CVC input and a confirm button to refresh the vaulted CVC of a saved card. Render it when an order intent’sencrypted-card rail reports status: "pending_cvc_recollection", or when creating a credential for that rail fails with 409 ORDER_INTENT_CVC_RECOLLECTION_REQUIRED. Fetch the order intent again from onComplete: the rail goes back to active. Use it in Recollect the CVC. Requires @crossmint/client-sdk-react-ui 4.7.0 or later.
Props
string
required
The user’s Crossmint auth token, the same one
CrossmintPaymentMethodManagement takes.string
required
The saved card whose vaulted CVC has to be refreshed.
PaymentMethodManagementAppearance
Same appearance model as
CrossmintPaymentMethodManagement (not the verification modal’s). See Customize UI.() => void
Called once the vault holds a fresh CVC. Receives no CVC and no token payload.
(error: CvcRecollectionError) => void
Called when the form cannot complete.
Usage
See Also
- Get Started — Installation and provider setup
- Save a Card — Guide for
CrossmintPaymentMethodManagement - Recollect the CVC — Guide for
CrossmintCvcRecollection

