---
title: methodName
framework: applepayontheweb
role: symbol
role_heading: Instance Property
path: applepayontheweb/paymentmethodchangeevent/methodname
---

# methodName

The identifier for the payment method to use for the transaction.

## Declaration

```data
readonly attribute DOMString methodName;
```

## Discussion

Discussion The methodName for Apple Pay transactions is the Apple Pay URL. For more information, see W3C payment method identifiers (PMIs).

## See Also

### Change Information

- [methodDetails](applepayontheweb/paymentmethodchangeevent/methoddetails.md)
