---
updatedAt: 2025-07-12T17:19:10.000Z
agentTools:
  projectIndex: https://developers.safe2pay.com.br/llms.txt
---

# Alterar logotipo

Esse endpoint permite alterar o logotipo da empresa.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.safe2pay.com.br"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v2/merchant/updateLogo": {
      "put": {
        "description": "",
        "operationId": "put_v2merchantupdateLogo",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "examples": {
                  "Ok": {
                    "summary": "Ok",
                    "value": {
                      "ResponseDetail": true,
                      "HasError": false
                    }
                  },
                  "Erro": {
                    "summary": "Erro",
                    "value": {
                      "HasError": true,
                      "ErrorCode": "822",
                      "Error": "A extensão do arquivo é inválida."
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "Logotipo": {
                    "type": "string",
                    "description": "Imagem em Base64. Dimensões máximas de 100x40 pixels."
                  },
                  "ExtensionLogotipo": {
                    "type": "string",
                    "description": "Formato do arquivo de imagem. Os formatos validos são png, jpg e jpeg"
                  }
                },
                "type": "object",
                "required": [
                  "Logotipo",
                  "ExtensionLogotipo"
                ]
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```