# Decentralized market and payment request configuration

All configuration *is* done within main configuration file *trading-app-configs/ui\_config.v1.json.*

## Supply expiry date

Supplies can be created within Market functionality. The expiry date of supplies is set according to this setting:

```
"decentralized_market": {
    "supplies_days_before_expired": 10
    },
```

The set expiry date in this example will be today + 10 days. The setting is defined in the amount of days.

## Invoice configuration

Invoices can be created along with Payment requests. Some of the properties are defined based on config:&#x20;

* expiry date is defined as current date + "days\_before\_expired" set in the config file. The setting is defined in the amount of days.
* target address of the invoice (address which will receive paid asset) can be set in the config file. User can change it. But if not set in config - current user's address is set as default and still can be edited

```
"payment_request": {
	"invoices": {
		"days_before_expired": 10,
		"target_address": "0x4083fdfba2ebf8efc2f9f9b34537f6f989470840"
	}
}
```


---

# 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://teos-docs.coreledger.net/white-label-mobile-app/admin-user-guide/app-configuration/decentralized-market-and-payment-request-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.
