System Architecture
Deployment
The production backend stack is defined in
deploy/arc-mainnet/compose.yml. Frontend configuration selects its backend with NEXT_PUBLIC_API_URL.
Payment Flow
Backend Responsibilities
- Capability and route checks reject unavailable operations.
- Wallet authentication verifies a one-time signed challenge and issues an account-scoped session.
- Execution intents bind immutable payment details to an operation identity.
- Payroll preparation validates batches; reporting verifies wallet-submitted results.
- Invoice APIs distinguish merchant management from public checkout and payment verification.
- Activity APIs expose account-scoped payment records.