# Payment method display

Show the Kustom payment methods available in a market with the kustom-payment-method-display element. Set locale, then filter the list with include and exclude.

The payment method display shows your customers which payment methods they can use. The
list is tailored to the market in `locale` and holds only the methods configured on your
account. It needs the [installation script and a registered domain](/checkout/surfaces/elements/).

```html
<kustom-payment-method-display locale="en-SE"></kustom-payment-method-display>
```

## Attributes

| Attribute | Required | What it does |
|---|---|---|
| `locale` | Yes | The market to show methods for. Use five characters, `language-COUNTRY`: the language sets the text and the country sets the market. See the [supported locales](/checkout/surfaces/elements-catalogue/#locale) |
| `include` | No | Comma-separated [identifiers](/checkout/surfaces/supported-methods/#payment-method-identifiers) to add even if the API doesn't return them for your account. Identifiers already in the list are ignored |
| `exclude` | No | Comma-separated [identifiers](/checkout/surfaces/supported-methods/#payment-method-identifiers) to hide |
| `align` | No | `start` (the default) or `center` |

`exclude` is applied before `include`, so an identifier in both is hidden.

## Filtering examples

Hide methods the API returned for your account:

```html
<kustom-payment-method-display
  locale="en-SE"
  exclude="klarna,swish"
></kustom-payment-method-display>
```

Add methods that aren't enabled on your account yet, to preview them in Playground:

```html
<kustom-payment-method-display
  locale="en-SE"
  include="applepay,googlepay"
></kustom-payment-method-display>
```

## Related

- [Element catalogue](/checkout/surfaces/elements-catalogue/) — every element, and the locale and filtering rules they share
- [Element method identifiers](/checkout/surfaces/supported-methods/) — the values `include` and `exclude` accept
- [Install Kustom Elements](/checkout/surfaces/elements/) — the script and domain registration this depends on
