# Módulo Actualizacion clave

# /api/actualizaclave/orden/buscar

##### Ejecuta el flujo de actualizacion de clave.

### Detalles técnicos

- **Endpoint: /api/actualizaclave/orden/buscar**
- **Método:** `POST`

### 🌐 Dominios

#### QA

```
https://qapagalo.shalom.pe/api/actualizaclave/orden/buscar
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 113px; width: 100%;"><thead class="text-left"><tr><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%;">URL</th></tr></thead><tbody><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/orden/buscar</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/orden/buscar</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/orden/buscar</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```
{
    "codigo":"WJNN",
    "guia":"50013967",
    "usuario":"72607245"
}
```

---

### 📤 Response

```json
{
    "success": true,
    "message": "Número de orden verificada"
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Actualizacion de Clave → Proceso de Actualizacion de Clave**
    - **Evento:** Al presionar el boton "Continuar".
    - **Uso:** Verifica el numero de orden.

---

### 🖼️ Pantallazos

- **Actualizacion de Clave:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/5otimage.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/5otimage.png)

### 📂 Archivos Flutter relacionados

- - -

---

### 🗒️ Notas adicionales

- -

# /api/actualizaclave/orden/validar

##### Ejecuta el flujo de actualizacion de clave.

### Detalles técnicos

- **Endpoint: /api/actualizaclave/orden/validar**
- **Método:** `POST`

### 🌐 Dominios

#### QA

```
https://qapagalo.shalom.pe/api/actualizaclave/orden/validar
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 113px; width: 100%;"><thead class="text-left"><tr><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%;">URL</th></tr></thead><tbody><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/orden/validar</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/orden/validar</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/orden/validar</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```json
{
    "codigo":"WJNN",
    "destinatario": {
        "documento":"72607245",
        "telefono":"922749652"
    },
    "destino": {
        "ter_id":"730"
    },
    "fecha": "2026-06-15",
    "guia": "50013967",
    "origen": {
    "ter_id":"45"
    },
    "remitente": {
        "documento":"72607245",
        "telefono":"922749652"
    }
}
```

---

### 📤 Response

```json
{
    "success": true,
    "message": "Remitente verificado",
    "data": 82742839
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Actualizacion de Clave→ Valida los datos del Ticket**
    - **Evento:** Al presionar el boton "Continuar".
    - **Uso:** Verifica el remitente.

---

### 🖼️ Pantallazos

- **Actualizacion de Clave:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/vY1image.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/vY1image.png)

### 📂 Archivos Flutter relacionados

- - -

---

### 🗒️ Notas adicionales

- -

# api/actualizaclave/pregunta/validar

##### Ejecuta el flujo de actualizacion de clave.

### Detalles técnicos

- **Endpoint: /api/actualizaclave/pregunta/validar**
- **Método:** `POST`

### 🌐 Dominios

#### QA

```
https://qapagalo.shalom.pe/api/actualizaclave/pregunta/validar
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 113px; width: 100%;"><thead class="text-left"><tr><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%;">URL</th></tr></thead><tbody><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/pregunta/validar</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/pregunta/validar</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/pregunta/validar</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```json
{
    "answer":"NO",
    "question":"TERMINAL_ORIGEN",
    "terminal_aleatoria":"240",
    "remitente": {
        "documento":"72607245",
        "telefono":"922749652"
    }
}
```

---

### 📤 Response

```json
{
    "success": true,
    "message": "Respuesta correcta"
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Actualizacion de Clave → Vista Login**
    - **Evento:** Al presionar el boton "SI" o "NO"
    - **Uso:** Valida si se escogio la respuesta correcta.

---

### 🖼️ Pantallazos

- **Actualizacion de Clave:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/8wrimage.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/8wrimage.png)

### 📂 Archivos Flutter relacionados

- - -

---

### 🗒️ Notas adicionales

- -

# /api/actualizaclave/mensaje/enviar

##### Ejecuta el flujo de actualizacion de clave.

### Detalles técnicos

- **Endpoint: /api/actualizaclave/mensaje/enviar**
- **Método:** `POST`

### 🌐 Dominios

#### QA

```
https://qapagalo.shalom.pe/api/actualizaclave/mensaje/enviar
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 113px; width: 100%;"><thead class="text-left"><tr><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%;">URL</th></tr></thead><tbody><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/mensaje/enviar</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/mensaje/enviar</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/mensaje/enviar</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```json
{
    "asesor":"EPPCD",
    "idos":"82742839",
    "origen":"45",
    "cell":"922749652",
    "text":"SHALOM EMPRESARIAL: Su código para cambio de clave para la guía 50013967 es: EPPCD.",
    "email":"dchipanalapa@gmail.com",
    "tipoMensaje":"1"
}
```

---

### 📤 Response

```json
{
    "success": true,
    "message": "Mensaje enviado ",
    "data": {
        "response": {
            "success": true,
            "message": "Email enviado"
        },
        "insert": 286624
    }
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Actualizacion de Clave → Actualiza tu clave**
    - **Evento:** Cuando presiona el boton "Solicitar codigo de verificacion".
    - **Uso:** Se envia el codigo a la opcion elegida(Celular/Correo).

---

### 🖼️ Pantallazos

- **Actualizacion de Clave:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/dudimage.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/dudimage.png)

