<!--
{
  "availability" : [

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

# version

The Apple Pay version supported on your website.

```
required long version;
```

## Discussion

The version number you provide here represents the minimum Apple Pay version that the user’s browser must support. You can check which API version the browser supports by calling [`supportsVersion`](/documentation/ApplePayontheWeb/ApplePaySession/supportsVersion).

Always check [`supportsVersion`](/documentation/ApplePayontheWeb/ApplePaySession/supportsVersion) before using an Apple Pay feature that isn’t available in all versions. See [Apple Pay on the Web version history](/documentation/ApplePayontheWeb/apple-pay-on-the-web-version-history) for information about the features available in each version.

---

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)