---
updatedAt: 2026-09-08T13:07:59.000Z
agentTools:
  projectIndex: https://developer.pagbank.com.br/llms.txt
---

# Atualizar Configurações

Use este endpoint para recuperar as configurações de um cliente.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "clubpag",
    "version": "4.1"
  },
  "servers": [
    {
      "url": "https://sandbox.api.pagseguro.com/clubepag/"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/settings": {
      "put": {
        "summary": "Atualizar Configurações",
        "description": "",
        "operationId": "atualizar-configuracoes",
        "parameters": [
          {
            "name": "X-API-VERSION",
            "in": "header",
            "description": "A versão da API. Exemplo: \"1.0\"",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "settings"
                ],
                "properties": {
                  "settings": {
                    "type": "object",
                    "description": "As configurações a serem atualizadas.",
                    "required": [
                      "status"
                    ],
                    "properties": {
                      "status": {
                        "type": "string",
                        "description": "O status do comerciante. Exemplo: \"inactive\""
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "204",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{ \n  \"error_messages\": [ \n    { \n      \"error\": \"bad_request\", \n      \"description\": \"param is missing or the value is empty: status is missing\" \n    } \n  ] \n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_messages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "error": {
                            "type": "string",
                            "example": "bad_request"
                          },
                          "description": {
                            "type": "string",
                            "example": "param is missing or the value is empty: status is missing"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{ \n  \"error_messages\": [ \n    { \n      \"error\": \"invalid_client\", \n      \"description\": \"Client authentication failed. No client authentication included, or unsupported authentication method.\" \n    } \n  ] \n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_messages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "error": {
                            "type": "string",
                            "example": "invalid_client"
                          },
                          "description": {
                            "type": "string",
                            "example": "Client authentication failed. No client authentication included, or unsupported authentication method."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-internal": true
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```