Overview
This quickstart guide will help you integrate Receeco into your POS system and process your first digital receipt. We’ll use our POS agent for the fastest setup.Prerequisites: Node.js 16+ and access to your POS system’s transaction
data
Step 1: Install POS Agent
Install our lightweight POS agent that handles the integration:The POS agent is a middleware service that runs alongside your POS system and
handles all communication with Receeco’s API, including offline queue
management.
Step 2: Get Your Merchant Credentials
- Sign up at receeco.com/for-merchants
- Complete verification with your business details
- Copy your Merchant ID from the dashboard
- Get your API Key (if available) for enhanced security
Keep your Merchant ID and API Key secure - they identify your business in all
transactions
Step 3: Initialize the Agent
Initialize the agent with your credentials:.env
and config.json
files with your settings:
.env file:
Step 4: Start the Agent
http://localhost:3001
and display:
Step 5: Test Your First Transaction
Use the built-in test command for the easiest verification:The test command generates unique data each time to avoid conflicts and
includes your actual merchant configuration.
Manual Testing (Advanced)
You can also send transactions manually to the agent:Step 6: View the Digital Receipt
The response will include:QR Code Access
Display the QR code on your POS screen or print it on receipts
Short Code Access
Customers can manually enter the 6-digit code at receeco.com/app/scan
Step 7: Test Customer Access
- Open receeco.com/app/scan
- Enter the short code (e.g.,
ABC123
) - View the digital receipt with all transaction details
Success! You’ve successfully processed your first digital receipt with
Receeco
Additional CLI Commands
The POS agent includes several helpful commands for management:Check Agent Status
Check Agent Status
Visual Testing with Emulator
Visual Testing with Emulator
bash receeco-pos emulator
Opens a web-based emulator for visual testingClear Failed Transactions
Clear Failed Transactions
bash receeco-pos clear-queue
Removes failed transactions from offline
queueWindows Service Installation
Windows Service Installation
Next Steps
POS Integration
Learn about the transaction API
Customer Access
Understand receipt retrieval
Offline Mode
Handle network interruptions
Production Setup
Deploy to production environment
Troubleshooting
Agent won't start
Agent won't start
Check if port 3001 is available and you have the correct Node.js version
(16+)
Transaction fails
Transaction fails
Verify your Merchant ID is correct and your internet connection is stable
QR code not generating
QR code not generating
Ensure all required fields (merchantId, items, totalAmount) are provided
Need help? Contact our support team at
developers@receeco.com