The POS API enables Smart PAY terminals to accept payments using OLIVE NFC cards. It provides endpoints for card verification, payment processing, and refunds.
Features
Card Verification
Instantly verify card status and balance before purchase
NFC Payments
Process secure offline-first or online NFC transactions
Smart Routing
Route transactions to correct subscriber wallet
Refunds
Process full or partial refunds directly from terminal
Endpoints
Process Payment
POST /api/v1/pos/paymentExecute a payment transactionVerify Card
POST /api/v1/pos/verify-cardCheck card validity, holder name, and balanceRefund
POST /api/v1/pos/refundRefund a transactionLookup Card
POST /api/v1/pos/lookup-cardGet card details (Admin/Support)Payment Flow
1
Tap Card
Customer taps NFC card on Smart PAY terminal
2
Verify
Terminal calls
verify-card to check status and prompt for PIN3
Authorize
Customer enters PIN on terminal
4
Process
Terminal calls
payment with encrypted PIN and amount5
Receipt
Transaction approved, terminal prints receipt
Security
- HMAC auth: Every POS request must include
X-API-Key-ID,X-Timestamp, andX-Signature. - Signature input: Sign
METHOD + "\n" + PATH + "\n" + TIMESTAMP + "\n" + BODYusing the integration’s HMAC secret. - Merchant ID: Include the registered merchant identifier in payment requests.
- Processor ID: Include the processor account ID that receives POS funds.
Integration Status
Online
Real-time processing
Offline
Store and forward (coming soon)
Sandbox
Test environment available