<!--
{
  "availability" : [

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

# validationURL

The URL your server must use to validate itself and obtain a merchant session object.

```
readonly attribute DOMString validationURL;
```

## Discussion

This attribute is contained by the [`onvalidatemerchant`](/documentation/ApplePayontheWeb/ApplePaySession/onvalidatemerchant) event. Access this attribute using the event parameter, for example, `var URL = event.validationURL;`.

Pass the URL in the [`validationURL`](/documentation/ApplePayontheWeb/ApplePayValidateMerchantEvent/validationURL) attribute to your server, as described in <doc://com.apple.documentation/documentation/ApplePayontheWeb/providing-merchant-validation>.

---

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)