{"what":"Prepaid credits: pay once with x402 or MPP, then spend call by call with a token, no signature per call. 1 credit = $1 (USDC), credited in integer micro-USD. Credits never expire and pay for every paid route. Pay-per-call x402/MPP and the free call stay as they are.","packs":[{"id":"probe","name":"Probe","price_usd":"10.00","credits":10,"credits_usd":"10.00","bonus_pct":0,"value":"10 credits = 50 planetary-lines calls, or 40 event-calendar years, or 1000 planetary-position calls"},{"id":"backtest","name":"Survey","price_usd":"50.00","credits":60,"credits_usd":"60.00","bonus_pct":20,"value":"60 credits = 300 planetary-lines calls, or 240 event-calendar years, or 6000 planetary-position calls"},{"id":"quant","name":"Observatory","price_usd":"200.00","credits":260,"credits_usd":"260.00","bonus_pct":30,"value":"260 credits = 1300 planetary-lines calls, or 1040 event-calendar years, or 26000 planetary-position calls"},{"id":"autopilot","name":"Autopilot","price_usd":"1000.00","credits":1400,"credits_usd":"1400.00","bonus_pct":40,"value":"1400 credits = 7000 planetary-lines calls, or 5600 event-calendar years, or 140000 planetary-position calls"}],"buy":"POST https://astro-agent.dev/v1/credits/topup {\"pack\": \"probe\"} -> 402 with the x402 and MPP offers for the pack's price; pay and retry. The answer carries the token, shown once. Send the token in X-Credits-Token to top up the same balance again.","spend":"send 'X-Credits-Token: <token>' on any paid POST /v1/<route>; the route's price is deducted","balance":"GET https://astro-agent.dev/v1/credits/balance with X-Credits-Token","rotate":"POST https://astro-agent.dev/v1/credits/rotate with X-Credits-Token: returns a new token, the old one stops working","rules":["the bonus is applied by the server from the amount actually settled","each payment credits once","a balance never goes negative","the token is a bearer secret shown once and stored only as a hash; if it is lost, a new one can be issued to the owner of the paying wallet (aidatatools@proton.me)","credits do not reset or extend the free call","one account holds at most $10000"],"docs":"https://github.com/aidatatools-dev/astro-agents-clients/blob/main/docs/CREDITS.md"}