Back to Content

PaymentResponse: payerEmail property

files/en-us/web/api/paymentresponse/payeremail/index.md

latest482 B
Original Source

{{securecontext_header}}{{APIRef("Payment Request API")}}

The payerEmail read-only property of the {{domxref("PaymentResponse")}} interface returns the email address supplied by the user. This option is only present when the requestPayerEmail option is set to true in the options object passed to the {{domxref('PaymentRequest.PaymentRequest','PaymentRequest')}} constructor.

Value

A string.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}