### 📂 Archivos Flutter relacionados

- - -

---

### 🗒️ Notas adicionales

- -

# /api/actualizaclave/clave/validar

##### Ejecuta el flujo de actualizacion de clave.

### Detalles técnicos

- **Endpoint: /api/actualizaclave/clave/validar**
- **Método:** `POST`

### 🌐 Dominios

#### QA

```
https://qapagalo.shalom.pe/api/actualizaclave/clave/validar
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 113px; width: 100%;"><thead class="text-left"><tr><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%;">URL</th></tr></thead><tbody><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/clave/validar</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/clave/validar</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/clave/validar</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```json
{
    "idose":"82742839",
    "codigo":"EPPCD"
}
```

---

### 📤 Response

```json
{
    "success": true,
    "message": "Codigo validado"
}
```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Actualizacion de Clave → Actualiza tu Clave**
    - **Evento:** Cuando termina de digitar el codigo de verificacion.
    - **Uso:** Valida el codigo.

---

### 🖼️ Pantallazos

- **Actualizacion de Clave:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/hd6image.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/hd6image.png)

### 📂 Archivos Flutter relacionados

- - -

---

### 🗒️ Notas adicionales

- -

# /api/actualizaclave/clave/actualizar

##### Ejecuta el flujo de actualizacion de clave.

### Detalles técnicos

- **Endpoint: /api/actualizaclave/clave/actualizar**
- **Método:** `POST`

### 🌐 Dominios

#### QA

```
https://qapagalo.shalom.pe/api/actualizaclave/clave/actualizar
```

#### Producción

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-etiqueta-url-princip"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 113px; width: 100%;"><thead class="text-left"><tr><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 23.5939%;">Etiqueta</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 76.3823%;">URL</th></tr></thead><tbody><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Principal</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/clave/actualizar</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Región 2</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/clave/actualizar</td></tr><tr><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 23.5939%; height: 35.2px;">Failover</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 76.3823%; height: 35.2px;">https://envia.shalom.pe/api/actualizaclave/clave/actualizar</td></tr></tbody></table>

</div>---

### 📋 Headers

<div class="overflow-x-auto w-full px-2 mb-6" id="bkmrk-clave-valor-requerid"><table class="min-w-full border-collapse text-sm leading-[1.7] whitespace-normal" style="height: 122.338px; width: 100%;"><thead class="text-left"><tr style="height: 29.6px;"><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Clave</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Valor</th><th class="text-text-100 border-b-0.5 border-[hsl(var(--border-300)/0.6)] py-2 pr-4 align-top font-bold" scope="col" style="width: 33.3651%; height: 29.6px;">Requerido</th></tr></thead><tbody><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Content-Type`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">application/x-www-form-urlencoded</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">`Authorization`</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Bearer &lt;token&gt;</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Sí</td></tr><tr style="height: 30.9125px;"><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">Api-Key-App-Rastrea</td><td style="width: 33.3651%; height: 30.9125px;">N/A</td><td class="border-b-0.5 border-[hsl(var(--border-300)/0.3)] py-2 pr-4 align-top" style="width: 33.3651%; height: 30.9125px;">No</td></tr><tr><td style="width: 33.3651%;">Accept</td><td style="width: 33.3651%;">*/*</td><td style="width: 33.3651%;">Sí</td></tr></tbody></table>

</div>### 📩 Request

```json
{
    "idose":"82742839",
    "codigo":"WJNN",
    "destinatario": {
        "documento": "72607245",
        "telefono":"922749652"
    },
    "destino": {
        "ter_id":"730"
    },
    "fecha": "2026-06-15",
    "guia":"50013967",
    "monto":"",
    "origen": {
        "ter_id": "45"
    },
    "clave":"8889",
    "remitente": {
        "documento":"72607245",
        "telefono":"922749652"
    },
    "usuario":"72607245"
}
```

---

### 📤 Response

```json
{
    "success": true,
    "message": "Nueva clave generada con éxito su clave es: ",
    "data": "8889"
}

```

---

### 📍 Contexto funcional (Dónde se usa)

1. **Módulo Actualizacion de Clave → Actualiza tu clave** 
    - **Evento:** Cuando presiona el boton "Generar".
    - **Uso:** Generar la clave ingresada para la guia.

---

### 🖼️ Pantallazos

- **Actualizacion de Clave:**
    
    [![image.png](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/scaled-1680-/IUTimage.png)](https://shalom-documentation.shalomcontrol.com/uploads/images/gallery/2026-06/IUTimage.png)

### 📂 Archivos Flutter relacionados

- - -

---

### 🗒️ Notas adicionales

- -