Agent Integration Guide
Complete guide for integrating with the OLIVE agent network for cash-in, cash-out, and float management operations.Overview
OLIVE agents are authorized individuals or businesses that facilitate cash transactions for subscribers who may not have direct access to digital banking.Cash-In
Customer deposits cash, agent credits wallet
Cash-Out
Customer withdraws cash, agent debits wallet
Float Transfer
Transfer float between agents
Agent Types
Agent Hierarchy
Prerequisites
Before integrating:1
Agent Registration
Agent must be registered in OLIVE with a unique ID and phone number
2
Float Funding
Master agent must fund sub-agent float via
/agents/transfer3
PIN Setup
Agent must have a transaction PIN configured
4
API Key
Obtain API key with
agent scopeAuthentication
Agent operations use standard API key authentication:Cash-In Operation
Customer deposits cash with agent, who credits the customer’s wallet.Flow
1
Customer Provides Info
Customer shows phone number or NFC card
2
Agent Looks Up Customer
Agent calls
/agents/lookup to verify subscriber3
Collect Cash
Agent collects physical cash from customer
4
Process Cash-In
Agent calls
/agents/cashin with amount5
Confirmation
Both agent and customer receive confirmation
API Call
Response
Float Transfer
Transfer float between agents (typically master to sub-agent).API Call
Response
Agent Lookup
Look up agent details by phone number:Balance Check
Get agent float balance:Error Handling
Error Response Example
Best Practices
Float Management
- Monitor float levels regularly
- Set up low-float alerts
- Reconcile daily with master agent
Security
- Never share transaction PIN
- Verify customer identity
- Report suspicious activity
Operations
- Keep physical cash secure
- Issue receipts for all transactions
- End-of-day reconciliation
Compliance
- Follow KYC requirements
- Report large transactions
- Maintain transaction records
Webhooks (Optional)
Subscribe to agent transaction events:Related
Agent Lookup API
Look up agent by phone
Cash-In API
Process cash deposits
Float Transfer API
Transfer float between agents
Agent Balance API
Check agent float