¡Bienvenido(a) a Passport!
Endpoints
Gestionar Tokens
Gestionar Clientes
GESTIONAR CUENTAS
GESTIONAR LLAVES Bre-B
GESTIONAR DESTINATARIOS
GESTIONAR PAGOS
Códigos QR
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Activar Llave
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Visión General
Este endpoint se utiliza para reactivar una llave Bre-B previamente suspendida, restaurando su estado a ACTIVE (Activa).
Detalles del Endpoint
| Parámetro | Descripción |
|---|---|
| Endpoint | https://api.paas-sandbox.co.passportfintech.com/v1/keys/{key_id}/activate |
| Método | PATCH |
| Encabezados | Content-Type: application/json, Authorization |
| Autenticación | Token de Acceso (Bearer Token) |
Cuerpo de la Solicitud
- No requiere cuerpo de solicitud
Ejemplo de Solicitud
JSON
3
1
curl --location --request PATCH 'https://api.paas-sandbox.co.passportfintech.com/v1/keys/67d9a207-1b46-4961-ad08-24a226e46397/activate' \2
--header 'Content-Type: application/json' \3
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \Cuerpo de la Respuesta
- Código HTTP: 200 OK
- La respuesta devuelve el estado de la Llave:
ACTIVE(Activa)
Ejemplo de Respuesta
JSON
11
11
1
{2
"created_at": "2025-10-04T00:56:49.752Z",3
"updated_at": "2025-10-04T01:20:16.602Z",4
"account_id": "450dfdce-da3d-4261-9226-84913169ab37",5
"id": "67d9a207-1b46-4961-ad08-24a226e46397",6
"status": "ACTIVE",7
"key": {8
"key_type": "E",9
"key_value": "78L216DRQG@passportfintech.com"10
}11
}Errores Comunes y Manejo
| Código HTTP | Significado | Descripción |
|---|---|---|
| 400 | Bad Request | Campo id faltante o inválido. |
| 401 | Unauthorized | Token Bearer ausente o inválido. |
| 403 | Forbidden | Alcance insuficiente o falta de permisos para activar la llave. |
| 404 | Not Found | No existe una llave con el id proporcionado. |
Buenas Prácticas
- Refresca los tokens OAuth antes de que expiren para evitar fallos de autenticación.
- Valida los datos de entrada (por ejemplo, que el id sea correcto) antes de enviar la solicitud.
- Utiliza este endpoint únicamente después de verificar que la llave fue suspendida previamente.
- Mantén trazabilidad registrando quién y cuándo activó la llave para fines de auditoría.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Última actualización el
Siguiente lectura:
Crear Destinatario (Bre-B)Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message