---
title: PaymentRequestEvent.paymentRequestOrigin
slug: Web/API/PaymentRequestEvent/paymentRequestOrigin
tags:
  - API
  - Payment Request API
  - PaymentRequestEvent
  - Property
  - Reference
  - payment
  - paymentRequestOrigin
browser-compat: api.PaymentRequestEvent.paymentRequestOrigin
---
{{SeeCompatTable}}{{APIRef("Payment Request API")}}

The **`paymentRequestOrigin`** read-only property of the
{{domxref("PaymentRequestEvent")}} interface returns the origin where the
{{domxref("PaymentRequest")}} object was initialized.

## Syntax

```js
var aUsvString = paymentRequestEvent.paymentRequestOrigin
```

### Value

A USVString.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
