---
title: PaymentAddress.sortingCode
slug: Web/API/PaymentAddress/sortingCode
tags:
  - API
  - Address
  - Payment Request
  - Payment Request API
  - Property
  - Read-only
  - Reference
  - Sorting Code
  - payment
  - paymentAddress
  - sortingCode
browser-compat: api.PaymentAddress.sortingCode
---
{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The **`sortingCode`** read-only property of the
{{domxref('PaymentAddress')}} interface returns a string containing a postal sorting
code such as is used in France.

## Syntax

```js
var sortingCode = PaymentAddress.sortingCode;
```

### Value

A {{domxref("DOMString")}} containing the sorting code portion of the address.

## Browser compatibility

{{Compat}}
