¡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?
Suspender Llave
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Visión General
Este endpoint se utiliza para suspender (desactivar temporalmente) una llave Bre-B específica asociada a la cuenta de un cliente.
Detalles del Endpoint
| Parámetro | Descripción |
|---|---|
| Endpoint | https://api.paas.sandbox.co.passportfintech.com/v1/keys/:key_id/suspend |
| 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/suspend' \2
--header 'Content-Type: application/json' \3
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \Cuerpo de la Respuesta
- Código HTTP: 200 OK
- La repuesta devuelve el estado de la Llave:
SUSPENDED(suspendida)
Ejemplo de Respuesta
JSON
11
11
1
{2
"created_at": "2025-10-04T00:56:49.752Z",3
"updated_at": "2025-10-04T01:19:48.247Z",4
"account_id": "450dfdce-da3d-4261-9226-84913169ab37",5
"id": "67d9a207-1b46-4961-ad08-24a226e46397",6
"status": "SUSPENDED",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 suspender 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 previamente los datos de entrada como el id para reducir errores 400.
- Usa la suspensión como medida temporal de seguridad antes de una cancelación definitiva.
- Mantén registros de quién y cuándo se suspendió 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:
Activar LlaveDiscard 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