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

Use this method to present the payment method user interface (UI) to the user.

1
async showPaymentMethod(intent: PrimerSessionIntent): Promise<void>
typescript
copy
intent
stringRequired
Set the preferred session intent when showing the UI for the payment method.
intent
PrimerSessionIntentRequired
PrimerSessionIntent
PrimerSessionIntent.CHECKOUT
PrimerSessionIntent.VAULT

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

© Primer 2025

hello@primer.io