Interface PaymentRequest

This Payment Request API interface is the primary access point into the API, and lets web content and apps accept payments from the end user. Available only in secure contexts.

MDN Reference

Hierarchy

Properties

id: string
onpaymentmethodchange: ((this, ev) => any)

Type declaration

Methods

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    MDN Reference

    Parameters

    Returns boolean

  • Type Parameters

    • K extends "paymentmethodchange"

    Parameters

    Returns void

  • Parameters

    Returns void