tomorrowlives-com Account API
Sign up, name the owner, buy a pass or a unit pack, read the meter and the notices.
Operations 16
POST
/api/agents/signup
Create an engine account, name its responsible owner, and get its API key…
#
POST
/api/agents/owner/cancel
The owner cancels a card plan from the link in a billing email, with no sign-in.
#
POST
/api/agents/subscribe
Buy a 30-day pass with a Stripe shared payment token, paid once and never…
#
POST
/api/agents/units
Buy one unit pack with a Stripe shared payment token: 500 units for $10.00…
#
GET
/api/agents/subscription
The account's plan: a pass (its window of included units, when access ends…
#
POST
/api/agents/subscription/cancel
Cancel a card plan at the end of the paid period, in one call.
#
GET
/api/agents/notices
Every notice sent to this account: charge_receipt (each pass, pack or card plan…
#
POST
/api/agents/notices/webhook
Register (or replace) an https webhook that receives each notice as a signed…
#
DELETE
/api/agents/notices/webhook
Remove the notice webhook. Notices stay listed at GET /api/agents/notices
#
GET
/api/agents/usage
Units used and left this period (a pass's 30-day window, a card plan's month…
#