- Checkout
- Features
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.

<kustom-payment-method-display locale="en-SE"></kustom-payment-method-display>Attributes
Section titled “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 |
include | No | Comma-separated 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 to hide |
align | No | start (the default) or center |
exclude is applied before include, so an identifier in both is hidden.
Filtering examples
Section titled “Filtering examples”Hide methods the API returned for your account:
<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:
<kustom-payment-method-display locale="en-SE" include="applepay,googlepay"></kustom-payment-method-display>Related
Section titled “Related”- Element catalogue — every element, and the locale and filtering rules they share
- Element method identifiers — the values
includeandexcludeaccept - Install Kustom Elements — the script and domain registration this depends on
This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.