API GuideDashboard
Home
Payments
Automation
Observability
Reconciliation
Payment Methods
Fraud Providers
SDK Reference
Changelog
SDK Reference
Overview
Installation
Primer
PrimerHeadlessUniversalCheckout
ASSETS MANAGER
getPaymentMethodResource
getPaymentMethodResources
getPaymentMethodAssets
getPaymentMethodAsset
getCardNetworkImage
NATIVE UI MANAGER
constructor
configure
showPaymentMethod
RAW DATA MANAGER
constructor
configure
getRequiredInputElementTypes
setRawData
submit
cleanup
COMPONENT WITH REDIRECT MANAGER
constructor
provide
KLARNA HEADLESS MANAGER
constructor
provide
ACH HEADLESS MANAGER
constructor
provide
VAULT MANAGER
configure
fetchVaultedPaymentMethods
deleteVaultedPaymentMethod
validate
startPaymentFlow
Common objects

In order to remove the provided listeners and stop any API calls performed by the manager, make sure to call the cleanup function.

1
cleanUp(): Promise<void>
typescript
copy

Product
Universal CheckoutPayment WorkflowsObservabilityApps & Integrations
Developers
Primer DocsAPI ReferenceService Status
Company
BlogCase StudiesTeamCareers
Resources
TermsPrivacy
LinkedInYouTubeSpotify

© Primer 2025

hello@primer.io