PaymentRequestEvent.methodData

Experimental

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

The methodData read-only property of the PaymentRequestEvent interface returns an array of PaymentMethodData objects containing payment method identifers for the payment methods that the web site accepts and any associated payment method specific data.

Syntax

var methodData[] = paymentRequestEvent.methodData

Value

An array of PaymentMethodData objects.

Specifications

Specification Status Comment
Payment Handler API
The definition of 'methodData' in that specification.
Working Draft Initial definition.

Browser compatibility

BCD tables only load in the browser