# Atualizar configurações boleto

<mark style="color:green;">`POST`</mark> `https://api.payhow.com.br/api/v1/icustomers/gateway/config/payments`

#### Headers

| Name                                            | Type   | Description      |
| ----------------------------------------------- | ------ | ---------------- |
| Accept<mark style="color:red;">\*</mark>        | String | application/json |
| Content-Type<mark style="color:red;">\*</mark>  | String | application/json |
| Authorization<mark style="color:red;">\*</mark> | String | \[Bearer token]  |

#### Request Body

| Name                                                                   | Type    | Description                     |
| ---------------------------------------------------------------------- | ------- | ------------------------------- |
| type<mark style="color:red;">\*</mark>                                 | String  | "credit\_card", "boleto", "pix" |
| enable<mark style="color:red;">\*</mark>                               | Int     | 1 ou 0                          |
| credentials<mark style="color:red;">\*</mark>                          | JSON    |                                 |
| credentials.kit\_pix<mark style="color:red;">\*</mark>                 | Boolean | true ou false                   |
| credentials.negativity\_serasa<mark style="color:red;">\*</mark>       | Int     | 1 a 12                          |
| credentials.notification\_voice<mark style="color:red;">\*</mark>      | Boolean | true ou false                   |
| credentials.notification\_whatsapp<mark style="color:red;">\*</mark>   | Boolean | true ou false                   |
| credentials.notification\_sms\_email<mark style="color:red;">\*</mark> | Boolean | true ou false                   |
| credentials.discount\_percentage<mark style="color:red;">\*</mark>     | Int     | null ou valor em inteiro        |
| credentials.fine\_percentage<mark style="color:red;">\*</mark>         | Int     | null ou valor em inteiro        |
| credentials.interest\_percentage<mark style="color:red;">\*</mark>     | Int     | null ou valor em inteiro        |


---

# 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.payhow.com.br/master/atualizar-configuracoes-boleto.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.
