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

This method allows you to obtain the image associated with a particular card network by passing in the card network type as an argument.

1
async getCardNetworkImageURL(cardNetwork: string): Promise<string>
typescript
copy
cardNetwork
stringRequired
cases
OTHER
VISA
MASTERCARD
AMEX
DINERS_CLUB
DISCOVER
JCB
UNIONPAY
MAESTRO
ELO
MIR
HIPER
HIPERCARD
CARTES_BANCAIRES

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

© Primer 2025

hello@primer.io