# Changing the maximum amounts for payments

You can set the maximum amount for payments you create on the APIs, e.g. for security reasons. This information is stored in the configuration, and adopts the limitation of the environment by default, i.e. 10€ for sandboxes, and unlimited in production.

In order to change it to e.g. 20€ in production, you can do the following call using a config or administration token:

```
POST /config
```

```json
{
  "payment.max_amount": "20"
}
```

{% hint style="warning" %}
If you set a limit of 20€ on a sandbox domain through this configuration variable, the limitation to 10€ applied to all sandbox domains will still apply first, so it will be impossible to create 15€ payments for example.
{% endhint %}


---

# 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.powens.com/documentation/integration-guides/pay/advanced/changing-the-maximum-amounts-for-payments.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.
