> For the complete documentation index, see [llms.txt](https://docs.payhow.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payhow.com.br/master/atualizar-configuracoes-boleto.md).

# 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        |
