---
agentTools:
  projectIndex: https://partnerhubapi.stone.com.br/llms.txt
---

# Adicionar terminal

Vincular terminal não ativo stone para transacionar na adquirência

Referencia do campos Terminal Type ID e Terminal Model ID: [Terminal Model e Terminal Type](https://partnerhubapi.stone.com.br/reference/terminal-model)

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Partner Hub API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://partnerhub-sdx-external-api.stone.com.br"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/logistics/terminals/register-non-stone-asset": {
      "post": {
        "summary": "Adicionar terminal",
        "description": "Vincular terminal não ativo stone para transacionar na adquirência",
        "operationId": "cadastrar-terminal",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "serial_number",
                  "stonecode",
                  "terminal_type_id",
                  "terminal_model_id"
                ],
                "properties": {
                  "serial_number": {
                    "type": "string",
                    "description": "Serial Number da máquina que será vinculada"
                  },
                  "stonecode": {
                    "type": "string",
                    "description": "Código do cliente na Stone (Ex: 123456789)"
                  },
                  "terminal_type_id": {
                    "type": "integer",
                    "description": "Tipo do Terminal - POS ou Pinpad",
                    "default": 1,
                    "format": "int32"
                  },
                  "terminal_model_id": {
                    "type": "integer",
                    "description": "Modelo do Terminal a ser configurado",
                    "default": 2,
                    "format": "int32"
                  }
                }
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "serial_number": "6C857331",
                    "stonecode": "164057123",
                    "terminal_type_id": 1,
                    "terminal_model_id": 58
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"success\": true,\n  \"data\": {\n    \"serial_number\": \"string\",\n    \"stone_code\": \"string\",\n    \"terminal_type_id\": 0,\n    \"terminal_model_id\": 0\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "serial_number": {
                          "type": "string",
                          "example": "string"
                        },
                        "stone_code": {
                          "type": "string",
                          "example": "string"
                        },
                        "terminal_type_id": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "terminal_model_id": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"success\": false,\n  \"error\": \"Unauthorized\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "error": {
                      "type": "string",
                      "example": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "500",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"success\": false,\n  \"error\": \"INTERNAL_SERVER_ERROR\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "error": {
                      "type": "string",
                      "example": "INTERNAL_SERVER_ERROR"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "66fdc0f9b9c59e006159f051:67052691b54f40001d054476"
}
```