> The index of all pages is at [llms.txt](https://developers.qliro.com/llms.txt). Add `.md` to any page URL for its Markdown.

# Payment widget (/on-site-material/get-started-widgets/payment-widget)

## Overview

The payment widget shows a suitable payment method for a given amount. Based on the parameters you provide, the widget picks the most suitable payment method.

<Callout type="info">
If no suitable payment method is available, the widget is empty.
</Callout>

**Style example: Normal**

**HTML**

```html
<div class="qliro-widget" data-amount="200" data-condensed></div>
<div class="qliro-widget" data-amount="200"></div>
```

**CSS**

```css
.qliro-widget {}
```

**Result**

![](<https://developers.qliro.com/assets/5fe348a9a277apaymentwidg1-Ni0t8_u0.webp>)

## How to

To use the payment widget, add a div with the class `qliro-widget` and the data attributes you need. The widgets script fills the div when the script loads, or when you call `window._qliroWidgets()`.

**Parameters**

| Parameter | Type | Description | Required |
| - | - | - | - |
| class | String | Must include **qliro-widget**. | <Required /> |
| data-amount | Number | Price of the order or product. Qliro uses it to pick the most suitable payment option. | <Required /> |
| data-condensed | Boolean | If set, the widget renders with shorter copy. |  |

**Example**

```html
<div class="qliro-widget" data-amount="1000" data-condensed></div>
```

## Styling

Override these CSS classes to change the default look of the payment widget.

**CSS classes**

| CSS Classes |
| - |
| `.qliro-widget` |
| `.qliro-widget-condensed` |
| `.qliro-widget-logotype` |
| `.qliro-widget-condensed-logotype` |
| `.qliro-widget > p > span` |
| `.qliro-condensed-widget > p > span` |

<Cards>
<Card title="Banner widget" href="/on-site-material/get-started-widgets/banner">
Continue to Banner widget
</Card>
</Cards>