API Endpoint Summary
Part of: MPAC SmartPOS Cloud Platform - Product RequirementsVersion: 2.0 Last Updated: 2026-01-28
Overview
This document provides a comprehensive summary of all API endpoints across the MPAC platform services. Endpoints are organized by service and functional area for quick reference during development and integration.
svc-portal Endpoints
Authentication
POST /api/v1/auth/user/login- User loginPOST /api/v1/auth/user/mfa/verify- MFA verificationPOST /api/v1/auth/device/token- Device token (OAuth2)POST /api/v1/auth/admin/impersonate- Admin impersonationGET /api/v1/jwks/human- Human JWT public keysGET /api/v1/jwks/device- Device JWT public keys
Device Provisioning
POST /api/v1/device/provision/generateActivationCode- Generate codePOST /api/v1/device/provision/activate- Activate deviceGET /api/v1/device/provision/activationStatus- Poll status
Merchant/Store Management
GET /api/v1/psps- List PSPsPOST /api/v1/psps- Create PSPGET /api/v1/merchants- List merchantsPOST /api/v1/merchants- Create merchantGET /api/v1/stores- List storesPOST /api/v1/stores- Create storeGET /api/v1/terminals- List devicesPOST /api/v1/terminals- Register device
User Management
GET /api/v1/users- List usersPOST /api/v1/users- Create userPATCH /api/v1/users/{id}- Update userDELETE /api/v1/users/{id}- Delete user
svc-smarttab Endpoints
Order Management
POST /orders- Create orderGET /orders- List ordersGET /orders/{id}- Order detailsPATCH /orders/{id}- Update orderPOST /orders/{id}/cancel- Cancel order
Bill Management
POST /bills- Create bill from orderGET /bills- List billsGET /bills/{id}- Bill detailsPOST /bills/{id}/split- Split billPOST /bills/combine- Combine bills
Payment Management
POST /payments- Create paymentGET /payments- List paymentsGET /payments/{id}- Payment detailsPOST /payments/{id}/refund- Refund payment
Customer Management
POST /customers- Create customerGET /customers- Search customersGET /customers/{id}- Customer detailsGET /customers/{id}/orders- Purchase history
Settlement
POST /settlements- Create settlementGET /settlements- List settlementsPOST /settlements/{id}/close- Close settlement
mpac-pgw Endpoints
Payment Intents (S2S - HMAC)
POST /v1/payment_intents- Create PaymentIntentGET /v1/payment_intents- List PaymentIntentsPOST /v1/payment_intents/{id}/capture- Capture paymentPOST /v1/payment_intents/{id}/refund- Refund payment
Payment Intents (Frontend - Token)
GET /v1/payment_intents/{id}- Get PaymentIntentPOST /v1/payment_intents/{id}/confirm- Confirm paymentPOST /v1/payment_intents/{id}/cancel- Cancel paymentGET /v1/payment_intents/{id}/transactions- List transactions
Configuration Sync
POST /v1/sync/merchants- Sync merchant config
Webhooks
POST /v1/webhooks/paypay- PayPay webhookPOST /v1/webhooks/linepay- LINE Pay webhook
See Also
Related References:
- Glossary - Technical terminology
- Status Code Reference - HTTP and payment status codes
- Data Model - Database schema reference
Technical Documentation:
- Authentication Architecture - Auth implementation
- Payment Gateway Integration - PGW integration patterns
- API Security - Security controls
Domain Documentation:
- Authentication & Identity - Auth flows
- Payment Processing - Payment APIs
- Device Management - Device APIs
Navigation: ↑ Back to Index | ← Glossary | Next: Data Model →