CreditCard overview

Added in v1.0.0


Table of contents


Model

CreditCard (type alias)

Signature

export type CreditCard = Branded<CheckDigitVerified, CreditCardBrand>

Added in v1.0.0

String

CreditCard

Represents a credit card number; currently this should accept Visa, Mastercard, American Express, Diners Club, Discover, JCB, Rupay, and UnionPay.

Signature

export declare const CreditCard: Schema<
  Opaque<Opaque<string, { readonly CheckDigitVerified: unique symbol }>, CreditCardBrand>,
  Opaque<Opaque<string, { readonly CheckDigitVerified: unique symbol }>, CreditCardBrand>
>

Added in v1.0.0