<!--
{
  "availability" : [

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

# ApplePayValidateMerchantEvent

An event object that contains the validation URL.

```
interface ApplePayValidateMerchantEvent
```

## Overview

The event handler [`onvalidatemerchant`](/documentation/ApplePayontheWeb/ApplePaySession/onvalidatemerchant) receives this event object when the payment sheet is displayed.

## Topics

### Accessing the Merchant Validation Event Attributes

[`readonly attribute DOMString validationURL;`](/documentation/ApplePayontheWeb/ApplePayValidateMerchantEvent/validationURL)

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



---

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)