---
title: ApplePayButton
framework: applepayontheweb
role: symbol
role_heading: Class
path: applepayontheweb/applepaybutton
---

# ApplePayButton

An object that displays a button either to trigger payments through Apple Pay or to prompt the user to set up a card.

## Declaration

```data
interface ApplePayButton
```

## Overview

Overview Choose the type and style of the button and the browser shows the button with the correct content and appearance. For design guidance, see Human Interface Guidelines > Apple Pay > Buttons and Marks.

## Topics

### Configuring appearance

- [type](applepayontheweb/applepaybutton/type.md)
- [buttonstyle](applepayontheweb/applepaybutton/buttonstyle.md)
- [locale](applepayontheweb/applepaybutton/locale.md)
- [ApplePayButtonType](applepayontheweb/applepaybuttontype.md)
- [ApplePayButtonStyle](applepayontheweb/applepaybuttonstyle.md)
- [ApplePayButtonLocale](applepayontheweb/applepaybuttonlocale.md)

## See Also

### Apple Pay buttons

- [Displaying Apple Pay Buttons Using JavaScript](applepayontheweb/displaying-apple-pay-buttons-using-javascript.md)
- [Displaying Apple Pay Buttons Using CSS](applepayontheweb/displaying-apple-pay-buttons-using-css.md)
