[{"data":1,"prerenderedAt":1503},["ShallowReactive",2],{"navigation":3,"\u002Fbooki-documentation\u002Fapi\u002Fpayments":303,"\u002Fbooki-documentation\u002Fapi\u002Fpayments-surround":1498},[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":193,"body":305,"description":1491,"extension":1492,"links":1493,"meta":1494,"navigation":1495,"path":194,"seo":1496,"stem":195,"__hash__":1497},"docs\u002F3.booki-documentation\u002F3.api\u002F5.payments.md",{"type":306,"value":307,"toc":1450},"minimark",[308,320,348,351,354,363,393,398,412,417,467,471,477,527,531,569,571,578,599,603,619,622,650,653,681,683,690,713,716,757,760,789,791,798,833,836,911,914,947,949,956,987,990,1028,1031,1063,1065,1072,1100,1103,1140,1143,1175,1177,1184,1208,1212,1248,1251,1263,1266,1302,1305,1372,1374,1378,1427,1429,1433,1446],[309,310,311,312,316,317],"p",{},"Base path: ",[313,314,315],"code",{},"\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments"," and ",[313,318,319],{},"\u002Fapi\u002Fv1\u002Fintegrations",[309,321,322,326,327,330,331,326,334,337,338,341,344,347],{},[323,324,325],"strong",{},"Used by:"," ",[313,328,329],{},"owner-booki-web-app"," · ",[323,332,333],{},"Role:",[313,335,336],{},"owner",", ",[313,339,340],{},"branch-manager",[342,343],"br",{},[323,345,346],{},"organizationId:"," From authenticated user's JWT token (no tenant header needed)",[309,349,350],{},"Organizations can integrate payment gateways (Maya, Cash) for booking payments and subscriptions.",[352,353],"hr",{},[355,356,358,359,362],"h2",{"id":357},"post-apiv1organizationspaymentsmayaconnect-connect-maya-payment","POST ",[313,360,361],{},"\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fmaya\u002Fconnect"," — Connect Maya Payment",[309,364,365,368,369,372,373,375,326,377,330,379,326,381,383,385,388,389,392],{},[323,366,367],{},"Auth:"," Protected (",[313,370,371],{},"Authorization: Bearer \u003CaccessToken>",")",[342,374],{},[323,376,325],{},[313,378,329],{},[323,380,333],{},[313,382,336],{},[342,384],{},[323,386,387],{},"Description:"," Connect Maya payment gateway for the organization. No request body required — ",[313,390,391],{},"organizationId"," is resolved from the JWT token.",[309,394,395],{},[323,396,397],{},"Aliases (same behavior):",[399,400,401,407],"ul",{},[402,403,404],"li",{},[313,405,406],{},"POST \u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fmaya",[402,408,409],{},[313,410,411],{},"POST \u002Fapi\u002Fv1\u002Fintegrations\u002Fmaya\u002Fconnect",[413,414,416],"h3",{"id":415},"response-200-ok","Response (200 OK)",[418,419,424],"pre",{"className":420,"code":421,"language":422,"meta":423,"style":423},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"status\": \"ok\"\n}\n","json","",[313,425,426,435,461],{"__ignoreMap":423},[427,428,431],"span",{"class":429,"line":430},"line",1,[427,432,434],{"class":433},"sMK4o","{\n",[427,436,438,441,445,448,451,454,458],{"class":429,"line":437},2,[427,439,440],{"class":433},"  \"",[427,442,444],{"class":443},"spNyl","status",[427,446,447],{"class":433},"\"",[427,449,450],{"class":433},":",[427,452,453],{"class":433}," \"",[427,455,457],{"class":456},"sfazB","ok",[427,459,460],{"class":433},"\"\n",[427,462,464],{"class":429,"line":463},3,[427,465,466],{"class":433},"}\n",[413,468,470],{"id":469},"error-responses","Error Responses",[309,472,473,476],{},[323,474,475],{},"409 Conflict"," — Already connected:",[418,478,480],{"className":420,"code":479,"language":422,"meta":423,"style":423},"{\n  \"statusCode\": 409,\n  \"message\": \"Maya payment gateway is already connected for this organization.\"\n}\n",[313,481,482,486,504,522],{"__ignoreMap":423},[427,483,484],{"class":429,"line":430},[427,485,434],{"class":433},[427,487,488,490,493,495,497,501],{"class":429,"line":437},[427,489,440],{"class":433},[427,491,492],{"class":443},"statusCode",[427,494,447],{"class":433},[427,496,450],{"class":433},[427,498,500],{"class":499},"sbssI"," 409",[427,502,503],{"class":433},",\n",[427,505,506,508,511,513,515,517,520],{"class":429,"line":463},[427,507,440],{"class":433},[427,509,510],{"class":443},"message",[427,512,447],{"class":433},[427,514,450],{"class":433},[427,516,453],{"class":433},[427,518,519],{"class":456},"Maya payment gateway is already connected for this organization.",[427,521,460],{"class":433},[427,523,525],{"class":429,"line":524},4,[427,526,466],{"class":433},[413,528,530],{"id":529},"curl-example","cURL Example",[418,532,536],{"className":533,"code":534,"language":535,"meta":423,"style":423},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -X POST http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fmaya\u002Fconnect \\\n  -H \"Authorization: Bearer eyJhbGc...\"\n","bash",[313,537,538,557],{"__ignoreMap":423},[427,539,540,544,547,550,553],{"class":429,"line":430},[427,541,543],{"class":542},"sBMFI","curl",[427,545,546],{"class":456}," -X",[427,548,549],{"class":456}," POST",[427,551,552],{"class":456}," http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fmaya\u002Fconnect",[427,554,556],{"class":555},"sTEyZ"," \\\n",[427,558,559,562,564,567],{"class":429,"line":437},[427,560,561],{"class":456},"  -H",[427,563,453],{"class":433},[427,565,566],{"class":456},"Authorization: Bearer eyJhbGc...",[427,568,460],{"class":433},[352,570],{},[355,572,358,574,577],{"id":573},"post-apiv1organizationspaymentsmayadisconnect-disconnect-maya-payment",[313,575,576],{},"\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fmaya\u002Fdisconnect"," — Disconnect Maya Payment",[309,579,580,368,582,372,584,586,326,588,330,590,326,592,594,596,598],{},[323,581,367],{},[313,583,371],{},[342,585],{},[323,587,325],{},[313,589,329],{},[323,591,333],{},[313,593,336],{},[342,595],{},[323,597,387],{}," Disconnect Maya payment gateway from the organization.",[309,600,601],{},[323,602,397],{},[399,604,605,614],{},[402,606,607,610,611,372],{},[313,608,609],{},"POST \u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fmaya\u002Fdisconnect"," (via ",[313,612,613],{},"\u002F:type\u002Fdisconnect",[402,615,616],{},[313,617,618],{},"POST \u002Fapi\u002Fv1\u002Fintegrations\u002Fmaya\u002Fdisconnect",[413,620,416],{"id":621},"response-200-ok-1",[418,623,624],{"className":420,"code":421,"language":422,"meta":423,"style":423},[313,625,626,630,646],{"__ignoreMap":423},[427,627,628],{"class":429,"line":430},[427,629,434],{"class":433},[427,631,632,634,636,638,640,642,644],{"class":429,"line":437},[427,633,440],{"class":433},[427,635,444],{"class":443},[427,637,447],{"class":433},[427,639,450],{"class":433},[427,641,453],{"class":433},[427,643,457],{"class":456},[427,645,460],{"class":433},[427,647,648],{"class":429,"line":463},[427,649,466],{"class":433},[413,651,530],{"id":652},"curl-example-1",[418,654,656],{"className":533,"code":655,"language":535,"meta":423,"style":423},"curl -X POST http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fmaya\u002Fdisconnect \\\n  -H \"Authorization: Bearer eyJhbGc...\"\n",[313,657,658,671],{"__ignoreMap":423},[427,659,660,662,664,666,669],{"class":429,"line":430},[427,661,543],{"class":542},[427,663,546],{"class":456},[427,665,549],{"class":456},[427,667,668],{"class":456}," http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fmaya\u002Fdisconnect",[427,670,556],{"class":555},[427,672,673,675,677,679],{"class":429,"line":437},[427,674,561],{"class":456},[427,676,453],{"class":433},[427,678,566],{"class":456},[427,680,460],{"class":433},[352,682],{},[355,684,686,687,689],{"id":685},"get-apiv1organizationspayments-list-organization-payments","GET ",[313,688,315],{}," — List Organization Payments",[309,691,692,368,694,372,696,698,326,700,330,702,326,704,337,706,708,710,712],{},[323,693,367],{},[313,695,371],{},[342,697],{},[323,699,325],{},[313,701,329],{},[323,703,333],{},[313,705,336],{},[313,707,340],{},[342,709],{},[323,711,387],{}," Get the connected payment method status for the authenticated user's organization.",[413,714,416],{"id":715},"response-200-ok-2",[418,717,719],{"className":420,"code":718,"language":422,"meta":423,"style":423},"{\n  \"mayaConnected\": true,\n  \"cashConnected\": false\n}\n",[313,720,721,725,739,753],{"__ignoreMap":423},[427,722,723],{"class":429,"line":430},[427,724,434],{"class":433},[427,726,727,729,732,734,736],{"class":429,"line":437},[427,728,440],{"class":433},[427,730,731],{"class":443},"mayaConnected",[427,733,447],{"class":433},[427,735,450],{"class":433},[427,737,738],{"class":433}," true,\n",[427,740,741,743,746,748,750],{"class":429,"line":463},[427,742,440],{"class":433},[427,744,745],{"class":443},"cashConnected",[427,747,447],{"class":433},[427,749,450],{"class":433},[427,751,752],{"class":433}," false\n",[427,754,755],{"class":429,"line":524},[427,756,466],{"class":433},[413,758,530],{"id":759},"curl-example-2",[418,761,763],{"className":533,"code":762,"language":535,"meta":423,"style":423},"curl -X GET http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments \\\n  -H \"Authorization: Bearer eyJhbGc...\"\n",[313,764,765,779],{"__ignoreMap":423},[427,766,767,769,771,774,777],{"class":429,"line":430},[427,768,543],{"class":542},[427,770,546],{"class":456},[427,772,773],{"class":456}," GET",[427,775,776],{"class":456}," http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments",[427,778,556],{"class":555},[427,780,781,783,785,787],{"class":429,"line":437},[427,782,561],{"class":456},[427,784,453],{"class":433},[427,786,566],{"class":456},[427,788,460],{"class":433},[352,790],{},[355,792,686,794,797],{"id":793},"get-apiv1organizationspaymentsavailable-methods-get-available-payment-methods",[313,795,796],{},"\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Favailable-methods"," — Get Available Payment Methods",[309,799,800,802,803,805,326,807,337,810,330,813,815,816,819,821,823,824,827,828,830,832],{},[323,801,367],{}," Public",[342,804],{},[323,806,325],{},[313,808,809],{},"cms-booki-web-app",[313,811,812],{},"customer-booki-web-app",[323,814,333],{}," guest \u002F ",[313,817,818],{},"customer",[342,820],{},[323,822,346],{}," Resolved via tenant middleware (",[313,825,826],{},"X-Tenant"," header or subdomain)",[342,829],{},[323,831,387],{}," Get payment methods available for a specific organization (for checkout display).",[413,834,416],{"id":835},"response-200-ok-3",[418,837,839],{"className":420,"code":838,"language":422,"meta":423,"style":423},"{\n  \"availablePaymentMethods\": [\"maya\", \"cash\"],\n  \"mayaEnabled\": true,\n  \"cashEnabled\": true\n}\n",[313,840,841,845,879,892,906],{"__ignoreMap":423},[427,842,843],{"class":429,"line":430},[427,844,434],{"class":433},[427,846,847,849,852,854,856,859,861,864,866,869,871,874,876],{"class":429,"line":437},[427,848,440],{"class":433},[427,850,851],{"class":443},"availablePaymentMethods",[427,853,447],{"class":433},[427,855,450],{"class":433},[427,857,858],{"class":433}," [",[427,860,447],{"class":433},[427,862,863],{"class":456},"maya",[427,865,447],{"class":433},[427,867,868],{"class":433},",",[427,870,453],{"class":433},[427,872,873],{"class":456},"cash",[427,875,447],{"class":433},[427,877,878],{"class":433},"],\n",[427,880,881,883,886,888,890],{"class":429,"line":463},[427,882,440],{"class":433},[427,884,885],{"class":443},"mayaEnabled",[427,887,447],{"class":433},[427,889,450],{"class":433},[427,891,738],{"class":433},[427,893,894,896,899,901,903],{"class":429,"line":524},[427,895,440],{"class":433},[427,897,898],{"class":443},"cashEnabled",[427,900,447],{"class":433},[427,902,450],{"class":433},[427,904,905],{"class":433}," true\n",[427,907,909],{"class":429,"line":908},5,[427,910,466],{"class":433},[413,912,530],{"id":913},"curl-example-3",[418,915,917],{"className":533,"code":916,"language":535,"meta":423,"style":423},"curl -X GET \"http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Favailable-methods\" \\\n  -H \"X-Tenant: \u003Corganization-slug>\"\n",[313,918,919,936],{"__ignoreMap":423},[427,920,921,923,925,927,929,932,934],{"class":429,"line":430},[427,922,543],{"class":542},[427,924,546],{"class":456},[427,926,773],{"class":456},[427,928,453],{"class":433},[427,930,931],{"class":456},"http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Favailable-methods",[427,933,447],{"class":433},[427,935,556],{"class":555},[427,937,938,940,942,945],{"class":429,"line":437},[427,939,561],{"class":456},[427,941,453],{"class":433},[427,943,944],{"class":456},"X-Tenant: \u003Corganization-slug>",[427,946,460],{"class":433},[352,948],{},[355,950,358,952,955],{"id":951},"post-apiv1organizationspaymentstype-connect-cash-payment",[313,953,954],{},"\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002F:type"," — Connect Cash Payment",[309,957,958,368,960,372,962,964,326,966,330,968,326,970,972,974,976,977,979,980,982,983,986],{},[323,959,367],{},[313,961,371],{},[342,963],{},[323,965,325],{},[313,967,329],{},[323,969,333],{},[313,971,336],{},[342,973],{},[323,975,387],{}," Connect the ",[313,978,873],{}," payment method. For ",[313,981,863],{},", use the dedicated ",[313,984,985],{},"\u002Fmaya\u002Fconnect"," endpoint above.",[413,988,416],{"id":989},"response-200-ok-4",[418,991,993],{"className":420,"code":992,"language":422,"meta":423,"style":423},"{\n  \"mayaConnected\": false,\n  \"cashConnected\": true\n}\n",[313,994,995,999,1012,1024],{"__ignoreMap":423},[427,996,997],{"class":429,"line":430},[427,998,434],{"class":433},[427,1000,1001,1003,1005,1007,1009],{"class":429,"line":437},[427,1002,440],{"class":433},[427,1004,731],{"class":443},[427,1006,447],{"class":433},[427,1008,450],{"class":433},[427,1010,1011],{"class":433}," false,\n",[427,1013,1014,1016,1018,1020,1022],{"class":429,"line":463},[427,1015,440],{"class":433},[427,1017,745],{"class":443},[427,1019,447],{"class":433},[427,1021,450],{"class":433},[427,1023,905],{"class":433},[427,1025,1026],{"class":429,"line":524},[427,1027,466],{"class":433},[413,1029,530],{"id":1030},"curl-example-4",[418,1032,1034],{"className":533,"code":1033,"language":535,"meta":423,"style":423},"curl -X POST \"http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fcash\" \\\n  -H \"Authorization: Bearer eyJhbGc...\"\n",[313,1035,1036,1053],{"__ignoreMap":423},[427,1037,1038,1040,1042,1044,1046,1049,1051],{"class":429,"line":430},[427,1039,543],{"class":542},[427,1041,546],{"class":456},[427,1043,549],{"class":456},[427,1045,453],{"class":433},[427,1047,1048],{"class":456},"http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fcash",[427,1050,447],{"class":433},[427,1052,556],{"class":555},[427,1054,1055,1057,1059,1061],{"class":429,"line":437},[427,1056,561],{"class":456},[427,1058,453],{"class":433},[427,1060,566],{"class":456},[427,1062,460],{"class":433},[352,1064],{},[355,1066,358,1068,1071],{"id":1067},"post-apiv1organizationspaymentstypedisconnect-disconnect-cash-payment",[313,1069,1070],{},"\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002F:type\u002Fdisconnect"," — Disconnect Cash Payment",[309,1073,1074,368,1076,372,1078,1080,326,1082,330,1084,326,1086,1088,1090,1092,1093,979,1095,982,1097,986],{},[323,1075,367],{},[313,1077,371],{},[342,1079],{},[323,1081,325],{},[313,1083,329],{},[323,1085,333],{},[313,1087,336],{},[342,1089],{},[323,1091,387],{}," Disconnect the ",[313,1094,873],{},[313,1096,863],{},[313,1098,1099],{},"\u002Fmaya\u002Fdisconnect",[413,1101,416],{"id":1102},"response-200-ok-5",[418,1104,1106],{"className":420,"code":1105,"language":422,"meta":423,"style":423},"{\n  \"mayaConnected\": false,\n  \"cashConnected\": false\n}\n",[313,1107,1108,1112,1124,1136],{"__ignoreMap":423},[427,1109,1110],{"class":429,"line":430},[427,1111,434],{"class":433},[427,1113,1114,1116,1118,1120,1122],{"class":429,"line":437},[427,1115,440],{"class":433},[427,1117,731],{"class":443},[427,1119,447],{"class":433},[427,1121,450],{"class":433},[427,1123,1011],{"class":433},[427,1125,1126,1128,1130,1132,1134],{"class":429,"line":463},[427,1127,440],{"class":433},[427,1129,745],{"class":443},[427,1131,447],{"class":433},[427,1133,450],{"class":433},[427,1135,752],{"class":433},[427,1137,1138],{"class":429,"line":524},[427,1139,466],{"class":433},[413,1141,530],{"id":1142},"curl-example-5",[418,1144,1146],{"className":533,"code":1145,"language":535,"meta":423,"style":423},"curl -X POST \"http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fcash\u002Fdisconnect\" \\\n  -H \"Authorization: Bearer eyJhbGc...\"\n",[313,1147,1148,1165],{"__ignoreMap":423},[427,1149,1150,1152,1154,1156,1158,1161,1163],{"class":429,"line":430},[427,1151,543],{"class":542},[427,1153,546],{"class":456},[427,1155,549],{"class":456},[427,1157,453],{"class":433},[427,1159,1160],{"class":456},"http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fcash\u002Fdisconnect",[427,1162,447],{"class":433},[427,1164,556],{"class":555},[427,1166,1167,1169,1171,1173],{"class":429,"line":437},[427,1168,561],{"class":456},[427,1170,453],{"class":433},[427,1172,566],{"class":456},[427,1174,460],{"class":433},[352,1176],{},[355,1178,1180,1181,1183],{"id":1179},"put-apiv1organizationspayments-update-payment-settings","PUT ",[313,1182,315],{}," — Update Payment Settings",[309,1185,1186,368,1188,372,1190,1192,326,1194,330,1196,326,1198,1200,1202,1204,1205,1207],{},[323,1187,367],{},[313,1189,371],{},[342,1191],{},[323,1193,325],{},[313,1195,329],{},[323,1197,333],{},[313,1199,336],{},[342,1201],{},[323,1203,387],{}," Update organization payment configuration. ",[313,1206,391],{}," is resolved from the JWT token — do not include it in the request body.",[413,1209,1211],{"id":1210},"request","Request",[418,1213,1214],{"className":420,"code":718,"language":422,"meta":423,"style":423},[313,1215,1216,1220,1232,1244],{"__ignoreMap":423},[427,1217,1218],{"class":429,"line":430},[427,1219,434],{"class":433},[427,1221,1222,1224,1226,1228,1230],{"class":429,"line":437},[427,1223,440],{"class":433},[427,1225,731],{"class":443},[427,1227,447],{"class":433},[427,1229,450],{"class":433},[427,1231,738],{"class":433},[427,1233,1234,1236,1238,1240,1242],{"class":429,"line":463},[427,1235,440],{"class":433},[427,1237,745],{"class":443},[427,1239,447],{"class":433},[427,1241,450],{"class":433},[427,1243,752],{"class":433},[427,1245,1246],{"class":429,"line":524},[427,1247,466],{"class":433},[309,1249,1250],{},"All fields optional; at least one required:",[399,1252,1253,1258],{},[402,1254,1255,1257],{},[313,1256,731],{}," (boolean): Enable or disable Maya payment",[402,1259,1260,1262],{},[313,1261,745],{}," (boolean): Enable or disable cash payment",[413,1264,416],{"id":1265},"response-200-ok-6",[418,1267,1268],{"className":420,"code":718,"language":422,"meta":423,"style":423},[313,1269,1270,1274,1286,1298],{"__ignoreMap":423},[427,1271,1272],{"class":429,"line":430},[427,1273,434],{"class":433},[427,1275,1276,1278,1280,1282,1284],{"class":429,"line":437},[427,1277,440],{"class":433},[427,1279,731],{"class":443},[427,1281,447],{"class":433},[427,1283,450],{"class":433},[427,1285,738],{"class":433},[427,1287,1288,1290,1292,1294,1296],{"class":429,"line":463},[427,1289,440],{"class":433},[427,1291,745],{"class":443},[427,1293,447],{"class":433},[427,1295,450],{"class":433},[427,1297,752],{"class":433},[427,1299,1300],{"class":429,"line":524},[427,1301,466],{"class":433},[413,1303,530],{"id":1304},"curl-example-6",[418,1306,1308],{"className":533,"code":1307,"language":535,"meta":423,"style":423},"curl -X PUT http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Forganizations\u002Fpayments \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"Authorization: Bearer eyJhbGc...\" \\\n  -d '{\n    \"mayaConnected\": true\n  }'\n",[313,1309,1310,1323,1336,1348,1358,1363],{"__ignoreMap":423},[427,1311,1312,1314,1316,1319,1321],{"class":429,"line":430},[427,1313,543],{"class":542},[427,1315,546],{"class":456},[427,1317,1318],{"class":456}," PUT",[427,1320,776],{"class":456},[427,1322,556],{"class":555},[427,1324,1325,1327,1329,1332,1334],{"class":429,"line":437},[427,1326,561],{"class":456},[427,1328,453],{"class":433},[427,1330,1331],{"class":456},"Content-Type: application\u002Fjson",[427,1333,447],{"class":433},[427,1335,556],{"class":555},[427,1337,1338,1340,1342,1344,1346],{"class":429,"line":463},[427,1339,561],{"class":456},[427,1341,453],{"class":433},[427,1343,566],{"class":456},[427,1345,447],{"class":433},[427,1347,556],{"class":555},[427,1349,1350,1353,1356],{"class":429,"line":524},[427,1351,1352],{"class":456},"  -d",[427,1354,1355],{"class":433}," '",[427,1357,434],{"class":456},[427,1359,1360],{"class":429,"line":908},[427,1361,1362],{"class":456},"    \"mayaConnected\": true\n",[427,1364,1366,1369],{"class":429,"line":1365},6,[427,1367,1368],{"class":456},"  }",[427,1370,1371],{"class":433},"'\n",[352,1373],{},[355,1375,1377],{"id":1376},"supported-payment-methods","Supported Payment Methods",[1379,1380,1381,1397],"table",{},[1382,1383,1384],"thead",{},[1385,1386,1387,1391,1394],"tr",{},[1388,1389,1390],"th",{},"Method",[1388,1392,1393],{},"Type",[1388,1395,1396],{},"Status",[1398,1399,1400,1414],"tbody",{},[1385,1401,1402,1406,1411],{},[1403,1404,1405],"td",{},"Maya",[1403,1407,1408],{},[313,1409,1410],{},"\"maya\"",[1403,1412,1413],{},"Fully integrated",[1385,1415,1416,1419,1424],{},[1403,1417,1418],{},"Cash on Arrival",[1403,1420,1421],{},[313,1422,1423],{},"\"cash\"",[1403,1425,1426],{},"Available",[352,1428],{},[355,1430,1432],{"id":1431},"notes","Notes",[399,1434,1435,1438,1441],{},[402,1436,1437],{},"Credentials are encrypted before storage; never returned in API responses.",[402,1439,1440],{},"Available methods are determined by organization's connected integrations.",[402,1442,1443,1445],{},[313,1444,1423],{}," is always available as a fallback payment option.",[1447,1448,1449],"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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":423,"searchDepth":430,"depth":437,"links":1451},[1452,1458,1463,1468,1473,1478,1483,1489,1490],{"id":357,"depth":437,"text":1453,"children":1454},"POST \u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fmaya\u002Fconnect — Connect Maya Payment",[1455,1456,1457],{"id":415,"depth":463,"text":416},{"id":469,"depth":463,"text":470},{"id":529,"depth":463,"text":530},{"id":573,"depth":437,"text":1459,"children":1460},"POST \u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Fmaya\u002Fdisconnect — Disconnect Maya Payment",[1461,1462],{"id":621,"depth":463,"text":416},{"id":652,"depth":463,"text":530},{"id":685,"depth":437,"text":1464,"children":1465},"GET \u002Fapi\u002Fv1\u002Forganizations\u002Fpayments — List Organization Payments",[1466,1467],{"id":715,"depth":463,"text":416},{"id":759,"depth":463,"text":530},{"id":793,"depth":437,"text":1469,"children":1470},"GET \u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002Favailable-methods — Get Available Payment Methods",[1471,1472],{"id":835,"depth":463,"text":416},{"id":913,"depth":463,"text":530},{"id":951,"depth":437,"text":1474,"children":1475},"POST \u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002F:type — Connect Cash Payment",[1476,1477],{"id":989,"depth":463,"text":416},{"id":1030,"depth":463,"text":530},{"id":1067,"depth":437,"text":1479,"children":1480},"POST \u002Fapi\u002Fv1\u002Forganizations\u002Fpayments\u002F:type\u002Fdisconnect — Disconnect Cash Payment",[1481,1482],{"id":1102,"depth":463,"text":416},{"id":1142,"depth":463,"text":530},{"id":1179,"depth":437,"text":1484,"children":1485},"PUT \u002Fapi\u002Fv1\u002Forganizations\u002Fpayments — Update Payment Settings",[1486,1487,1488],{"id":1210,"depth":463,"text":1211},{"id":1265,"depth":463,"text":416},{"id":1304,"depth":463,"text":530},{"id":1376,"depth":437,"text":1377},{"id":1431,"depth":437,"text":1432},"Payment gateway connections, payment method setup, and integration management.","md",null,{},{"icon":196},{"title":193,"description":1491},"B421RUGPmz7iE6VyIi-WPfxB7mIQD0V2QjsLCMZ27C4",[1499,1501],{"title":189,"path":190,"stem":191,"description":1500,"icon":172,"children":-1},"Create, list, update, and delete service packages (owner endpoints).",{"title":198,"path":199,"stem":200,"description":1502,"icon":201,"children":-1},"User profile management, email updates, password changes, and payment preferences.",1777787844708]