The Recargas API manages mobile carrier top-ups (recargas) sold through the POS terminal. The store maintains a pre-funded balance with each mobile operator (Tigo, Entel, Viva), and when a client purchases a top-up, the corresponding amount is deducted from that operator’s balance. To replenish an operator’s balance, administrators record a balance injection (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Eleazarguitar18/kantuta_pos_back/llms.txt
Use this file to discover all available pages before exploring further.
inyección) — also debited from a cash register session. This creates a full, trackable loop from cash on hand to operator credit to client top-up delivery.
All endpoints require a valid
Authorization: Bearer <access_token> header.Process a Client Top-Up
monto is deducted from the store’s current balance for the specified operadora. The transaction is linked to an active cash register session (id_caja_sesion), recording the incoming cash from the customer.
Request Body
Mobile carrier for the top-up. One of:
"Tigo", "Entel", "Viva".The client’s mobile phone number to be topped up (e.g.,
"78945612").Top-up amount. Minimum
0.1.ID of the active cash register session where this sale is being processed.
Response — RecargaCliente
Unique identifier of the top-up record.
Mobile carrier used:
"Tigo", "Entel", or "Viva".Phone number that received the top-up.
Top-up amount processed.
ISO 8601 timestamp of the transaction.
ID of the session this transaction is linked to.
Inject Balance to an Operator
EGRESO on the specified cash register session. Use this endpoint whenever the store replenishes its top-up stock with a carrier.
Request Body
The mobile carrier whose balance is being replenished. One of:
"Tigo", "Entel", "Viva".Amount of balance to inject. Minimum
1.ID of the active session from which the injection cost is deducted.
Response — InyeccionOperadora
Unique identifier of the injection record.
Mobile carrier whose balance was topped up.
Injected amount.
ISO 8601 timestamp of the injection.
ID of the session from which the cash was deducted.
List All Operator Balances
saldo_actual) for each registered mobile operator. Use this before processing a client top-up to verify sufficient funds are available.
Response — OperadoraSaldo[]
Unique identifier.
Carrier name:
"Tigo", "Entel", or "Viva". Unique per carrier.Current available balance for selling top-ups to clients.