POS Terminal
The POS API enables Smart PAY terminals to accept payments using SmartPay NFC cards. It provides endpoints for card verification, payment processing, and refunds.
POS endpoints do not use Authorization: Bearer .... They require HMAC headers: X-API-Key-ID, X-Timestamp, and X-Signature.
Features
Instantly verify card status and balance before purchase
Process secure offline-first or online NFC transactions
Route transactions to correct subscriber wallet
Process full or partial refunds directly from terminal
Endpoints
POST /api/v1/pos/payment
Execute a payment transaction
POST /api/v1/pos/verify-card
Check card validity, holder name, and balance
POST /api/v1/pos/refund
Refund a transaction
POST /api/v1/pos/lookup-card
Get card details (Admin/Support)
Payment Flow
Customer taps NFC card on Smart PAY terminal
Terminal calls verify-card to check status and prompt for PIN
Customer enters PIN on terminal
Terminal calls payment with encrypted PIN and amount
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
Real-time processing
Store and forward (coming soon)
Test environment available