# Configuration

## Theme Configuration

Optty Direct allows basic White Labelling out of the box. Optty is not a consumer facing brand hence there is no default theme and you should setup a white label theme before taking payments from customer.&#x20;

The logo is displayed in the top left of the banner, the Primary Colour is the top bar colour and the secondary colour is the background colour of the forms.&#x20;

The masked URL will insert this into text into the URL to increase customer comfort e.g. with the below configured masked URL this would be the base URL of the payment session,  [`https://hpp.qa.optty.com/payment-link/loremipsum/...`](https://hpp.qa.optty.com/payment-link/loremipsum)

<div><figure><img src="/files/QMqH9fhXvWfZgRQlZ0ue" alt=""><figcaption><p>Theme Configuration Page</p></figcaption></figure> <figure><img src="/files/ltCQfFhKdYwQnLcs3xjo" alt=""><figcaption><p>Theme Configuration Example</p></figcaption></figure></div>

## Default Taxes

This configuration can be used to streamline the process of creating Optty Direct payments from the UPP. When a default tax is enabled this will automatically apply this tax to any line item generated, the most basic example below means that an automatic GST tax of 10% will be added to any item entered from the UPP. Importantly these default taxes are only applied when generating payment sessions from the UPP.

<figure><img src="/files/qFxlX2Y8jUgbkNP13iWP" alt="" width="449"><figcaption><p>Default Taxs</p></figcaption></figure>


---

# 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://docs.optty.com/hosted-payment-page/configuration.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.
