{"openapi":"3.1.0","info":{"title":"Hitlane API","version":"1.0.0","description":"Member-to-member traffic exchange. Points are seconds of viewing; Hitlane also sells them in its shop, and they are never cashed out. Every visit is labeled with utm_source=hitlane: visits come from a program, not people."},"servers":[{"url":"https://api.hitlane.xyz"}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"An API key: hl_live_... (read, or read and write on Plus and Pro)."},"session":{"type":"apiKey","in":"cookie","name":"__Host-hl_session"}},"schemas":{"CampaignInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"siteId":{"type":"string","minLength":1},"urls":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"durationS":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"countriesMode":{"default":"all","type":"string","enum":["all","only","except"]},"countries":{"default":[],"maxItems":250,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"dailyCap":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"totalCap":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"endAt":{"default":null,"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"busyHours":{"default":16777215,"type":"integer","minimum":0,"maximum":16777215},"delivery":{"default":"fast","type":"string","enum":["steady","fast"]},"repeatSpacingS":{"default":null,"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"hourlyMax":{"default":null,"anyOf":[{"minItems":24,"maxItems":24,"type":"array","items":{"type":"integer","minimum":-1,"maximum":100000}},{"type":"null"}]},"hourlyMin":{"default":null,"anyOf":[{"minItems":24,"maxItems":24,"type":"array","items":{"type":"integer","minimum":0,"maximum":100000}},{"type":"null"}]},"minSpeedMbps":{"default":0,"type":"integer","minimum":0,"maximum":1000},"minCpuScore":{"default":0,"type":"integer","minimum":0,"maximum":1000},"networkTypes":{"default":["home","business","vpn","datacenter"],"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["home","business","vpn","datacenter"]}},"viewerPlatforms":{"default":["windows","linux","docker"],"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","enum":["windows","linux","docker"]},"description":"The platform each viewer reports when its session opens: windows, linux or docker. A campaign accepts at least one, and a new campaign all three. Narrowing it is for Plus and Pro."},"blockIps":{"default":[],"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":18}},"blockAsns":{"default":[],"maxItems":500,"type":"array","items":{"type":"integer","minimum":1,"maximum":4294967295}},"blockMembers":{"default":[],"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"allowJavascript":{"default":true,"type":"boolean"},"allowImages":{"default":true,"type":"boolean"},"allowCookies":{"default":true,"type":"boolean"}},"required":["title","siteId","urls","durationS"]},"CampaignPatch":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"urls":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":4096}},"durationS":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"countriesMode":{"type":"string","enum":["all","only","except"]},"countries":{"maxItems":250,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"dailyCap":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"totalCap":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"endAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"busyHours":{"type":"integer","minimum":0,"maximum":16777215},"delivery":{"type":"string","enum":["steady","fast"]},"repeatSpacingS":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"hourlyMax":{"anyOf":[{"minItems":24,"maxItems":24,"type":"array","items":{"type":"integer","minimum":-1,"maximum":100000}},{"type":"null"}]},"hourlyMin":{"anyOf":[{"minItems":24,"maxItems":24,"type":"array","items":{"type":"integer","minimum":0,"maximum":100000}},{"type":"null"}]},"minSpeedMbps":{"type":"integer","minimum":0,"maximum":1000},"minCpuScore":{"type":"integer","minimum":0,"maximum":1000},"networkTypes":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["home","business","vpn","datacenter"]}},"viewerPlatforms":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","enum":["windows","linux","docker"]},"description":"The platform each viewer reports when its session opens: windows, linux or docker. A campaign accepts at least one, and a new campaign all three. Narrowing it is for Plus and Pro."},"blockIps":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":18}},"blockAsns":{"maxItems":500,"type":"array","items":{"type":"integer","minimum":1,"maximum":4294967295}},"blockMembers":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"allowJavascript":{"type":"boolean"},"allowImages":{"type":"boolean"},"allowCookies":{"type":"boolean"}}},"SiteInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"host":{"type":"string"}},"required":["host"]},"TransferInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"to":{"type":"string","minLength":1,"maxLength":64},"toUserId":{"type":"string","minLength":1,"maxLength":64},"amount":{"type":"integer","minimum":1,"maximum":9007199254740991},"message":{"type":"string","maxLength":140}},"required":["amount"]}}},"paths":{"/v1/account":{"get":{"summary":"Your account: plan, limits, balance, reserved and available points, and the dashboard language you chose (null until you choose).","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Your account: plan, limits, balance, reserved and available points, and the dashboard language you chose (null until you choose).","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}},"patch":{"summary":"Change your time zone, the dashboard's language, or both. Body: { timeZone?, language? }, at least one; timeZone is a time zone name such as America/New_York, and language is en or es. Busy hours, daily caps and the Overview follow the time zone.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Change your time zone, the dashboard's language, or both. Body: { timeZone?, language? }, at least one; timeZone is a time zone name such as America/New_York, and language is en or es. Busy hours, daily caps and the Overview follow the time zone.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/dashboard/summary":{"get":{"summary":"The Overview's cards: your points (available, balance, reserved), your funds in US cents and whether adding funds is open (the same answer as GET /v1/shop), campaigns running, slots in use and your slots, extra slots included, points earned and spent and visits received since your local midnight, and viewers online.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"The Overview's cards: your points (available, balance, reserved), your funds in US cents and whether adding funds is open (the same answer as GET /v1/shop), campaigns running, slots in use and your slots, extra slots included, points earned and spent and visits received since your local midnight, and viewers online.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/dashboard/visits":{"get":{"summary":"Visits to your campaigns and the points spent on them, per hour; houseVisits is the part from Hitlane's own viewers. Query: range=today|yesterday|7d in your time zone (default today), campaign (one campaign id; every campaign when left out).","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Visits to your campaigns and the points spent on them, per hour; houseVisits is the part from Hitlane's own viewers. Query: range=today|yesterday|7d in your time zone (default today), campaign (one campaign id; every campaign when left out).","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/dashboard/earnings":{"get":{"summary":"Points earned per hour, by viewing and from referrals. Query: range=today|yesterday|7d in your time zone (default today).","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Points earned per hour, by viewing and from referrals. Query: range=today|yesterday|7d in your time zone (default today).","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/dashboard/network":{"get":{"summary":"Visits across all of Hitlane per hour of your today, and every visit delivered since launch; houseVisits per hour and houseSinceLaunch are the parts from Hitlane's own viewers.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Visits across all of Hitlane per hour of your today, and every visit delivered since launch; houseVisits per hour and houseSinceLaunch are the parts from Hitlane's own viewers.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/dashboard/first-steps":{"get":{"summary":"The Overview's checklist for a new member: whether you have added a site, created a campaign, run a viewer and had a visit charged to one of your campaigns. Each turns true the first time and stays true.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"The Overview's checklist for a new member: whether you have added a site, created a campaign, run a viewer and had a visit charged to one of your campaigns. Each turns true the first time and stays true.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/campaigns":{"get":{"summary":"List campaigns, each with its display status and visits in the last 24 hours, plus slots in use. Query: view=active|archive, q (title, page address or id), status.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"List campaigns, each with its display status and visits in the last 24 hours, plus slots in use. Query: view=active|archive, q (title, page address or id), status.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}},"post":{"summary":"Create a campaign.","security":[{"bearer":[]},{"session":[]}],"responses":{"201":{"description":"Created","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignInput"}}}}}},"/v1/campaigns/{id}":{"get":{"summary":"One campaign.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"One campaign.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}},"patch":{"summary":"Change a campaign. Fields you leave out stay as they are.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Change a campaign. Fields you leave out stay as they are.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignPatch"}}}}},"delete":{"summary":"Archive a campaign. Its stats stay and its slot is freed.","security":[{"bearer":[]},{"session":[]}],"responses":{"204":{"description":"Archived"},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/campaigns/bulk":{"post":{"summary":"One action on up to 100 campaigns: run, pause, archive, restore, delete or reset_counts. Body: { action, ids }. Answers per campaign.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"One action on up to 100 campaigns: run, pause, archive, restore, delete or reset_counts. Body: { action, ids }. Answers per campaign.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/campaigns/{id}/archive":{"post":{"summary":"Archive a campaign and answer with it. Restore brings it back.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Archive a campaign and answer with it. Restore brings it back.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/campaigns/{id}/restore":{"post":{"summary":"Restore an archived campaign, if a slot is free. A running one comes back paused.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Restore an archived campaign, if a slot is free. A running one comes back paused.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/campaigns/{id}/delete":{"post":{"summary":"Delete a campaign for good. It leaves both lists; its visits and points history stay.","security":[{"bearer":[]},{"session":[]}],"responses":{"204":{"description":"Deleted"},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/campaigns/{id}/reset-counts":{"post":{"summary":"Restart the count the total cap uses. Total visits and stats are unchanged.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Restart the count the total cap uses. Total visits and stats are unchanged.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/campaigns/{id}/pause":{"post":{"summary":"Pause a campaign.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Pause a campaign.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/campaigns/{id}/resume":{"post":{"summary":"Resume a paused campaign.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Resume a paused campaign.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/campaigns/{id}/stats":{"get":{"summary":"Visits by UTC hour or day, optionally by country; houseVisits and houseSeconds are each row's part from Hitlane's own viewers. Query: from, to, group=hour|day, by=country. Hourly rows are kept for 30 days: group=hour from earlier answers 422 hourly_range_too_old, and group=day counts days before them as whole UTC days.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Visits by UTC hour or day, optionally by country; houseVisits and houseSeconds are each row's part from Hitlane's own viewers. Query: from, to, group=hour|day, by=country. Hourly rows are kept for 30 days: group=hour from earlier answers 422 hourly_range_too_old, and group=day counts days before them as whole UTC days.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/sites":{"get":{"summary":"List your sites with their check status.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"List your sites with their check status.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}},"post":{"summary":"Add any site. The automatic checks run at once; a site they refuse is not added.","security":[{"bearer":[]},{"session":[]}],"responses":{"201":{"description":"Created","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteInput"}}}}}},"/v1/sites/{id}/check":{"post":{"summary":"Run the automatic checks again on a site that hasn't passed them (once a minute).","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Run the automatic checks again on a site that hasn't passed them (once a minute).","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/sites/{id}":{"delete":{"summary":"Remove a site. Its campaigns are archived.","security":[{"bearer":[]},{"session":[]}],"responses":{"204":{"description":"Removed"},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/viewers":{"get":{"summary":"Your live viewer sessions, with partial addresses, each one's platform (windows, linux, docker or other) and mode (desktop or server; null from a viewer that doesn't say).","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Your live viewer sessions, with partial addresses, each one's platform (windows, linux, docker or other) and mode (desktop or server; null from a viewer that doesn't say).","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/ledger":{"get":{"summary":"Your points history, newest first by the end of each row. Query: cursor, limit. Viewing earnings and visit charges come in 15-minute rows (refType bucket), and after 8 days in one row a day (refType day); entries counts the visits in a row, and periodEnd is when its period ends (null for a single movement).","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Your points history, newest first by the end of each row. Query: cursor, limit. Viewing earnings and visit charges come in 15-minute rows (refType bucket), and after 8 days in one row a day (refType day); entries counts the visits in a row, and periodEnd is when its period ends (null for a single movement).","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/ledger/today":{"get":{"summary":"Points earned by viewing and spent on visits since your local midnight.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Points earned by viewing and spent on visits since your local midnight.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/statistics/campaigns":{"get":{"summary":"Per campaign and UTC day, newest first: visits, points spent and countries; houseVisits is the part from Hitlane's own viewers. Only days with visits are listed. Query: days=7|30|90 (default 7; today is the last day).","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Per campaign and UTC day, newest first: visits, points spent and countries; houseVisits is the part from Hitlane's own viewers. Only days with visits are listed. Query: days=7|30|90 (default 7; today is the last day).","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/statistics/earnings":{"get":{"summary":"Per UTC day, newest first: points from viewing and referrals, transfers in, transfers out with their fee, and points bought. Query: days=7|30|90 (default 7; today is the last day).","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Per UTC day, newest first: points from viewing and referrals, transfers in, transfers out with their fee, and points bought. Query: days=7|30|90 (default 7; today is the last day).","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/notifications":{"get":{"summary":"Your newest 30 notifications, newest first, each with its kind, its details, when it arrived and when you read it, and how many are unread. Notifications are kept 90 days and never emailed.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Your newest 30 notifications, newest first, each with its kind, its details, when it arrived and when you read it, and how many are unread. Notifications are kept 90 days and never emailed.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/transfers":{"get":{"summary":"Your transfers, sent and received, newest first: the other member, amount, fee, net, message. Query: cursor, limit.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Your transfers, sent and received, newest first: the other member, amount, fee, net, message. Query: cursor, limit.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}},"post":{"summary":"Send points to another member, by username or member id (Plus and Pro; accounts 30+ days old; 1,000 to 250,000 a day). A 10% fee leaves circulation; the recipient gets the rest. An optional message, up to 140 characters.","security":[{"bearer":[]},{"session":[]}],"responses":{"201":{"description":"Sent","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferInput"}}}}}},"/v1/shop":{"get":{"summary":"Your funds in US cents, the most they can hold ($2,000, checkouts still open counted: fundsLimitCents, reservedCents, roomCents), whether adding funds is open, whether the shop is paused, and your campaign slots (plan, extra, in use).","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Your funds in US cents, the most they can hold ($2,000, checkouts still open counted: fundsLimitCents, reservedCents, roomCents), whether adding funds is open, whether the shop is paused, and your campaign slots (plan, extra, in use).","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/shop/history":{"get":{"summary":"Your funds history, newest first: top-ups and what each purchase bought. Query: cursor, limit.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Your funds history, newest first: top-ups and what each purchase bought. Query: cursor, limit.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/shop/payments":{"get":{"summary":"Your top-ups, newest first, each with its state (pending, confirming, paid, expired, failed, cancelled, held or refunded) and the checkout's address while it can still be paid. Query: cursor, limit.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"Your top-ups, newest first, each with its state (pending, confirming, paid, expired, failed, cancelled, held or refunded) and the checkout's address while it can still be paid. Query: cursor, limit.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/shop/payments/{id}":{"get":{"summary":"One of your top-ups and its state.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"The top-up","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/billing":{"get":{"summary":"How paid plans are bought right now.","security":[{"bearer":[]},{"session":[]}],"responses":{"200":{"description":"How paid plans are bought right now.","content":{"application/json":{}}},"4XX":{"description":"Error: {\"error\":{\"code\",\"message\"}}"}}}},"/v1/status":{"get":{"summary":"Whether Hitlane is down for maintenance (and until when), and whether sign-ups, the shop and visits are open. No key needed. While maintenance is on, member and viewer calls answer 503 with the code maintenance and a Retry-After header. The health checks, this call, sign-in, GET /v1/account, the API description, the visit check tag and the payment webhook stay open.","security":[],"responses":{"200":{"description":"The four states: { maintenance: { on, until }, signupsOpen, shopOpen, visitsPaused }","content":{"application/json":{}}}}}}}}