The Banking Agents module handles financial transactions processed through external banking networks. Each transaction is stamped with the bank or operator name, the operation type, the amount, and a reference number, then linked to the active cashier session (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Eleazarguitar18/kantuta_pos_front/llms.txt
Use this file to discover all available pages before exploring further.
SesionCaja). The module also tracks the commission charged to the client and any bank-side commission. Soft deletes allow transactions to be voided without losing the audit record.
TypeScript Interface
Endpoints
Create an Agent Transaction
POST /agentes — Registers a new banking agent operation and associates it with the current cashier session.
Name of the bank or operator. This is a free-text field — see the note below for common values.
Operation type. One of:
DEPOSITO, RETIRO, or TRANSFERENCIA_QR.Transaction amount. Minimum value:
1.Commission amount charged to the customer for this transaction. Optional; defaults to
0 if omitted.Unique alphanumeric reference code from the banking operation (e.g., receipt number, QR transaction ID).
ID of the currently active cashier session. Transactions cannot be recorded without an open session.
Audit user ID of the operator recording the transaction.
The
banco field is free text and is not validated against a fixed enum on the backend. Common values used in production are BCP, TIGO_MONEY, BANCO_UNION, and SOLI, but any string is accepted. Ensure consistency in your UI by presenting a controlled dropdown that maps to these standard names.TransaccionAgente
List All Agent Transactions
GET /agentes — Returns all agent transactions across all sessions.
TransaccionAgente[]
Get Transaction by ID
GET /agentes/:id — Returns a single agent transaction by its ID.
TransaccionAgente
Void a Transaction (Soft Delete)
DELETE /agentes/:id — Marks a transaction as inactive without removing it from the database. The estado field is set to false.
void
Operation Types Reference
tipo_operacion | Description |
|---|---|
DEPOSITO | Customer deposits cash through the agent terminal. |
RETIRO | Customer withdraws cash through the agent terminal. |
TRANSFERENCIA_QR | Customer sends or receives money via QR code scan. |
Common banco Values
| Value | Description |
|---|---|
BCP | Banco de Crédito del Perú / Bolivia |
TIGO_MONEY | Tigo mobile money wallet |
BANCO_UNION | Banco Unión (Bolivia) |
SOLI | Soli digital payment network |