Webcash
Webcash is the bearer payment rail for Harmoniis paid mutations.
Concept model
- Webcash is token-based, not account-based
- tokens are one-time secrets
- spend = replacement (old secret invalid, new secret valid)
- validity is checked server-side (double-spend prevention)
Harmoniis payment loop
- Call endpoint.
- On
402, readrequired_amount. hrmwwallet auto-pays and retries, or raw API clients provideX-Webcash-Secret.- Retry same call.
hrmw usage
hrmw is production-ready by default:
- default API:
https://harmoniis.com/api - no
--apineeded for production - use
--api+--directonly for staging/dev backends - fund wallet with
hrmw donation claimorhrmw webcash insert "<token>" - paid commands use local Webcash wallet balance automatically