[{"data":1,"prerenderedAt":2124},["ShallowReactive",2],{"navigation":3,"\u002Fbooki-documentation\u002Fapi\u002Fadmin-billing":303,"\u002Fbooki-documentation\u002Fapi\u002Fadmin-billing-surround":2119},[4,55,105],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":54},"Nuxt Guide","i-lucide-layout","\u002Fnuxt-guide","1.nuxt-guide",[10,14,19,24,29,34,39,44,49],{"title":11,"path":12,"stem":13,"icon":6},"Overview","\u002Fnuxt-guide\u002Foverview","1.nuxt-guide\u002F1.overview",{"title":15,"path":16,"stem":17,"icon":18},"Folder Structure","\u002Fnuxt-guide\u002Ffolder-structure","1.nuxt-guide\u002F2.folder-structure","i-lucide-folder-tree",{"title":20,"path":21,"stem":22,"icon":23},"Components","\u002Fnuxt-guide\u002Fcomponents","1.nuxt-guide\u002F3.components","i-lucide-component",{"title":25,"path":26,"stem":27,"icon":28},"Composables","\u002Fnuxt-guide\u002Fcomposables","1.nuxt-guide\u002F4.composables","i-lucide-puzzle",{"title":30,"path":31,"stem":32,"icon":33},"Pages & Routing","\u002Fnuxt-guide\u002Fpages-routing","1.nuxt-guide\u002F5.pages-routing","i-lucide-file-text",{"title":35,"path":36,"stem":37,"icon":38},"Middleware","\u002Fnuxt-guide\u002Fmiddleware","1.nuxt-guide\u002F6.middleware","i-lucide-shield-check",{"title":40,"path":41,"stem":42,"icon":43},"Plugins","\u002Fnuxt-guide\u002Fplugins","1.nuxt-guide\u002F7.plugins","i-lucide-plug",{"title":45,"path":46,"stem":47,"icon":48},"State Management","\u002Fnuxt-guide\u002Fstate-management","1.nuxt-guide\u002F8.state-management","i-lucide-database",{"title":50,"path":51,"stem":52,"icon":53},"TypeScript","\u002Fnuxt-guide\u002Ftypescript","1.nuxt-guide\u002F9.typescript","i-lucide-braces",false,{"title":56,"icon":57,"path":58,"stem":59,"children":60,"page":54},"Node \u002F Express Guide","i-lucide-server","\u002Fnode-express-guide","2.node-express-guide",[61,64,69,72,77,82,86,91,96,100],{"title":11,"path":62,"stem":63,"icon":57},"\u002Fnode-express-guide\u002Foverview","2.node-express-guide\u002F1.overview",{"title":65,"path":66,"stem":67,"icon":68},"Error Handling","\u002Fnode-express-guide\u002Ferror-handling","2.node-express-guide\u002F10.error-handling","i-lucide-alert-triangle",{"title":15,"path":70,"stem":71,"icon":18},"\u002Fnode-express-guide\u002Ffolder-structure","2.node-express-guide\u002F2.folder-structure",{"title":73,"path":74,"stem":75,"icon":76},"Controllers","\u002Fnode-express-guide\u002Fcontrollers","2.node-express-guide\u002F3.controllers","i-lucide-cpu",{"title":78,"path":79,"stem":80,"icon":81},"Services","\u002Fnode-express-guide\u002Fservices","2.node-express-guide\u002F4.services","i-lucide-workflow",{"title":83,"path":84,"stem":85,"icon":48},"Repositories","\u002Fnode-express-guide\u002Frepositories","2.node-express-guide\u002F5.repositories",{"title":87,"path":88,"stem":89,"icon":90},"Models","\u002Fnode-express-guide\u002Fmodels","2.node-express-guide\u002F6.models","i-lucide-boxes",{"title":92,"path":93,"stem":94,"icon":95},"Routes","\u002Fnode-express-guide\u002Froutes","2.node-express-guide\u002F7.routes","i-lucide-route",{"title":35,"path":97,"stem":98,"icon":99},"\u002Fnode-express-guide\u002Fmiddleware","2.node-express-guide\u002F8.middleware","i-lucide-shield",{"title":101,"path":102,"stem":103,"icon":104},"Validation","\u002Fnode-express-guide\u002Fvalidation","2.node-express-guide\u002F9.validation","i-lucide-check-circle",{"title":106,"icon":107,"path":108,"stem":109,"children":110,"page":54},"Booki Documentation","i-lucide-book-open","\u002Fbooki-documentation","3.booki-documentation",[111,115,120,125,130,229,244,257],{"title":112,"path":113,"stem":114,"icon":107},"Project Overview","\u002Fbooki-documentation\u002Foverview","3.booki-documentation\u002F1.overview",{"title":116,"path":117,"stem":118,"icon":119},"Installation","\u002Fbooki-documentation\u002F1.installation","3.booki-documentation\u002F2.1.installation","i-lucide-download",{"title":121,"path":122,"stem":123,"icon":124},"Development Overview","\u002Fbooki-documentation\u002F2.architecture","3.booki-documentation\u002F2.2.architecture","i-lucide-layers",{"title":126,"path":127,"stem":128,"icon":129},"Local Development","\u002Fbooki-documentation\u002F3.local-development","3.booki-documentation\u002F2.3.local-development","i-lucide-monitor",{"title":131,"icon":57,"path":132,"stem":133,"children":134,"page":54},"API","\u002Fbooki-documentation\u002Fapi","3.booki-documentation\u002F3.api",[135,139,144,149,154,159,163,168,173,178,183,188,192,197,202,206,211,216,220,224],{"title":136,"path":137,"stem":138,"icon":57},"Booki API Reference","\u002Fbooki-documentation\u002Fapi\u002Fbooki-api","3.booki-documentation\u002F3.api\u002F1.booki-api",{"title":140,"path":141,"stem":142,"icon":143},"Auth - Login & Refresh","\u002Fbooki-documentation\u002Fapi\u002Fauth","3.booki-documentation\u002F3.api\u002F2.auth","i-lucide-key",{"title":145,"path":146,"stem":147,"icon":148},"Auth - Customer Registration","\u002Fbooki-documentation\u002Fapi\u002Fauth-customer-register","3.booki-documentation\u002F3.api\u002F2.auth-customer-register","i-lucide-user-check",{"title":150,"path":151,"stem":152,"icon":153},"Auth - Owner Registration","\u002Fbooki-documentation\u002Fapi\u002Fauth-owner-register","3.booki-documentation\u002F3.api\u002F2.auth-owner-register","i-lucide-user-plus",{"title":155,"path":156,"stem":157,"icon":158},"Bookings","\u002Fbooki-documentation\u002Fapi\u002Fbookings","3.booki-documentation\u002F3.api\u002F3.bookings","i-lucide-calendar-check",{"title":160,"path":161,"stem":162,"icon":158},"Bookings - Authenticated","\u002Fbooki-documentation\u002Fapi\u002Fbookings-auth","3.booki-documentation\u002F3.api\u002F3.bookings-auth",{"title":164,"path":165,"stem":166,"icon":167},"Bookings - Public & Guest","\u002Fbooki-documentation\u002Fapi\u002Fbookings-public","3.booki-documentation\u002F3.api\u002F3.bookings-public","i-lucide-calendar-plus",{"title":169,"path":170,"stem":171,"icon":172},"Booking Services","\u002Fbooki-documentation\u002Fapi\u002Fbooking-services","3.booki-documentation\u002F3.api\u002F4.booking-services","i-lucide-box",{"title":174,"path":175,"stem":176,"icon":177},"Organizations - Branches","\u002Fbooki-documentation\u002Fapi\u002Fbranches","3.booki-documentation\u002F3.api\u002F5.branches","i-lucide-git-branch",{"title":179,"path":180,"stem":181,"icon":182},"Organizations - Business Hours","\u002Fbooki-documentation\u002Fapi\u002Fbusiness-hours","3.booki-documentation\u002F3.api\u002F5.business-hours","i-lucide-clock",{"title":184,"path":185,"stem":186,"icon":187},"Organizations - Base","\u002Fbooki-documentation\u002Fapi\u002Forganizations","3.booki-documentation\u002F3.api\u002F5.organizations","i-lucide-building-2",{"title":189,"path":190,"stem":191,"icon":172},"Organizations - Packages","\u002Fbooki-documentation\u002Fapi\u002Fpackages","3.booki-documentation\u002F3.api\u002F5.packages",{"title":193,"path":194,"stem":195,"icon":196},"Organizations - Payments & Integrations","\u002Fbooki-documentation\u002Fapi\u002Fpayments","3.booki-documentation\u002F3.api\u002F5.payments","i-lucide-credit-card",{"title":198,"path":199,"stem":200,"icon":201},"Users - Profile & Settings","\u002Fbooki-documentation\u002Fapi\u002Fusers","3.booki-documentation\u002F3.api\u002F6.users","i-lucide-user",{"title":203,"path":204,"stem":205,"icon":196},"Maya Payments","\u002Fbooki-documentation\u002Fapi\u002Fmaya","3.booki-documentation\u002F3.api\u002F7.maya",{"title":207,"path":208,"stem":209,"icon":210},"Owner - Booking Management","\u002Fbooki-documentation\u002Fapi\u002Fowner-bookings","3.booki-documentation\u002F3.api\u002F7.owner-bookings","i-lucide-calendar",{"title":212,"path":213,"stem":214,"icon":215},"Owner - Customer Management","\u002Fbooki-documentation\u002Fapi\u002Fowner-customers","3.booki-documentation\u002F3.api\u002F7.owner-customers","i-lucide-users",{"title":217,"path":218,"stem":219,"icon":196},"Admin - Billing & Subscriptions","\u002Fbooki-documentation\u002Fapi\u002Fadmin-billing","3.booki-documentation\u002F3.api\u002F8.admin-billing",{"title":221,"path":222,"stem":223,"icon":187},"Admin - Organizations Management","\u002Fbooki-documentation\u002Fapi\u002Fadmin-organizations","3.booki-documentation\u002F3.api\u002F8.admin-organizations",{"title":225,"path":226,"stem":227,"icon":228},"Admin - User Management","\u002Fbooki-documentation\u002Fapi\u002Fadmin-users","3.booki-documentation\u002F3.api\u002F8.admin-users","i-lucide-shield-admin",{"title":230,"icon":231,"path":232,"stem":233,"children":234,"page":54},"Shared","i-lucide-package","\u002Fbooki-documentation\u002Fshared","3.booki-documentation\u002F4.shared",[235,240],{"title":236,"path":237,"stem":238,"icon":239},"codi-node-utils","\u002Fbooki-documentation\u002Fshared\u002Fcodi-node-utils","3.booki-documentation\u002F4.shared\u002F1.codi-node-utils","i-lucide-wrench",{"title":241,"path":242,"stem":243,"icon":124},"codi-layer","\u002Fbooki-documentation\u002Fshared\u002Fcodi-layer","3.booki-documentation\u002F4.shared\u002F2.codi-layer",{"title":245,"path":246,"stem":247,"children":248,"page":54},"Flowcharts","\u002Fbooki-documentation\u002Fflowcharts","3.booki-documentation\u002F5.flowcharts",[249,253],{"title":250,"path":251,"stem":252,"icon":158},"Owner Booking Management Flow","\u002Fbooki-documentation\u002Fflowcharts\u002Fowner-booking-management","3.booki-documentation\u002F5.flowcharts\u002F1.owner-booking-management",{"title":254,"path":255,"stem":256,"icon":167},"Customer Booking Flow","\u002Fbooki-documentation\u002Fflowcharts\u002Fcustomer-booking-flow","3.booki-documentation\u002F5.flowcharts\u002F2.customer-booking-flow",{"title":258,"path":259,"stem":260,"children":261,"page":54},"Guides","\u002Fbooki-documentation\u002Fguides","3.booki-documentation\u002Fguides",[262,267,271,275,280,285,290,294,298],{"title":263,"path":264,"stem":265,"icon":266},"Guide - Authentication Flow & Sessions","\u002Fbooki-documentation\u002Fguides\u002Fguides-auth-flow","3.booki-documentation\u002Fguides\u002Fguides-auth-flow","i-lucide-lock",{"title":268,"path":269,"stem":270,"icon":177},"Guide - Branch Management","\u002Fbooki-documentation\u002Fguides\u002Fguides-branch-management","3.booki-documentation\u002Fguides\u002Fguides-branch-management",{"title":272,"path":273,"stem":274,"icon":196},"Guide - Customer Payment Methods","\u002Fbooki-documentation\u002Fguides\u002Fguides-customer-payments","3.booki-documentation\u002Fguides\u002Fguides-customer-payments",{"title":276,"path":277,"stem":278,"icon":279},"Guide - Environment Setup","\u002Fbooki-documentation\u002Fguides\u002Fguides-environment-setup","3.booki-documentation\u002Fguides\u002Fguides-environment-setup","i-lucide-settings",{"title":281,"path":282,"stem":283,"icon":284},"Guide - Common Error Responses","\u002Fbooki-documentation\u002Fguides\u002Fguides-errors","3.booki-documentation\u002Fguides\u002Fguides-errors","i-lucide-alert-circle",{"title":286,"path":287,"stem":288,"icon":289},"Guide - Gmail SMTP Setup","\u002Fbooki-documentation\u002Fguides\u002Fguides-gmail-setup","3.booki-documentation\u002Fguides\u002Fguides-gmail-setup","i-lucide-mail",{"title":291,"path":292,"stem":293,"icon":124},"Guide - Multi-Tenancy & Tenant Slug Resolution","\u002Fbooki-documentation\u002Fguides\u002Fguides-multi-tenancy","3.booki-documentation\u002Fguides\u002Fguides-multi-tenancy",{"title":295,"path":296,"stem":297,"icon":48},"Guide - Redis Caching","\u002Fbooki-documentation\u002Fguides\u002Fguides-redis","3.booki-documentation\u002Fguides\u002Fguides-redis",{"title":299,"path":300,"stem":301,"icon":302},"Guide - Subscription Billing","\u002Fbooki-documentation\u002Fguides\u002Fguides-subscription-billing","3.booki-documentation\u002Fguides\u002Fguides-subscription-billing","i-lucide-receipt",{"id":304,"title":217,"body":305,"description":2112,"extension":2113,"links":2114,"meta":2115,"navigation":2116,"path":218,"seo":2117,"stem":219,"__hash__":2118},"docs\u002F3.booki-documentation\u002F3.api\u002F8.admin-billing.md",{"type":306,"value":307,"toc":2059},"minimark",[308,316,340,343,356,359,368,396,401,411,415,587,591,631,633,640,663,666,669,745,751,754,965,968,1000,1002,1009,1032,1035,1041,1044,1052,1055,1213,1216,1244,1246,1253,1276,1279,1285,1288,1291,1294,1332,1334,1342,1365,1368,1374,1377,1428,1431,1460,1462,1469,1492,1495,1501,1504,1550,1553,1581,1583,1590,1613,1616,1618,1664,1670,1673,1828,1831,1863,1865,1872,1895,1898,1904,1906,1914,1917,1920,1923,1951,1953,1957,1960,2000,2003,2005,2009,2031,2033,2037,2055],[309,310,311,312],"p",{},"Base path: ",[313,314,315],"code",{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling",[309,317,318,322,323,326,327,322,330,333,336,339],{},[319,320,321],"strong",{},"Used by:"," ",[313,324,325],{},"admin-booki-web-app"," · ",[319,328,329],{},"Role:",[313,331,332],{},"admin",[334,335],"br",{},[319,337,338],{},"organizationId:"," Not applicable (admin sees all)",[309,341,342],{},"Admin billing endpoints provide access to revenue tracking, subscription management, invoicing, and financial reporting for organizations.",[344,345,346],"blockquote",{},[309,347,348,351,352,355],{},[319,349,350],{},"Note:"," The routes below reflect the actual implemented API routes. Endpoints listed here have been verified against ",[313,353,354],{},"booki-api\u002Fsrc\u002Froutes\u002F",".",[357,358],"hr",{},[360,361,363,364,367],"h2",{"id":362},"get-apiv1adminbillingstats-platform-billing-stats","GET ",[313,365,366],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fstats"," — Platform Billing Stats",[309,369,370,373,374,377,378,380,382,322,384,326,386,322,388,390,392,395],{},[319,371,372],{},"Auth:"," Protected (",[313,375,376],{},"Authorization: Bearer \u003CaccessToken>",") · ",[313,379,332],{},[334,381],{},[319,383,321],{},[313,385,325],{},[319,387,329],{},[313,389,332],{},[334,391],{},[319,393,394],{},"Description:"," Fetch overall platform billing statistics and financial overview.",[397,398,400],"h3",{"id":399},"request","Request",[402,403,408],"pre",{"className":404,"code":406,"language":407},[405],"language-text","GET \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fstats\n","text",[313,409,406],{"__ignoreMap":410},"",[397,412,414],{"id":413},"response-200-ok","Response (200 OK)",[402,416,420],{"className":417,"code":418,"language":419,"meta":410,"style":410},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"stats\": {\n    \"totalMRR\": 23975,\n    \"totalARR\": 287700,\n    \"activeSubscriptions\": 125,\n    \"totalRevenue\": 1250000,\n    \"paymentMethods\": {\n      \"maya\": 780000,\n      \"cash\": 470000\n    }\n  }\n}\n","json",[313,421,422,431,450,471,488,505,522,536,554,569,575,581],{"__ignoreMap":410},[423,424,427],"span",{"class":425,"line":426},"line",1,[423,428,430],{"class":429},"sMK4o","{\n",[423,432,434,437,441,444,447],{"class":425,"line":433},2,[423,435,436],{"class":429},"  \"",[423,438,440],{"class":439},"spNyl","stats",[423,442,443],{"class":429},"\"",[423,445,446],{"class":429},":",[423,448,449],{"class":429}," {\n",[423,451,453,456,460,462,464,468],{"class":425,"line":452},3,[423,454,455],{"class":429},"    \"",[423,457,459],{"class":458},"sBMFI","totalMRR",[423,461,443],{"class":429},[423,463,446],{"class":429},[423,465,467],{"class":466},"sbssI"," 23975",[423,469,470],{"class":429},",\n",[423,472,474,476,479,481,483,486],{"class":425,"line":473},4,[423,475,455],{"class":429},[423,477,478],{"class":458},"totalARR",[423,480,443],{"class":429},[423,482,446],{"class":429},[423,484,485],{"class":466}," 287700",[423,487,470],{"class":429},[423,489,491,493,496,498,500,503],{"class":425,"line":490},5,[423,492,455],{"class":429},[423,494,495],{"class":458},"activeSubscriptions",[423,497,443],{"class":429},[423,499,446],{"class":429},[423,501,502],{"class":466}," 125",[423,504,470],{"class":429},[423,506,508,510,513,515,517,520],{"class":425,"line":507},6,[423,509,455],{"class":429},[423,511,512],{"class":458},"totalRevenue",[423,514,443],{"class":429},[423,516,446],{"class":429},[423,518,519],{"class":466}," 1250000",[423,521,470],{"class":429},[423,523,525,527,530,532,534],{"class":425,"line":524},7,[423,526,455],{"class":429},[423,528,529],{"class":458},"paymentMethods",[423,531,443],{"class":429},[423,533,446],{"class":429},[423,535,449],{"class":429},[423,537,539,542,545,547,549,552],{"class":425,"line":538},8,[423,540,541],{"class":429},"      \"",[423,543,544],{"class":466},"maya",[423,546,443],{"class":429},[423,548,446],{"class":429},[423,550,551],{"class":466}," 780000",[423,553,470],{"class":429},[423,555,557,559,562,564,566],{"class":425,"line":556},9,[423,558,541],{"class":429},[423,560,561],{"class":466},"cash",[423,563,443],{"class":429},[423,565,446],{"class":429},[423,567,568],{"class":466}," 470000\n",[423,570,572],{"class":425,"line":571},10,[423,573,574],{"class":429},"    }\n",[423,576,578],{"class":425,"line":577},11,[423,579,580],{"class":429},"  }\n",[423,582,584],{"class":425,"line":583},12,[423,585,586],{"class":429},"}\n",[397,588,590],{"id":589},"curl-example","cURL Example",[402,592,596],{"className":593,"code":594,"language":595,"meta":410,"style":410},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -X GET http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fstats \\\n  -H \"Authorization: Bearer ADMIN_TOKEN\"\n","bash",[313,597,598,617],{"__ignoreMap":410},[423,599,600,603,607,610,613],{"class":425,"line":426},[423,601,602],{"class":458},"curl",[423,604,606],{"class":605},"sfazB"," -X",[423,608,609],{"class":605}," GET",[423,611,612],{"class":605}," http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fstats",[423,614,616],{"class":615},"sTEyZ"," \\\n",[423,618,619,622,625,628],{"class":425,"line":433},[423,620,621],{"class":605},"  -H",[423,623,624],{"class":429}," \"",[423,626,627],{"class":605},"Authorization: Bearer ADMIN_TOKEN",[423,629,630],{"class":429},"\"\n",[357,632],{},[360,634,363,636,639],{"id":635},"get-apiv1adminbillingsubscriptions-list-subscriptions",[313,637,638],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions"," — List Subscriptions",[309,641,642,373,644,377,646,648,650,322,652,326,654,322,656,658,660,662],{},[319,643,372],{},[313,645,376],{},[313,647,332],{},[334,649],{},[319,651,321],{},[313,653,325],{},[319,655,329],{},[313,657,332],{},[334,659],{},[319,661,394],{}," Fetch all active and past subscriptions across the platform.",[397,664,400],{"id":665},"request-1",[309,667,668],{},"Query Parameters (optional):",[670,671,672,679,685,691,710,721,731],"ul",{},[673,674,675,678],"li",{},[313,676,677],{},"page"," (number, default: 1)",[673,680,681,684],{},[313,682,683],{},"limit"," (number, default: 10, max: 100)",[673,686,687,690],{},[313,688,689],{},"search"," (string): Search term",[673,692,693,696,697,700,701,700,704,700,707],{},[313,694,695],{},"status"," (string): ",[313,698,699],{},"trial"," | ",[313,702,703],{},"active",[313,705,706],{},"suspended",[313,708,709],{},"cancelled",[673,711,712,696,715,700,718],{},[313,713,714],{},"interval",[313,716,717],{},"monthly",[313,719,720],{},"annually",[673,722,723,726,727,730],{},[313,724,725],{},"sort"," (string, default: ",[313,728,729],{},"_id",")",[673,732,733,726,736,739,740,700,743],{},[313,734,735],{},"order",[313,737,738],{},"desc","): ",[313,741,742],{},"asc",[313,744,738],{},[402,746,749],{"className":747,"code":748,"language":407},[405],"GET \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions?page=1&status=active\n",[313,750,748],{"__ignoreMap":410},[397,752,414],{"id":753},"response-200-ok-1",[402,755,757],{"className":417,"code":756,"language":419,"meta":410,"style":410},"{\n  \"items\": [\n    {\n      \"_id\": \"607f1f77bcf86cd799431234\",\n      \"organizationId\": \"507f191e810c19729de860ea\",\n      \"organizationName\": \"Booki Salon\",\n      \"status\": \"active\",\n      \"interval\": \"monthly\",\n      \"startDate\": \"2026-01-01T00:00:00Z\",\n      \"nextBillingDate\": \"2026-04-01T00:00:00Z\"\n    }\n  ],\n  \"pages\": 1,\n  \"pageRange\": \"1-1 of 1\"\n}\n",[313,758,759,763,777,782,801,821,841,859,877,897,915,919,924,941,960],{"__ignoreMap":410},[423,760,761],{"class":425,"line":426},[423,762,430],{"class":429},[423,764,765,767,770,772,774],{"class":425,"line":433},[423,766,436],{"class":429},[423,768,769],{"class":439},"items",[423,771,443],{"class":429},[423,773,446],{"class":429},[423,775,776],{"class":429}," [\n",[423,778,779],{"class":425,"line":452},[423,780,781],{"class":429},"    {\n",[423,783,784,786,788,790,792,794,797,799],{"class":425,"line":473},[423,785,541],{"class":429},[423,787,729],{"class":458},[423,789,443],{"class":429},[423,791,446],{"class":429},[423,793,624],{"class":429},[423,795,796],{"class":605},"607f1f77bcf86cd799431234",[423,798,443],{"class":429},[423,800,470],{"class":429},[423,802,803,805,808,810,812,814,817,819],{"class":425,"line":490},[423,804,541],{"class":429},[423,806,807],{"class":458},"organizationId",[423,809,443],{"class":429},[423,811,446],{"class":429},[423,813,624],{"class":429},[423,815,816],{"class":605},"507f191e810c19729de860ea",[423,818,443],{"class":429},[423,820,470],{"class":429},[423,822,823,825,828,830,832,834,837,839],{"class":425,"line":507},[423,824,541],{"class":429},[423,826,827],{"class":458},"organizationName",[423,829,443],{"class":429},[423,831,446],{"class":429},[423,833,624],{"class":429},[423,835,836],{"class":605},"Booki Salon",[423,838,443],{"class":429},[423,840,470],{"class":429},[423,842,843,845,847,849,851,853,855,857],{"class":425,"line":524},[423,844,541],{"class":429},[423,846,695],{"class":458},[423,848,443],{"class":429},[423,850,446],{"class":429},[423,852,624],{"class":429},[423,854,703],{"class":605},[423,856,443],{"class":429},[423,858,470],{"class":429},[423,860,861,863,865,867,869,871,873,875],{"class":425,"line":538},[423,862,541],{"class":429},[423,864,714],{"class":458},[423,866,443],{"class":429},[423,868,446],{"class":429},[423,870,624],{"class":429},[423,872,717],{"class":605},[423,874,443],{"class":429},[423,876,470],{"class":429},[423,878,879,881,884,886,888,890,893,895],{"class":425,"line":556},[423,880,541],{"class":429},[423,882,883],{"class":458},"startDate",[423,885,443],{"class":429},[423,887,446],{"class":429},[423,889,624],{"class":429},[423,891,892],{"class":605},"2026-01-01T00:00:00Z",[423,894,443],{"class":429},[423,896,470],{"class":429},[423,898,899,901,904,906,908,910,913],{"class":425,"line":571},[423,900,541],{"class":429},[423,902,903],{"class":458},"nextBillingDate",[423,905,443],{"class":429},[423,907,446],{"class":429},[423,909,624],{"class":429},[423,911,912],{"class":605},"2026-04-01T00:00:00Z",[423,914,630],{"class":429},[423,916,917],{"class":425,"line":577},[423,918,574],{"class":429},[423,920,921],{"class":425,"line":583},[423,922,923],{"class":429},"  ],\n",[423,925,927,929,932,934,936,939],{"class":425,"line":926},13,[423,928,436],{"class":429},[423,930,931],{"class":439},"pages",[423,933,443],{"class":429},[423,935,446],{"class":429},[423,937,938],{"class":466}," 1",[423,940,470],{"class":429},[423,942,944,946,949,951,953,955,958],{"class":425,"line":943},14,[423,945,436],{"class":429},[423,947,948],{"class":439},"pageRange",[423,950,443],{"class":429},[423,952,446],{"class":429},[423,954,624],{"class":429},[423,956,957],{"class":605},"1-1 of 1",[423,959,630],{"class":429},[423,961,963],{"class":425,"line":962},15,[423,964,586],{"class":429},[397,966,590],{"id":967},"curl-example-1",[402,969,971],{"className":593,"code":970,"language":595,"meta":410,"style":410},"curl -X GET \"http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions?status=active\" \\\n  -H \"Authorization: Bearer ADMIN_TOKEN\"\n",[313,972,973,990],{"__ignoreMap":410},[423,974,975,977,979,981,983,986,988],{"class":425,"line":426},[423,976,602],{"class":458},[423,978,606],{"class":605},[423,980,609],{"class":605},[423,982,624],{"class":429},[423,984,985],{"class":605},"http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions?status=active",[423,987,443],{"class":429},[423,989,616],{"class":615},[423,991,992,994,996,998],{"class":425,"line":433},[423,993,621],{"class":605},[423,995,624],{"class":429},[423,997,627],{"class":605},[423,999,630],{"class":429},[357,1001],{},[360,1003,363,1005,1008],{"id":1004},"get-apiv1adminbillingsubscriptionsuserid-get-subscription-details",[313,1006,1007],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F:userId"," — Get Subscription Details",[309,1010,1011,373,1013,377,1015,1017,1019,322,1021,326,1023,322,1025,1027,1029,1031],{},[319,1012,372],{},[313,1014,376],{},[313,1016,332],{},[334,1018],{},[319,1020,321],{},[313,1022,325],{},[319,1024,329],{},[313,1026,332],{},[334,1028],{},[319,1030,394],{}," Fetch subscription details and payment history for a specific user\u002Forganization owner.",[397,1033,400],{"id":1034},"request-2",[402,1036,1039],{"className":1037,"code":1038,"language":407},[405],"GET \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F507f1f77bcf86cd799439011\n",[313,1040,1038],{"__ignoreMap":410},[309,1042,1043],{},"Path Parameters:",[670,1045,1046],{},[673,1047,1048,1051],{},[313,1049,1050],{},"userId"," (string, required): Owner's user ID",[397,1053,414],{"id":1054},"response-200-ok-2",[402,1056,1058],{"className":417,"code":1057,"language":419,"meta":410,"style":410},"{\n  \"subscription\": {\n    \"_id\": \"607f1f77bcf86cd799431234\",\n    \"userId\": \"507f1f77bcf86cd799439011\",\n    \"organizationName\": \"Booki Salon\",\n    \"plan\": \"premium\",\n    \"status\": \"active\",\n    \"startDate\": \"2026-01-01T00:00:00Z\",\n    \"nextBillingDate\": \"2026-05-01T00:00:00Z\"\n  }\n}\n",[313,1059,1060,1064,1077,1095,1114,1132,1152,1170,1188,1205,1209],{"__ignoreMap":410},[423,1061,1062],{"class":425,"line":426},[423,1063,430],{"class":429},[423,1065,1066,1068,1071,1073,1075],{"class":425,"line":433},[423,1067,436],{"class":429},[423,1069,1070],{"class":439},"subscription",[423,1072,443],{"class":429},[423,1074,446],{"class":429},[423,1076,449],{"class":429},[423,1078,1079,1081,1083,1085,1087,1089,1091,1093],{"class":425,"line":452},[423,1080,455],{"class":429},[423,1082,729],{"class":458},[423,1084,443],{"class":429},[423,1086,446],{"class":429},[423,1088,624],{"class":429},[423,1090,796],{"class":605},[423,1092,443],{"class":429},[423,1094,470],{"class":429},[423,1096,1097,1099,1101,1103,1105,1107,1110,1112],{"class":425,"line":473},[423,1098,455],{"class":429},[423,1100,1050],{"class":458},[423,1102,443],{"class":429},[423,1104,446],{"class":429},[423,1106,624],{"class":429},[423,1108,1109],{"class":605},"507f1f77bcf86cd799439011",[423,1111,443],{"class":429},[423,1113,470],{"class":429},[423,1115,1116,1118,1120,1122,1124,1126,1128,1130],{"class":425,"line":490},[423,1117,455],{"class":429},[423,1119,827],{"class":458},[423,1121,443],{"class":429},[423,1123,446],{"class":429},[423,1125,624],{"class":429},[423,1127,836],{"class":605},[423,1129,443],{"class":429},[423,1131,470],{"class":429},[423,1133,1134,1136,1139,1141,1143,1145,1148,1150],{"class":425,"line":507},[423,1135,455],{"class":429},[423,1137,1138],{"class":458},"plan",[423,1140,443],{"class":429},[423,1142,446],{"class":429},[423,1144,624],{"class":429},[423,1146,1147],{"class":605},"premium",[423,1149,443],{"class":429},[423,1151,470],{"class":429},[423,1153,1154,1156,1158,1160,1162,1164,1166,1168],{"class":425,"line":524},[423,1155,455],{"class":429},[423,1157,695],{"class":458},[423,1159,443],{"class":429},[423,1161,446],{"class":429},[423,1163,624],{"class":429},[423,1165,703],{"class":605},[423,1167,443],{"class":429},[423,1169,470],{"class":429},[423,1171,1172,1174,1176,1178,1180,1182,1184,1186],{"class":425,"line":538},[423,1173,455],{"class":429},[423,1175,883],{"class":458},[423,1177,443],{"class":429},[423,1179,446],{"class":429},[423,1181,624],{"class":429},[423,1183,892],{"class":605},[423,1185,443],{"class":429},[423,1187,470],{"class":429},[423,1189,1190,1192,1194,1196,1198,1200,1203],{"class":425,"line":556},[423,1191,455],{"class":429},[423,1193,903],{"class":458},[423,1195,443],{"class":429},[423,1197,446],{"class":429},[423,1199,624],{"class":429},[423,1201,1202],{"class":605},"2026-05-01T00:00:00Z",[423,1204,630],{"class":429},[423,1206,1207],{"class":425,"line":571},[423,1208,580],{"class":429},[423,1210,1211],{"class":425,"line":577},[423,1212,586],{"class":429},[397,1214,590],{"id":1215},"curl-example-2",[402,1217,1219],{"className":593,"code":1218,"language":595,"meta":410,"style":410},"curl -X GET http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F507f1f77bcf86cd799439011 \\\n  -H \"Authorization: Bearer ADMIN_TOKEN\"\n",[313,1220,1221,1234],{"__ignoreMap":410},[423,1222,1223,1225,1227,1229,1232],{"class":425,"line":426},[423,1224,602],{"class":458},[423,1226,606],{"class":605},[423,1228,609],{"class":605},[423,1230,1231],{"class":605}," http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F507f1f77bcf86cd799439011",[423,1233,616],{"class":615},[423,1235,1236,1238,1240,1242],{"class":425,"line":433},[423,1237,621],{"class":605},[423,1239,624],{"class":429},[423,1241,627],{"class":605},[423,1243,630],{"class":429},[357,1245],{},[360,1247,363,1249,1252],{"id":1248},"get-apiv1adminbillingsubscriptionsuseridpdf-download-subscription-pdf",[313,1250,1251],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F:userId\u002Fpdf"," — Download Subscription PDF",[309,1254,1255,373,1257,377,1259,1261,1263,322,1265,326,1267,322,1269,1271,1273,1275],{},[319,1256,372],{},[313,1258,376],{},[313,1260,332],{},[334,1262],{},[319,1264,321],{},[313,1266,325],{},[319,1268,329],{},[313,1270,332],{},[334,1272],{},[319,1274,394],{}," Download subscription statement of account as PDF.",[397,1277,400],{"id":1278},"request-3",[402,1280,1283],{"className":1281,"code":1282,"language":407},[405],"GET \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F507f1f77bcf86cd799439011\u002Fpdf\n",[313,1284,1282],{"__ignoreMap":410},[397,1286,414],{"id":1287},"response-200-ok-3",[309,1289,1290],{},"Returns PDF file as binary data with attachment header.",[397,1292,590],{"id":1293},"curl-example-3",[402,1295,1297],{"className":593,"code":1296,"language":595,"meta":410,"style":410},"curl -X GET http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F507f1f77bcf86cd799439011\u002Fpdf \\\n  -H \"Authorization: Bearer ADMIN_TOKEN\" \\\n  --output subscription-soa.pdf\n",[313,1298,1299,1312,1324],{"__ignoreMap":410},[423,1300,1301,1303,1305,1307,1310],{"class":425,"line":426},[423,1302,602],{"class":458},[423,1304,606],{"class":605},[423,1306,609],{"class":605},[423,1308,1309],{"class":605}," http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F507f1f77bcf86cd799439011\u002Fpdf",[423,1311,616],{"class":615},[423,1313,1314,1316,1318,1320,1322],{"class":425,"line":433},[423,1315,621],{"class":605},[423,1317,624],{"class":429},[423,1319,627],{"class":605},[423,1321,443],{"class":429},[423,1323,616],{"class":615},[423,1325,1326,1329],{"class":425,"line":452},[423,1327,1328],{"class":605},"  --output",[423,1330,1331],{"class":605}," subscription-soa.pdf\n",[357,1333],{},[360,1335,1337,1338,1341],{"id":1336},"post-apiv1adminbillingsubscriptionsuseridsend-soa-send-statement-of-account","POST ",[313,1339,1340],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F:userId\u002Fsend-soa"," — Send Statement of Account",[309,1343,1344,373,1346,377,1348,1350,1352,322,1354,326,1356,322,1358,1360,1362,1364],{},[319,1345,372],{},[313,1347,376],{},[313,1349,332],{},[334,1351],{},[319,1353,321],{},[313,1355,325],{},[319,1357,329],{},[313,1359,332],{},[334,1361],{},[319,1363,394],{}," Email the statement of account PDF to the organization owner.",[397,1366,400],{"id":1367},"request-4",[402,1369,1372],{"className":1370,"code":1371,"language":407},[405],"POST \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F507f1f77bcf86cd799439011\u002Fsend-soa\n",[313,1373,1371],{"__ignoreMap":410},[397,1375,414],{"id":1376},"response-200-ok-4",[402,1378,1380],{"className":417,"code":1379,"language":419,"meta":410,"style":410},"{\n  \"message\": \"Statement of account sent successfully\",\n  \"sentTo\": \"owner@bookisalon.com\"\n}\n",[313,1381,1382,1386,1406,1424],{"__ignoreMap":410},[423,1383,1384],{"class":425,"line":426},[423,1385,430],{"class":429},[423,1387,1388,1390,1393,1395,1397,1399,1402,1404],{"class":425,"line":433},[423,1389,436],{"class":429},[423,1391,1392],{"class":439},"message",[423,1394,443],{"class":429},[423,1396,446],{"class":429},[423,1398,624],{"class":429},[423,1400,1401],{"class":605},"Statement of account sent successfully",[423,1403,443],{"class":429},[423,1405,470],{"class":429},[423,1407,1408,1410,1413,1415,1417,1419,1422],{"class":425,"line":452},[423,1409,436],{"class":429},[423,1411,1412],{"class":439},"sentTo",[423,1414,443],{"class":429},[423,1416,446],{"class":429},[423,1418,624],{"class":429},[423,1420,1421],{"class":605},"owner@bookisalon.com",[423,1423,630],{"class":429},[423,1425,1426],{"class":425,"line":473},[423,1427,586],{"class":429},[397,1429,590],{"id":1430},"curl-example-4",[402,1432,1434],{"className":593,"code":1433,"language":595,"meta":410,"style":410},"curl -X POST http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F507f1f77bcf86cd799439011\u002Fsend-soa \\\n  -H \"Authorization: Bearer ADMIN_TOKEN\"\n",[313,1435,1436,1450],{"__ignoreMap":410},[423,1437,1438,1440,1442,1445,1448],{"class":425,"line":426},[423,1439,602],{"class":458},[423,1441,606],{"class":605},[423,1443,1444],{"class":605}," POST",[423,1446,1447],{"class":605}," http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F507f1f77bcf86cd799439011\u002Fsend-soa",[423,1449,616],{"class":615},[423,1451,1452,1454,1456,1458],{"class":425,"line":433},[423,1453,621],{"class":605},[423,1455,624],{"class":429},[423,1457,627],{"class":605},[423,1459,630],{"class":429},[357,1461],{},[360,1463,1337,1465,1468],{"id":1464},"post-apiv1adminbillingtrigger-soa-blast-trigger-soa-blast",[313,1466,1467],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Ftrigger-soa-blast"," — Trigger SOA Blast",[309,1470,1471,373,1473,377,1475,1477,1479,322,1481,326,1483,322,1485,1487,1489,1491],{},[319,1472,372],{},[313,1474,376],{},[313,1476,332],{},[334,1478],{},[319,1480,321],{},[313,1482,325],{},[319,1484,329],{},[313,1486,332],{},[334,1488],{},[319,1490,394],{}," Trigger a bulk statement of account email send to all organization owners.",[397,1493,400],{"id":1494},"request-5",[402,1496,1499],{"className":1497,"code":1498,"language":407},[405],"POST \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Ftrigger-soa-blast\n",[313,1500,1498],{"__ignoreMap":410},[397,1502,414],{"id":1503},"response-200-ok-5",[402,1505,1507],{"className":417,"code":1506,"language":419,"meta":410,"style":410},"{\n  \"message\": \"SOA blast triggered successfully\",\n  \"recipientCount\": 125\n}\n",[313,1508,1509,1513,1532,1546],{"__ignoreMap":410},[423,1510,1511],{"class":425,"line":426},[423,1512,430],{"class":429},[423,1514,1515,1517,1519,1521,1523,1525,1528,1530],{"class":425,"line":433},[423,1516,436],{"class":429},[423,1518,1392],{"class":439},[423,1520,443],{"class":429},[423,1522,446],{"class":429},[423,1524,624],{"class":429},[423,1526,1527],{"class":605},"SOA blast triggered successfully",[423,1529,443],{"class":429},[423,1531,470],{"class":429},[423,1533,1534,1536,1539,1541,1543],{"class":425,"line":452},[423,1535,436],{"class":429},[423,1537,1538],{"class":439},"recipientCount",[423,1540,443],{"class":429},[423,1542,446],{"class":429},[423,1544,1545],{"class":466}," 125\n",[423,1547,1548],{"class":425,"line":473},[423,1549,586],{"class":429},[397,1551,590],{"id":1552},"curl-example-5",[402,1554,1556],{"className":593,"code":1555,"language":595,"meta":410,"style":410},"curl -X POST http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Ftrigger-soa-blast \\\n  -H \"Authorization: Bearer ADMIN_TOKEN\"\n",[313,1557,1558,1571],{"__ignoreMap":410},[423,1559,1560,1562,1564,1566,1569],{"class":425,"line":426},[423,1561,602],{"class":458},[423,1563,606],{"class":605},[423,1565,1444],{"class":605},[423,1567,1568],{"class":605}," http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Ftrigger-soa-blast",[423,1570,616],{"class":615},[423,1572,1573,1575,1577,1579],{"class":425,"line":433},[423,1574,621],{"class":605},[423,1576,624],{"class":429},[423,1578,627],{"class":605},[423,1580,630],{"class":429},[357,1582],{},[360,1584,363,1586,1589],{"id":1585},"get-apiv1adminbillinginvoices-list-invoices",[313,1587,1588],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Finvoices"," — List Invoices",[309,1591,1592,373,1594,377,1596,1598,1600,322,1602,326,1604,322,1606,1608,1610,1612],{},[319,1593,372],{},[313,1595,376],{},[313,1597,332],{},[334,1599],{},[319,1601,321],{},[313,1603,325],{},[319,1605,329],{},[313,1607,332],{},[334,1609],{},[319,1611,394],{}," Fetch all invoices\u002Fpayments across the platform with filtering options.",[397,1614,400],{"id":1615},"request-6",[309,1617,668],{},[670,1619,1620,1624,1628,1632,1648,1654],{},[673,1621,1622,678],{},[313,1623,677],{},[673,1625,1626,684],{},[313,1627,683],{},[673,1629,1630,690],{},[313,1631,689],{},[673,1633,1634,696,1636,700,1639,700,1642,700,1645],{},[313,1635,695],{},[313,1637,1638],{},"pending",[313,1640,1641],{},"paid",[313,1643,1644],{},"failed",[313,1646,1647],{},"refunded",[673,1649,1650,726,1652,730],{},[313,1651,725],{},[313,1653,729],{},[673,1655,1656,726,1658,739,1660,700,1662],{},[313,1657,735],{},[313,1659,738],{},[313,1661,742],{},[313,1663,738],{},[402,1665,1668],{"className":1666,"code":1667,"language":407},[405],"GET \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Finvoices?page=1&status=paid\n",[313,1669,1667],{"__ignoreMap":410},[397,1671,414],{"id":1672},"response-200-ok-6",[402,1674,1676],{"className":417,"code":1675,"language":419,"meta":410,"style":410},"{\n  \"items\": [\n    {\n      \"_id\": \"507f191e810c19729de860ea\",\n      \"organizationId\": \"507f191e810c19729de860ea\",\n      \"amount\": 1999,\n      \"status\": \"paid\",\n      \"paidAt\": \"2026-03-10T14:30:00Z\"\n    }\n  ],\n  \"pages\": 1,\n  \"pageRange\": \"1-1 of 1\"\n}\n",[313,1677,1678,1682,1694,1698,1716,1734,1750,1768,1786,1790,1794,1808,1824],{"__ignoreMap":410},[423,1679,1680],{"class":425,"line":426},[423,1681,430],{"class":429},[423,1683,1684,1686,1688,1690,1692],{"class":425,"line":433},[423,1685,436],{"class":429},[423,1687,769],{"class":439},[423,1689,443],{"class":429},[423,1691,446],{"class":429},[423,1693,776],{"class":429},[423,1695,1696],{"class":425,"line":452},[423,1697,781],{"class":429},[423,1699,1700,1702,1704,1706,1708,1710,1712,1714],{"class":425,"line":473},[423,1701,541],{"class":429},[423,1703,729],{"class":458},[423,1705,443],{"class":429},[423,1707,446],{"class":429},[423,1709,624],{"class":429},[423,1711,816],{"class":605},[423,1713,443],{"class":429},[423,1715,470],{"class":429},[423,1717,1718,1720,1722,1724,1726,1728,1730,1732],{"class":425,"line":490},[423,1719,541],{"class":429},[423,1721,807],{"class":458},[423,1723,443],{"class":429},[423,1725,446],{"class":429},[423,1727,624],{"class":429},[423,1729,816],{"class":605},[423,1731,443],{"class":429},[423,1733,470],{"class":429},[423,1735,1736,1738,1741,1743,1745,1748],{"class":425,"line":507},[423,1737,541],{"class":429},[423,1739,1740],{"class":458},"amount",[423,1742,443],{"class":429},[423,1744,446],{"class":429},[423,1746,1747],{"class":466}," 1999",[423,1749,470],{"class":429},[423,1751,1752,1754,1756,1758,1760,1762,1764,1766],{"class":425,"line":524},[423,1753,541],{"class":429},[423,1755,695],{"class":458},[423,1757,443],{"class":429},[423,1759,446],{"class":429},[423,1761,624],{"class":429},[423,1763,1641],{"class":605},[423,1765,443],{"class":429},[423,1767,470],{"class":429},[423,1769,1770,1772,1775,1777,1779,1781,1784],{"class":425,"line":538},[423,1771,541],{"class":429},[423,1773,1774],{"class":458},"paidAt",[423,1776,443],{"class":429},[423,1778,446],{"class":429},[423,1780,624],{"class":429},[423,1782,1783],{"class":605},"2026-03-10T14:30:00Z",[423,1785,630],{"class":429},[423,1787,1788],{"class":425,"line":556},[423,1789,574],{"class":429},[423,1791,1792],{"class":425,"line":571},[423,1793,923],{"class":429},[423,1795,1796,1798,1800,1802,1804,1806],{"class":425,"line":577},[423,1797,436],{"class":429},[423,1799,931],{"class":439},[423,1801,443],{"class":429},[423,1803,446],{"class":429},[423,1805,938],{"class":466},[423,1807,470],{"class":429},[423,1809,1810,1812,1814,1816,1818,1820,1822],{"class":425,"line":583},[423,1811,436],{"class":429},[423,1813,948],{"class":439},[423,1815,443],{"class":429},[423,1817,446],{"class":429},[423,1819,624],{"class":429},[423,1821,957],{"class":605},[423,1823,630],{"class":429},[423,1825,1826],{"class":425,"line":926},[423,1827,586],{"class":429},[397,1829,590],{"id":1830},"curl-example-6",[402,1832,1834],{"className":593,"code":1833,"language":595,"meta":410,"style":410},"curl -X GET \"http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Finvoices?status=paid\" \\\n  -H \"Authorization: Bearer ADMIN_TOKEN\"\n",[313,1835,1836,1853],{"__ignoreMap":410},[423,1837,1838,1840,1842,1844,1846,1849,1851],{"class":425,"line":426},[423,1839,602],{"class":458},[423,1841,606],{"class":605},[423,1843,609],{"class":605},[423,1845,624],{"class":429},[423,1847,1848],{"class":605},"http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Finvoices?status=paid",[423,1850,443],{"class":429},[423,1852,616],{"class":615},[423,1854,1855,1857,1859,1861],{"class":425,"line":433},[423,1856,621],{"class":605},[423,1858,624],{"class":429},[423,1860,627],{"class":605},[423,1862,630],{"class":429},[357,1864],{},[360,1866,363,1868,1871],{"id":1867},"get-apiv1adminbillinginvoicespaymentid-get-invoice-by-payment-id",[313,1869,1870],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Finvoices\u002F:paymentId"," — Get Invoice by Payment ID",[309,1873,1874,373,1876,377,1878,1880,1882,322,1884,326,1886,322,1888,1890,1892,1894],{},[319,1875,372],{},[313,1877,376],{},[313,1879,332],{},[334,1881],{},[319,1883,321],{},[313,1885,325],{},[319,1887,329],{},[313,1889,332],{},[334,1891],{},[319,1893,394],{}," Fetch a specific invoice\u002Fpayment record by its payment ID.",[397,1896,400],{"id":1897},"request-7",[402,1899,1902],{"className":1900,"code":1901,"language":407},[405],"GET \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Finvoices\u002F507f191e810c19729de860ea\n",[313,1903,1901],{"__ignoreMap":410},[309,1905,1043],{},[670,1907,1908],{},[673,1909,1910,1913],{},[313,1911,1912],{},"paymentId"," (string, required): Payment ID",[397,1915,414],{"id":1916},"response-200-ok-7",[309,1918,1919],{},"Returns invoice\u002Fpayment object (same structure as list item).",[397,1921,590],{"id":1922},"curl-example-7",[402,1924,1926],{"className":593,"code":1925,"language":595,"meta":410,"style":410},"curl -X GET http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Finvoices\u002F507f191e810c19729de860ea \\\n  -H \"Authorization: Bearer ADMIN_TOKEN\"\n",[313,1927,1928,1941],{"__ignoreMap":410},[423,1929,1930,1932,1934,1936,1939],{"class":425,"line":426},[423,1931,602],{"class":458},[423,1933,606],{"class":605},[423,1935,609],{"class":605},[423,1937,1938],{"class":605}," http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Finvoices\u002F507f191e810c19729de860ea",[423,1940,616],{"class":615},[423,1942,1943,1945,1947,1949],{"class":425,"line":433},[423,1944,621],{"class":605},[423,1946,624],{"class":429},[423,1948,627],{"class":605},[423,1950,630],{"class":429},[357,1952],{},[360,1954,1956],{"id":1955},"billing-plans","Billing Plans",[309,1958,1959],{},"Plans are dynamic and admin-configurable via the billing settings. Two plan identifiers are used in code:",[1961,1962,1963,1976],"table",{},[1964,1965,1966],"thead",{},[1967,1968,1969,1973],"tr",{},[1970,1971,1972],"th",{},"Plan",[1970,1974,1975],{},"Description",[1977,1978,1979,1990],"tbody",{},[1967,1980,1981,1987],{},[1982,1983,1984],"td",{},[313,1985,1986],{},"free",[1982,1988,1989],{},"Default — no active subscription payment recorded",[1967,1991,1992,1997],{},[1982,1993,1994],{},[313,1995,1996],{},"pro",[1982,1998,1999],{},"Active — at least one successful subscription payment exists",[309,2001,2002],{},"Pricing (base price per branch) and trial period are set by the admin in billing settings, not hardcoded.",[357,2004],{},[360,2006,2008],{"id":2007},"invoice-status-reference","Invoice Status Reference",[670,2010,2011,2016,2021,2026],{},[673,2012,2013,2015],{},[313,2014,1638],{},": Awaiting payment",[673,2017,2018,2020],{},[313,2019,1641],{},": Payment received and confirmed",[673,2022,2023,2025],{},[313,2024,1644],{},": Payment attempt failed",[673,2027,2028,2030],{},[313,2029,1647],{},": Payment refunded",[357,2032],{},[360,2034,2036],{"id":2035},"notes","Notes",[670,2038,2039,2045,2052],{},[673,2040,2041,2042,2044],{},"All billing endpoints require ",[313,2043,332],{}," role.",[673,2046,2047,2048,2051],{},"Invoices are generated from ",[313,2049,2050],{},"SubscriptionPayment"," records created via the Maya webhook.",[673,2053,2054],{},"All amounts in Philippine Pesos (PHP).",[2056,2057,2058],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":410,"searchDepth":426,"depth":433,"links":2060},[2061,2067,2073,2079,2085,2091,2097,2103,2109,2110,2111],{"id":362,"depth":433,"text":2062,"children":2063},"GET \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fstats — Platform Billing Stats",[2064,2065,2066],{"id":399,"depth":452,"text":400},{"id":413,"depth":452,"text":414},{"id":589,"depth":452,"text":590},{"id":635,"depth":433,"text":2068,"children":2069},"GET \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions — List Subscriptions",[2070,2071,2072],{"id":665,"depth":452,"text":400},{"id":753,"depth":452,"text":414},{"id":967,"depth":452,"text":590},{"id":1004,"depth":433,"text":2074,"children":2075},"GET \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F:userId — Get Subscription Details",[2076,2077,2078],{"id":1034,"depth":452,"text":400},{"id":1054,"depth":452,"text":414},{"id":1215,"depth":452,"text":590},{"id":1248,"depth":433,"text":2080,"children":2081},"GET \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F:userId\u002Fpdf — Download Subscription PDF",[2082,2083,2084],{"id":1278,"depth":452,"text":400},{"id":1287,"depth":452,"text":414},{"id":1293,"depth":452,"text":590},{"id":1336,"depth":433,"text":2086,"children":2087},"POST \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Fsubscriptions\u002F:userId\u002Fsend-soa — Send Statement of Account",[2088,2089,2090],{"id":1367,"depth":452,"text":400},{"id":1376,"depth":452,"text":414},{"id":1430,"depth":452,"text":590},{"id":1464,"depth":433,"text":2092,"children":2093},"POST \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Ftrigger-soa-blast — Trigger SOA Blast",[2094,2095,2096],{"id":1494,"depth":452,"text":400},{"id":1503,"depth":452,"text":414},{"id":1552,"depth":452,"text":590},{"id":1585,"depth":433,"text":2098,"children":2099},"GET \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Finvoices — List Invoices",[2100,2101,2102],{"id":1615,"depth":452,"text":400},{"id":1672,"depth":452,"text":414},{"id":1830,"depth":452,"text":590},{"id":1867,"depth":433,"text":2104,"children":2105},"GET \u002Fapi\u002Fv1\u002Fadmin\u002Fbilling\u002Finvoices\u002F:paymentId — Get Invoice by Payment ID",[2106,2107,2108],{"id":1897,"depth":452,"text":400},{"id":1916,"depth":452,"text":414},{"id":1922,"depth":452,"text":590},{"id":1955,"depth":433,"text":1956},{"id":2007,"depth":433,"text":2008},{"id":2035,"depth":433,"text":2036},"Admin endpoints for billing management, subscriptions, invoices, and revenue tracking.","md",null,{},{"icon":196},{"title":217,"description":2112},"k9XqmsbI_Ne80ne3KthnhdR5ufhX4wSE6vvWaQRCU28",[2120,2122],{"title":212,"path":213,"stem":214,"description":2121,"icon":215,"children":-1},"Owner endpoints for viewing customer profiles, booking history, and managing relationships.",{"title":221,"path":222,"stem":223,"description":2123,"icon":187,"children":-1},"Admin endpoints for managing organizations, viewing stats, and organization-level operations.",1777787844708]