> 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-cartao-de-credito.md).

# Atualizar configurações cartão de crédito

<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                       |
| --------------------------------------------------------------- | ------ | --------------------------------- |
| enable<mark style="color:red;">\*</mark>                        | String | 1 ou 0                            |
| credentials<mark style="color:red;">\*</mark>                   | JSON   |                                   |
| credentials.antecipation<mark style="color:red;">\*</mark>      | String | true ou false                     |
| credentials.max\_installments<mark style="color:red;">\*</mark> | Int    | 1 a 12                            |
| type<mark style="color:red;">\*</mark>                          | String | "credit\_card" / "boleto" / "pix" |
