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

When the submit method is called, the SDK will attempt to create a payment based on the raw data set in the setRawData method. If no data is set, SDK will call the onFailed method.

1
submit(): 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