---
title: HTMLIFrameElement.allowPaymentRequest
slug: Web/API/HTMLIFrameElement/allowPaymentRequest
tags:
  - API
  - HTML DOM
  - Payment Request
  - PaymentRequest
  - Property
  - Reference
  - Reference HTMLIFrameElement
  - allowPaymentRequest
  - Deprecated
browser-compat: api.HTMLIFrameElement.allowPaymentRequest
---
{{APIRef("HTML DOM")}}{{deprecated_header}}{{non-standard_header}}

The **`allowPaymentRequest`** property of the
{{domxref("HTMLIFrameElement")}} interface returns a boolean value indicating
whether the [Payment Request
API](/en-US/docs/Web/API/Payment_Request_API) may be invoked on a cross-origin iframe.

## Syntax

```js
var allow = htmlIFrameElement.allowPaymentRequest
```

### Value

A boolean value.

## Browser compatibility

{{Compat}}

## See also

- [Payment Request API](/en-US/docs/Web/API/Payment_Request_API)
