{"message":"Payment Gateway API","version":"1.0.0","endpoints":{"Authentication":{"POST \/api\/login":"Admin login","POST \/api\/logout":"Admin logout","GET \/api\/check-auth":"Check authentication status"},"Payment":{"POST \/api\/initiate-payment":"Initiate PesaPal payment","GET \/api\/check-status\/:orderTrackingId":"Check payment status and get voucher","POST \/api\/pesapal\/submit-order":"Submit PesaPal order","GET \/api\/pesapal\/status\/:orderTrackingId":"Check PesaPal transaction status","GET \/api\/pesapal\/history":"Get PesaPal transaction history","GET \/api\/pesapal\/token":"Get PesaPal access token"},"Vouchers":{"GET \/vouchers":"List vouchers (with pagination)","GET \/vouchers\/:id":"Get single voucher","POST \/vouchers":"Create voucher","PUT \/vouchers\/:id":"Update voucher","DELETE \/vouchers\/:id":"Delete voucher","POST \/vouchers\/bulk":"Bulk create vouchers","POST \/vouchers\/bulk-delete":"Bulk delete vouchers","POST \/vouchers\/upload":"Upload CSV","GET \/vouchers\/export":"Export to CSV","GET \/vouchers\/stats":"Get statistics"},"Controllers":{"GET \/api\/controllers":"List controllers","GET \/api\/controllers\/:id":"Get controller","POST \/api\/controllers":"Create controller","PUT \/api\/controllers\/:id":"Update controller","DELETE \/api\/controllers\/:id":"Delete controller","GET \/api\/controllers\/:id\/vouchers":"Get controller vouchers","GET \/api\/controllers\/:id\/stats":"Get controller stats"},"ioTec":{"POST \/api\/iotec\/collect":"Initiate ioTec collection","GET \/api\/iotec\/status\/:requestId":"Check transaction status","GET \/api\/iotec\/status\/external\/:externalId":"Check status by external ID","GET \/api\/iotec\/history":"Get transaction history","GET \/api\/iotec\/token":"Get ioTec access token"},"Users":{"GET \/api\/users":"Get all users","GET \/api\/users\/:id":"Get user by ID","POST \/api\/users":"Create new user"},"Portal":{"POST \/portal\/getPortalPageSetting":"Get portal configuration","POST \/portal\/auth":"Authenticate to portal"},"System":{"GET \/health":"Health check","GET \/api\/health":"Health check (alternative)","GET \/api\/status":"Get API status"}}}