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

The **`total`** readonly property of the
{{domxref("PaymentRequestEvent")}} interface returns a
{{domxref('PaymentCurrencyAmount')}} object containing the total amount being requested
for payment.

## Syntax

```js
var paymentCurrencyAmount = paymentRequestEvent.total
```

### Value

A {{domxref('PaymentCurrencyAmount')}} object.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
