• Skip to main content
  • Skip to search
  • Skip to select language
MDN Logo
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. Web APIs
  3. PaymentRequestEvent
  4. PaymentRequestEvent.topOrigin

Table of contents

  • Value
  • Specifications
  • Browser compatibility

PaymentRequestEvent.topOrigin

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The topOrigin read-only property of the PaymentRequestEvent interface returns the top level payee origin where the PaymentRequest object was initialized.

Value

A USVString

Specifications

Specification
Payment Handler API
# dom-paymentrequestevent-toporigin

Browser compatibility

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Mar 31, 2022, by MDN contributors

Related Topics

  1. Payment Request API
  2. PaymentRequestEvent
  3. Constructor
    1. PaymentRequestEvent()
  4. Properties
    1. paymentRequestId
    2. paymentRequestOrigin
    3. topOrigin
    4. total
  5. Methods
    1. openWindow()
    2. respondWith()
  6. Inheritance:
    1. ExtendableEvent
    2. Event
  7. Related pages for Payment Request API
    1. HTMLIFrameElement.allowPaymentRequest
    2. MerchantValidationEvent
    3. PaymentAddress
    4. PaymentMethodChangeEvent
    5. PaymentRequest
    6. PaymentRequestUpdateEvent
    7. PaymentResponse
MDN Logo
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

  • MDN on Twitter
  • MDN on Github

Mozilla

  • Mozilla on Twitter
  • Mozilla on Instagram

© 2005-2025 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies