Appearance
Express Docs / ApplePayStyle
Interface: ApplePayStyle
Defined in: src/types.ts:185
Visual style options for the Apple Pay button.
Properties
buttonstyle?
optionalbuttonstyle?:"white"|"black"|"white-outline"
Defined in: src/types.ts:187
Button color theme.
locale?
optionallocale?:string
Defined in: src/types.ts:218
BCP 47 locale tag for button text (e.g. "en-US", "de-DE").
type?
optionaltype?:"subscribe"|"donate"|"book"|"buy"|"order"|"plain"|"add-money"|"check-out"|"continue"|"contribute"|"reload"|"rent"|"set-up"|"support"|"tip"|"top-up"
Defined in: src/types.ts:200
Label variant displayed on the button. Matches Apple's supported values for the <apple-pay-button> type attribute / -apple-pay-button-type CSS property.
Availability (per Apple Pay on the Web version history):
- v2+:
'buy','donate','plain','set-up' - v4+:
'book','check-out','subscribe' - v10+:
'add-money','contribute','order','reload','rent','support','tip','top-up' - v12+:
'continue'
