Skip to main content
The Wallet API provides core financial operations for OLIVE accounts. All monetary operations are atomic and recorded in the transaction ledger.

Key Features

Real-Time Balance

Instant balance queries with PIN verification

P2P Transfers

Send money to any subscriber by card

Transaction History

Complete audit trail of all operations

Endpoints

Get Balance

POST /api/v1/wallet/balance/{id}Get current wallet balance (PIN required)

Transactions

POST /api/v1/wallet/transactions/{id}Get transaction history

P2P Transfer

POST /api/v1/wallet/transfer-p2pSend money by card serial

Internal Transfer

POST /api/v1/wallet/transferTransfer between accounts

Fund from VULT

POST /api/v1/wallet/fund-from-vultTop up from VULT wallet

Account Statement

POST /api/v1/wallet/account-statementGenerate PDF/CSV statement

Transaction Types


Transaction Object


Transfer Flow

1

Initiate Transfer

Sender provides recipient card serial, amount, and PIN
2

Validation

  • Verify sender PIN
  • Check sender balance (amount + fee)
  • Validate recipient exists and is active
  • Run compliance checks
3

Execute Transfer

Atomic operation:
  • Debit sender (amount + fee)
  • Credit recipient (amount)
  • Record fee
4

Notification

Both parties receive WhatsApp confirmation

Balance Security

Balance queries require PIN verification to prevent unauthorized access.

PIN Required

All balance and history queries need 4-digit PIN

Rate Limited

Failed PIN attempts are tracked and limited

Common Workflows

  1. Get recipient’s card serial number
  2. Call POST /api/v1/wallet/transfer-p2p
  3. Include sender ID, recipient card, amount, PIN
  4. Both parties receive WhatsApp notifications
  1. Call POST /api/v1/wallet/balance/{subscriber_id}
  2. Include PIN in request body
  3. Returns current balance and currency
  1. Call POST /api/v1/wallet/transactions/{subscriber_id}
  2. Include PIN, limit, and offset
  3. Returns paginated transaction list
  1. Call POST /api/v1/wallet/account-statement
  2. Specify date range and format (PDF/CSV)
  3. Returns download URL for statement file

Fees

Transaction fees are configured per transaction type. See Fee Settings for configuration.

Agent Cash-In

Deposit cash through agent

POS Payment

Pay at merchant terminal