The city read-only property of the PaymentAddress interface returns a string containing the city or town portion of the address.


var paymentCity =;


A DOMString indicating the city or town portion of the address described by the PaymentAddress object.


Specification Status Comment
Payment Request API
The definition of '' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

BCD tables only load in the browser