Back to Content

PayerResponse: payerPhone property

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

latest481 B
Original Source

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

The payerPhone read-only property of the {{domxref("PaymentResponse")}} interface returns the phone number supplied by the user. This option is only present when the requestPayerPhone 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}}