<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "ApplePayontheWeb",
  "identifier" : "/documentation/ApplePayontheWeb/ApplePayButton/type",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Apple Pay on the Web"
    ],
    "preciseIdentifier" : "instp/ApplePayButton/type"
  },
  "title" : "type"
}
-->

# type

The kind of Apple Pay button, such as a button for purchasing a subscription.

```
attribute ApplePayButtonType type;
```

## Discussion

For a list of button types, see [`ApplePayButtonType`](/documentation/ApplePayontheWeb/ApplePayButtonType).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)