card element renders a card number, expiration, security code, cardholder name, and postal code. Card number, expiration, and security code render inside a PCI-scoped secured iframe so raw PAN data never touches your page; cardholder name and postal code are native inputs the SDK renders directly.
Configure card inside Checkout for the recommended integration path, or mount standalone when you need a compact card-only form.
Standalone example
Fields
cardNumber: PAN input. Renders the brand icon as you type. Configurable viafields.cardNumber(label, placeholder,iconStyle).cardExpiration: month/year expiration input. Configurable viafields.cardExpiration.cardSecurityCode: 3- or 4-digit CVC/CID. Configurable viafields.cardSecurityCode.holderName: native cardholder name input. Configurable viafields.holderName(label, placeholder,disabled,hidden).postalCode: native billing postal code input. Configurable viafields.postalCode. Default visible; hide withfields.postalCode.hidden: true.
Submitted value
Callingcard.submit() (or triggering it from Checkout) tokenizes the card and fires onSubmit:
value is safe to forward.
Inside Checkout
card key accepts the same options the standalone element accepts (minus elementType). Values arrive on the Checkout envelope as value.card.
Next steps
Best practices
Configure fields, gate your Pay button, and match your brand.
Reference
Full options and value reference.