Agent cash-in transaction
Agents
Agent Cash-In
Credit subscriber wallet through agent
POST
Agent cash-in transaction
Agent cash-in allows field agents to deposit cash into subscriber wallets. The agent’s float balance is debited, and the subscriber is credited.
Endpoint
Authentication
string
required
Bearer token (API key or Agent JWT)
Request Body
string
required
UUID of the agent performing cash-in
string
required
UUID of subscriber receiving funds
string
Card serial number (alternative to subscriber_id)
string
required
Amount in SLE (e.g.,
50.00 or 50)string
required
Agent’s 4-digit PIN for authentication
Transaction Flow
1
Validation
Agent PIN verified, subscriber looked up by ID or card serial
2
Compliance Check
Transaction checked against daily limits and fraud rules
3
Fee Calculation
Agent fee calculated based on fee settings
4
Balance Updates
Agent debited, subscriber credited atomically
5
Notifications
WhatsApp notification sent to subscriber
Example
- Request
- Response
- By Card Serial
Errors
Related
Agent Balance
Check agent float balance before cash-in
Fund Agent
Add float to agent account
Authorizations
API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Body
application/json
Cash-in details
Response
OK
The response is of type object.