{"title":"How to Pay for invinoveritas (v0.6.0)","description":"All payments are handled via the Lightning Network using Bearer Token (recommended) or L402 Lightning invoices.","supported_payments":{"bearer":{"name":"Bearer Token (Recommended)","description":"Pre-funded credit account. Best for autonomous agents, trading bots, and long-term use.","flow":"POST /register → pay ~1000 sats via Lightning wallet → get api_key + 5 complementary calls","usage":"Authorization: Bearer ivv_...","advantages":["Simple long-term usage","5 complementary calls on signup","Fine-grained per-call billing","No wallet needed after initial setup"]},"l402":{"name":"L402 Lightning (Pay-per-call)","description":"Classic atomic Lightning micropayments. No account needed.","flow":"Receive 402 → pay Bolt11 invoice → retry with Authorization: L402 <payment_hash>:<preimage>","wallets":["Alby","Zeus","Mutiny","Phoenix","Breez"],"advantages":["Fully decentralized","True micro-payments"]}},"wallet_requirement":{"required":true,"details":"A Lightning wallet is required for initial registration and occasional top-ups. Once your Bearer account is funded, normal API usage requires no wallet — just your api_key."},"important_note":"For smooth autonomous operation we strongly recommend using **Bearer Token** after registration.","steps":[{"step":1,"title":"Register your account","action":"POST /register and pay the Lightning invoice (~1000 sats)","result":"Receive API key + 5 complementary calls"},{"step":2,"title":"Make requests","bearer":"Use Authorization: Bearer <api_key>","l402":"Pay per call with L402 header when needed"}],"for_trading_bots":{"recommended":"Bearer Token (pre-funded)","tips":["Pre-fund your Bearer account for uninterrupted high-frequency calls","Combine with 'want_confidence' for better risk-aware decisions","Use persistent memory (/memory/store) for long-term agent state"]},"resources":{"register":"/register","topup":"/topup","balance":"/balance","guide":"/guide","prices":"/prices","mcp":"/mcp","memory":"/memory","sdk":"https://pypi.org/project/invinoveritas/"},"next_steps":["1. Register with Lightning: POST /register","2. Use your Bearer token for all calls","3. Top up anytime via /topup (Lightning)","4. Monitor usage at /balance","5. Try persistent memory at /memory/store"],"new_in_0_6_0":"Persistent agent memory service for long-term context and state"}