# Темная тема

Для использования темной темы (**доступно только в новой платежной форме**) нужно передать дополнительный параметр к URL при создании платежа ([если платеж сформирован простым способом](https://help.unitpay.ru/payments/create-payment-easy)): к URL добавляется "\&theme=dark".

Если платеж инициирован [обычным способом (по API)](https://help.unitpay.ru/payments/create-payment), к запросу дополнительно передается params\[theme]=dark:

<table><thead><tr><th width="100">Параметр</th><th width="100">Значение</th><th>Описание</th></tr></thead><tbody><tr><td><code>theme</code></td><td>dark, light</td><td>Если темная тема не используется, параметр не передается. По умолчанию  (если параметр theme не передан, используется значение light).</td></tr></tbody></table>

Если платеж инициирован с помощью [виджета](https://help.unitpay.ru/payments/create-payment-widget), то нужно добавить дополнительный параметр theme со значением dark:

<table><thead><tr><th width="100">Параметр</th><th width="100">Значение</th><th>Описание</th></tr></thead><tbody><tr><td>theme</td><td>dark, light</td><td>Если темная тема не используется, параметр не передается. По умолчанию  (если параметр theme не передан, используется значение light).</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.unitpay.ru/other/dark-theme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
