[{"data":1,"prerenderedAt":1175},["ShallowReactive",2],{"navigation":3,"\u002Fbooki-documentation\u002Fapi\u002Fuser-payment-methods":337,"\u002Fbooki-documentation\u002Fapi\u002Fuser-payment-methods-surround":1170},[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,266,280,293],{"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,196,201,205,210,215,220,225,230,234,239,244,248,252,256,261],{"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 - Billing","\u002Fbooki-documentation\u002Fapi\u002Forganization-billing","3.booki-documentation\u002F3.api\u002F5.organization-billing","i-lucide-building-2",{"title":189,"path":190,"stem":191,"icon":187},"Organizations - Base","\u002Fbooki-documentation\u002Fapi\u002Forganizations","3.booki-documentation\u002F3.api\u002F5.organizations",{"title":193,"path":194,"stem":195,"icon":172},"Organizations - Packages","\u002Fbooki-documentation\u002Fapi\u002Fpackages","3.booki-documentation\u002F3.api\u002F5.packages",{"title":197,"path":198,"stem":199,"icon":200},"Organizations - Payments & Integrations","\u002Fbooki-documentation\u002Fapi\u002Fpayments","3.booki-documentation\u002F3.api\u002F5.payments","i-lucide-credit-card",{"title":202,"path":203,"stem":204,"icon":182},"Business Hours - Public","\u002Fbooki-documentation\u002Fapi\u002Fpublic-business-hours","3.booki-documentation\u002F3.api\u002F5.public-business-hours",{"title":206,"path":207,"stem":208,"icon":209},"Packages - Public","\u002Fbooki-documentation\u002Fapi\u002Fpublic-packages","3.booki-documentation\u002F3.api\u002F5.public-packages","i-lucide-package",{"title":211,"path":212,"stem":213,"icon":214},"Subscription Payments","\u002Fbooki-documentation\u002Fapi\u002Fsubscription-payments","3.booki-documentation\u002F3.api\u002F6.subscription-payments","i-lucide-receipt",{"title":216,"path":217,"stem":218,"icon":219},"Users - Saved Payment Methods","\u002Fbooki-documentation\u002Fapi\u002Fuser-payment-methods","3.booki-documentation\u002F3.api\u002F6.user-payment-methods","i-lucide-wallet",{"title":221,"path":222,"stem":223,"icon":224},"Users - Profile & Settings","\u002Fbooki-documentation\u002Fapi\u002Fusers","3.booki-documentation\u002F3.api\u002F6.users","i-lucide-user",{"title":226,"path":227,"stem":228,"icon":229},"Chat","\u002Fbooki-documentation\u002Fapi\u002Fchat","3.booki-documentation\u002F3.api\u002F7.chat","i-lucide-message-circle",{"title":231,"path":232,"stem":233,"icon":200},"Maya Payments","\u002Fbooki-documentation\u002Fapi\u002Fmaya","3.booki-documentation\u002F3.api\u002F7.maya",{"title":235,"path":236,"stem":237,"icon":238},"Owner - Booking Management","\u002Fbooki-documentation\u002Fapi\u002Fowner-bookings","3.booki-documentation\u002F3.api\u002F7.owner-bookings","i-lucide-calendar",{"title":240,"path":241,"stem":242,"icon":243},"Owner - Customer Management","\u002Fbooki-documentation\u002Fapi\u002Fowner-customers","3.booki-documentation\u002F3.api\u002F7.owner-customers","i-lucide-users",{"title":245,"path":246,"stem":247,"icon":200},"Stripe Payments","\u002Fbooki-documentation\u002Fapi\u002Fstripe","3.booki-documentation\u002F3.api\u002F7.stripe",{"title":249,"path":250,"stem":251,"icon":200},"Admin - Billing & Subscriptions","\u002Fbooki-documentation\u002Fapi\u002Fadmin-billing","3.booki-documentation\u002F3.api\u002F8.admin-billing",{"title":253,"path":254,"stem":255,"icon":187},"Admin - Organizations Management","\u002Fbooki-documentation\u002Fapi\u002Fadmin-organizations","3.booki-documentation\u002F3.api\u002F8.admin-organizations",{"title":257,"path":258,"stem":259,"icon":260},"Admin - Billing Settings","\u002Fbooki-documentation\u002Fapi\u002Fadmin-settings","3.booki-documentation\u002F3.api\u002F8.admin-settings","i-lucide-settings",{"title":262,"path":263,"stem":264,"icon":265},"Admin - User Management","\u002Fbooki-documentation\u002Fapi\u002Fadmin-users","3.booki-documentation\u002F3.api\u002F8.admin-users","i-lucide-shield-admin",{"title":267,"icon":209,"path":268,"stem":269,"children":270,"page":54},"Shared","\u002Fbooki-documentation\u002Fshared","3.booki-documentation\u002F4.shared",[271,276],{"title":272,"path":273,"stem":274,"icon":275},"codi-node-utils","\u002Fbooki-documentation\u002Fshared\u002Fcodi-node-utils","3.booki-documentation\u002F4.shared\u002F1.codi-node-utils","i-lucide-wrench",{"title":277,"path":278,"stem":279,"icon":124},"codi-layer","\u002Fbooki-documentation\u002Fshared\u002Fcodi-layer","3.booki-documentation\u002F4.shared\u002F2.codi-layer",{"title":281,"path":282,"stem":283,"children":284,"page":54},"Flowcharts","\u002Fbooki-documentation\u002Fflowcharts","3.booki-documentation\u002F5.flowcharts",[285,289],{"title":286,"path":287,"stem":288,"icon":158},"Owner Booking Management Flow","\u002Fbooki-documentation\u002Fflowcharts\u002Fowner-booking-management","3.booki-documentation\u002F5.flowcharts\u002F1.owner-booking-management",{"title":290,"path":291,"stem":292,"icon":167},"Customer Booking Flow","\u002Fbooki-documentation\u002Fflowcharts\u002Fcustomer-booking-flow","3.booki-documentation\u002F5.flowcharts\u002F2.customer-booking-flow",{"title":294,"path":295,"stem":296,"children":297,"page":54},"Guides","\u002Fbooki-documentation\u002Fguides","3.booki-documentation\u002Fguides",[298,303,307,311,315,320,325,329,333],{"title":299,"path":300,"stem":301,"icon":302},"Guide - Authentication Flow & Sessions","\u002Fbooki-documentation\u002Fguides\u002Fguides-auth-flow","3.booki-documentation\u002Fguides\u002Fguides-auth-flow","i-lucide-lock",{"title":304,"path":305,"stem":306,"icon":177},"Guide - Branch Management","\u002Fbooki-documentation\u002Fguides\u002Fguides-branch-management","3.booki-documentation\u002Fguides\u002Fguides-branch-management",{"title":308,"path":309,"stem":310,"icon":200},"Guide - Customer Payment Methods","\u002Fbooki-documentation\u002Fguides\u002Fguides-customer-payments","3.booki-documentation\u002Fguides\u002Fguides-customer-payments",{"title":312,"path":313,"stem":314,"icon":260},"Guide - Environment Setup","\u002Fbooki-documentation\u002Fguides\u002Fguides-environment-setup","3.booki-documentation\u002Fguides\u002Fguides-environment-setup",{"title":316,"path":317,"stem":318,"icon":319},"Guide - Common Error Responses","\u002Fbooki-documentation\u002Fguides\u002Fguides-errors","3.booki-documentation\u002Fguides\u002Fguides-errors","i-lucide-alert-circle",{"title":321,"path":322,"stem":323,"icon":324},"Guide - Gmail SMTP Setup","\u002Fbooki-documentation\u002Fguides\u002Fguides-gmail-setup","3.booki-documentation\u002Fguides\u002Fguides-gmail-setup","i-lucide-mail",{"title":326,"path":327,"stem":328,"icon":124},"Guide - Multi-Tenancy & Tenant Slug Resolution","\u002Fbooki-documentation\u002Fguides\u002Fguides-multi-tenancy","3.booki-documentation\u002Fguides\u002Fguides-multi-tenancy",{"title":330,"path":331,"stem":332,"icon":48},"Guide - Redis Caching","\u002Fbooki-documentation\u002Fguides\u002Fguides-redis","3.booki-documentation\u002Fguides\u002Fguides-redis",{"title":334,"path":335,"stem":336,"icon":214},"Guide - Subscription Billing","\u002Fbooki-documentation\u002Fguides\u002Fguides-subscription-billing","3.booki-documentation\u002Fguides\u002Fguides-subscription-billing",{"id":338,"title":216,"body":339,"description":1163,"extension":1164,"links":1165,"meta":1166,"navigation":1167,"path":217,"seo":1168,"stem":218,"__hash__":1169},"docs\u002F3.booki-documentation\u002F3.api\u002F6.user-payment-methods.md",{"type":340,"value":341,"toc":1141},"minimark",[342,350,374,377,380,389,411,416,426,429,433,502,512,516,522,570,574,625,627,634,647,650,656,660,934,937,966,968,976,989,992,998,1001,1014,1017,1047,1050,1056,1101,1104,1137],[343,344,345,346],"p",{},"Base path: ",[347,348,349],"code",{},"\u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods",[343,351,352,356,357,360,361,356,364,367,370,373],{},[353,354,355],"strong",{},"Used by:"," ",[347,358,359],{},"customer-booki-web-app"," · ",[353,362,363],{},"Role:",[347,365,366],{},"customer",[368,369],"br",{},[353,371,372],{},"organizationId:"," From JWT token",[343,375,376],{},"Customers can save payment methods (via Stripe) for faster checkout on future bookings. All endpoints require customer authentication.",[378,379],"hr",{},[381,382,384,385,388],"h2",{"id":383},"post-apiv1userspayment-methodssetup-setup-payment-method","POST ",[347,386,387],{},"\u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods\u002Fsetup"," — Setup Payment Method",[343,390,391,394,395,398,399,401,403,406,407,410],{},[353,392,393],{},"Auth:"," Protected (",[347,396,397],{},"Authorization: Bearer \u003CaccessToken>",") · ",[347,400,366],{},[368,402],{},[353,404,405],{},"Description:"," Create a Stripe SetupIntent so the customer can add a new payment method via Stripe.js without being charged immediately. Returns a ",[347,408,409],{},"clientSecret"," for the frontend to complete the setup.",[412,413,415],"h3",{"id":414},"request","Request",[417,418,423],"pre",{"className":419,"code":421,"language":422},[420],"language-text","POST \u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods\u002Fsetup\n","text",[347,424,421],{"__ignoreMap":425},"",[343,427,428],{},"No request body required.",[412,430,432],{"id":431},"response-201-created","Response (201 Created)",[417,434,438],{"className":435,"code":436,"language":437,"meta":425,"style":425},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"clientSecret\": \"seti_1NxABC2eZvKYlo2C1ABC1234_secret_...\",\n  \"setupIntentId\": \"seti_1NxABC2eZvKYlo2C1ABC1234\"\n}\n","json",[347,439,440,449,476,496],{"__ignoreMap":425},[441,442,445],"span",{"class":443,"line":444},"line",1,[441,446,448],{"class":447},"sMK4o","{\n",[441,450,452,455,458,461,464,467,471,473],{"class":443,"line":451},2,[441,453,454],{"class":447},"  \"",[441,456,409],{"class":457},"spNyl",[441,459,460],{"class":447},"\"",[441,462,463],{"class":447},":",[441,465,466],{"class":447}," \"",[441,468,470],{"class":469},"sfazB","seti_1NxABC2eZvKYlo2C1ABC1234_secret_...",[441,472,460],{"class":447},[441,474,475],{"class":447},",\n",[441,477,479,481,484,486,488,490,493],{"class":443,"line":478},3,[441,480,454],{"class":447},[441,482,483],{"class":457},"setupIntentId",[441,485,460],{"class":447},[441,487,463],{"class":447},[441,489,466],{"class":447},[441,491,492],{"class":469},"seti_1NxABC2eZvKYlo2C1ABC1234",[441,494,495],{"class":447},"\"\n",[441,497,499],{"class":443,"line":498},4,[441,500,501],{"class":447},"}\n",[343,503,504,505,507,508,511],{},"The frontend uses ",[347,506,409],{}," with ",[347,509,510],{},"stripe.confirmCardSetup()"," to securely save the card details.",[412,513,515],{"id":514},"error-responses","Error Responses",[343,517,518,521],{},[353,519,520],{},"401 Unauthorized"," — No valid token:",[417,523,525],{"className":435,"code":524,"language":437,"meta":425,"style":425},"{\n  \"statusCode\": 401,\n  \"message\": \"Access token is required to proceed.\"\n}\n",[347,526,527,531,548,566],{"__ignoreMap":425},[441,528,529],{"class":443,"line":444},[441,530,448],{"class":447},[441,532,533,535,538,540,542,546],{"class":443,"line":451},[441,534,454],{"class":447},[441,536,537],{"class":457},"statusCode",[441,539,460],{"class":447},[441,541,463],{"class":447},[441,543,545],{"class":544},"sbssI"," 401",[441,547,475],{"class":447},[441,549,550,552,555,557,559,561,564],{"class":443,"line":478},[441,551,454],{"class":447},[441,553,554],{"class":457},"message",[441,556,460],{"class":447},[441,558,463],{"class":447},[441,560,466],{"class":447},[441,562,563],{"class":469},"Access token is required to proceed.",[441,565,495],{"class":447},[441,567,568],{"class":443,"line":498},[441,569,501],{"class":447},[412,571,573],{"id":572},"curl-example","cURL Example",[417,575,579],{"className":576,"code":577,"language":578,"meta":425,"style":425},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -X POST http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods\u002Fsetup \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"Authorization: Bearer CUSTOMER_TOKEN\"\n","bash",[347,580,581,600,614],{"__ignoreMap":425},[441,582,583,587,590,593,596],{"class":443,"line":444},[441,584,586],{"class":585},"sBMFI","curl",[441,588,589],{"class":469}," -X",[441,591,592],{"class":469}," POST",[441,594,595],{"class":469}," http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods\u002Fsetup",[441,597,599],{"class":598},"sTEyZ"," \\\n",[441,601,602,605,607,610,612],{"class":443,"line":451},[441,603,604],{"class":469},"  -H",[441,606,466],{"class":447},[441,608,609],{"class":469},"Content-Type: application\u002Fjson",[441,611,460],{"class":447},[441,613,599],{"class":598},[441,615,616,618,620,623],{"class":443,"line":478},[441,617,604],{"class":469},[441,619,466],{"class":447},[441,621,622],{"class":469},"Authorization: Bearer CUSTOMER_TOKEN",[441,624,495],{"class":447},[378,626],{},[381,628,630,631,633],{"id":629},"get-apiv1userspayment-methods-list-payment-methods","GET ",[347,632,349],{}," — List Payment Methods",[343,635,636,394,638,398,640,642,644,646],{},[353,637,393],{},[347,639,397],{},[347,641,366],{},[368,643],{},[353,645,405],{}," Retrieve all saved payment methods for the authenticated customer.",[412,648,415],{"id":649},"request-1",[417,651,654],{"className":652,"code":653,"language":422},[420],"GET \u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods\n",[347,655,653],{"__ignoreMap":425},[412,657,659],{"id":658},"response-200-ok","Response (200 OK)",[417,661,663],{"className":435,"code":662,"language":437,"meta":425,"style":425},"{\n  \"items\": [\n    {\n      \"paymentMethodId\": \"pm_1NxABC2eZvKYlo2C1ABC1234\",\n      \"brand\": \"visa\",\n      \"last4\": \"4242\",\n      \"expMonth\": 12,\n      \"expYear\": 2028,\n      \"isDefault\": true\n    },\n    {\n      \"paymentMethodId\": \"pm_1NxDEF2eZvKYlo2C1DEF5678\",\n      \"brand\": \"mastercard\",\n      \"last4\": \"5100\",\n      \"expMonth\": 8,\n      \"expYear\": 2027,\n      \"isDefault\": false\n    }\n  ]\n}\n",[347,664,665,669,683,688,709,730,751,768,785,800,806,811,831,851,871,887,903,917,923,929],{"__ignoreMap":425},[441,666,667],{"class":443,"line":444},[441,668,448],{"class":447},[441,670,671,673,676,678,680],{"class":443,"line":451},[441,672,454],{"class":447},[441,674,675],{"class":457},"items",[441,677,460],{"class":447},[441,679,463],{"class":447},[441,681,682],{"class":447}," [\n",[441,684,685],{"class":443,"line":478},[441,686,687],{"class":447},"    {\n",[441,689,690,693,696,698,700,702,705,707],{"class":443,"line":498},[441,691,692],{"class":447},"      \"",[441,694,695],{"class":585},"paymentMethodId",[441,697,460],{"class":447},[441,699,463],{"class":447},[441,701,466],{"class":447},[441,703,704],{"class":469},"pm_1NxABC2eZvKYlo2C1ABC1234",[441,706,460],{"class":447},[441,708,475],{"class":447},[441,710,712,714,717,719,721,723,726,728],{"class":443,"line":711},5,[441,713,692],{"class":447},[441,715,716],{"class":585},"brand",[441,718,460],{"class":447},[441,720,463],{"class":447},[441,722,466],{"class":447},[441,724,725],{"class":469},"visa",[441,727,460],{"class":447},[441,729,475],{"class":447},[441,731,733,735,738,740,742,744,747,749],{"class":443,"line":732},6,[441,734,692],{"class":447},[441,736,737],{"class":585},"last4",[441,739,460],{"class":447},[441,741,463],{"class":447},[441,743,466],{"class":447},[441,745,746],{"class":469},"4242",[441,748,460],{"class":447},[441,750,475],{"class":447},[441,752,754,756,759,761,763,766],{"class":443,"line":753},7,[441,755,692],{"class":447},[441,757,758],{"class":585},"expMonth",[441,760,460],{"class":447},[441,762,463],{"class":447},[441,764,765],{"class":544}," 12",[441,767,475],{"class":447},[441,769,771,773,776,778,780,783],{"class":443,"line":770},8,[441,772,692],{"class":447},[441,774,775],{"class":585},"expYear",[441,777,460],{"class":447},[441,779,463],{"class":447},[441,781,782],{"class":544}," 2028",[441,784,475],{"class":447},[441,786,788,790,793,795,797],{"class":443,"line":787},9,[441,789,692],{"class":447},[441,791,792],{"class":585},"isDefault",[441,794,460],{"class":447},[441,796,463],{"class":447},[441,798,799],{"class":447}," true\n",[441,801,803],{"class":443,"line":802},10,[441,804,805],{"class":447},"    },\n",[441,807,809],{"class":443,"line":808},11,[441,810,687],{"class":447},[441,812,814,816,818,820,822,824,827,829],{"class":443,"line":813},12,[441,815,692],{"class":447},[441,817,695],{"class":585},[441,819,460],{"class":447},[441,821,463],{"class":447},[441,823,466],{"class":447},[441,825,826],{"class":469},"pm_1NxDEF2eZvKYlo2C1DEF5678",[441,828,460],{"class":447},[441,830,475],{"class":447},[441,832,834,836,838,840,842,844,847,849],{"class":443,"line":833},13,[441,835,692],{"class":447},[441,837,716],{"class":585},[441,839,460],{"class":447},[441,841,463],{"class":447},[441,843,466],{"class":447},[441,845,846],{"class":469},"mastercard",[441,848,460],{"class":447},[441,850,475],{"class":447},[441,852,854,856,858,860,862,864,867,869],{"class":443,"line":853},14,[441,855,692],{"class":447},[441,857,737],{"class":585},[441,859,460],{"class":447},[441,861,463],{"class":447},[441,863,466],{"class":447},[441,865,866],{"class":469},"5100",[441,868,460],{"class":447},[441,870,475],{"class":447},[441,872,874,876,878,880,882,885],{"class":443,"line":873},15,[441,875,692],{"class":447},[441,877,758],{"class":585},[441,879,460],{"class":447},[441,881,463],{"class":447},[441,883,884],{"class":544}," 8",[441,886,475],{"class":447},[441,888,890,892,894,896,898,901],{"class":443,"line":889},16,[441,891,692],{"class":447},[441,893,775],{"class":585},[441,895,460],{"class":447},[441,897,463],{"class":447},[441,899,900],{"class":544}," 2027",[441,902,475],{"class":447},[441,904,906,908,910,912,914],{"class":443,"line":905},17,[441,907,692],{"class":447},[441,909,792],{"class":585},[441,911,460],{"class":447},[441,913,463],{"class":447},[441,915,916],{"class":447}," false\n",[441,918,920],{"class":443,"line":919},18,[441,921,922],{"class":447},"    }\n",[441,924,926],{"class":443,"line":925},19,[441,927,928],{"class":447},"  ]\n",[441,930,932],{"class":443,"line":931},20,[441,933,501],{"class":447},[412,935,573],{"id":936},"curl-example-1",[417,938,940],{"className":576,"code":939,"language":578,"meta":425,"style":425},"curl -X GET http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods \\\n  -H \"Authorization: Bearer CUSTOMER_TOKEN\"\n",[347,941,942,956],{"__ignoreMap":425},[441,943,944,946,948,951,954],{"class":443,"line":444},[441,945,586],{"class":585},[441,947,589],{"class":469},[441,949,950],{"class":469}," GET",[441,952,953],{"class":469}," http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods",[441,955,599],{"class":598},[441,957,958,960,962,964],{"class":443,"line":451},[441,959,604],{"class":469},[441,961,466],{"class":447},[441,963,622],{"class":469},[441,965,495],{"class":447},[378,967],{},[381,969,971,972,975],{"id":970},"delete-apiv1userspayment-methodspaymentmethodid-delete-payment-method","DELETE ",[347,973,974],{},"\u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods\u002F:paymentMethodId"," — Delete Payment Method",[343,977,978,394,980,398,982,984,986,988],{},[353,979,393],{},[347,981,397],{},[347,983,366],{},[368,985],{},[353,987,405],{}," Remove a saved payment method from the customer's account. This detaches it from Stripe.",[412,990,415],{"id":991},"request-2",[417,993,996],{"className":994,"code":995,"language":422},[420],"DELETE \u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods\u002Fpm_1NxABC2eZvKYlo2C1ABC1234\n",[347,997,995],{"__ignoreMap":425},[343,999,1000],{},"Path Parameters:",[1002,1003,1004],"ul",{},[1005,1006,1007,1009,1010,1013],"li",{},[347,1008,695],{}," (string, required): Stripe payment method ID (",[347,1011,1012],{},"pm_...",")",[412,1015,659],{"id":1016},"response-200-ok-1",[417,1018,1020],{"className":435,"code":1019,"language":437,"meta":425,"style":425},"{\n  \"message\": \"Payment method removed successfully.\"\n}\n",[347,1021,1022,1026,1043],{"__ignoreMap":425},[441,1023,1024],{"class":443,"line":444},[441,1025,448],{"class":447},[441,1027,1028,1030,1032,1034,1036,1038,1041],{"class":443,"line":451},[441,1029,454],{"class":447},[441,1031,554],{"class":457},[441,1033,460],{"class":447},[441,1035,463],{"class":447},[441,1037,466],{"class":447},[441,1039,1040],{"class":469},"Payment method removed successfully.",[441,1042,495],{"class":447},[441,1044,1045],{"class":443,"line":478},[441,1046,501],{"class":447},[412,1048,515],{"id":1049},"error-responses-1",[343,1051,1052,1055],{},[353,1053,1054],{},"404 Not Found"," — Payment method not found or does not belong to the user:",[417,1057,1059],{"className":435,"code":1058,"language":437,"meta":425,"style":425},"{\n  \"statusCode\": 404,\n  \"message\": \"Payment method not found.\"\n}\n",[347,1060,1061,1065,1080,1097],{"__ignoreMap":425},[441,1062,1063],{"class":443,"line":444},[441,1064,448],{"class":447},[441,1066,1067,1069,1071,1073,1075,1078],{"class":443,"line":451},[441,1068,454],{"class":447},[441,1070,537],{"class":457},[441,1072,460],{"class":447},[441,1074,463],{"class":447},[441,1076,1077],{"class":544}," 404",[441,1079,475],{"class":447},[441,1081,1082,1084,1086,1088,1090,1092,1095],{"class":443,"line":478},[441,1083,454],{"class":447},[441,1085,554],{"class":457},[441,1087,460],{"class":447},[441,1089,463],{"class":447},[441,1091,466],{"class":447},[441,1093,1094],{"class":469},"Payment method not found.",[441,1096,495],{"class":447},[441,1098,1099],{"class":443,"line":498},[441,1100,501],{"class":447},[412,1102,573],{"id":1103},"curl-example-2",[417,1105,1107],{"className":576,"code":1106,"language":578,"meta":425,"style":425},"curl -X DELETE \"http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods\u002Fpm_1NxABC2eZvKYlo2C1ABC1234\" \\\n  -H \"Authorization: Bearer CUSTOMER_TOKEN\"\n",[347,1108,1109,1127],{"__ignoreMap":425},[441,1110,1111,1113,1115,1118,1120,1123,1125],{"class":443,"line":444},[441,1112,586],{"class":585},[441,1114,589],{"class":469},[441,1116,1117],{"class":469}," DELETE",[441,1119,466],{"class":447},[441,1121,1122],{"class":469},"http:\u002F\u002Flocalhost:4001\u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods\u002Fpm_1NxABC2eZvKYlo2C1ABC1234",[441,1124,460],{"class":447},[441,1126,599],{"class":598},[441,1128,1129,1131,1133,1135],{"class":443,"line":451},[441,1130,604],{"class":469},[441,1132,466],{"class":447},[441,1134,622],{"class":469},[441,1136,495],{"class":447},[1138,1139,1140],"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":425,"searchDepth":444,"depth":451,"links":1142},[1143,1150,1156],{"id":383,"depth":451,"text":1144,"children":1145},"POST \u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods\u002Fsetup — Setup Payment Method",[1146,1147,1148,1149],{"id":414,"depth":478,"text":415},{"id":431,"depth":478,"text":432},{"id":514,"depth":478,"text":515},{"id":572,"depth":478,"text":573},{"id":629,"depth":451,"text":1151,"children":1152},"GET \u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods — List Payment Methods",[1153,1154,1155],{"id":649,"depth":478,"text":415},{"id":658,"depth":478,"text":659},{"id":936,"depth":478,"text":573},{"id":970,"depth":451,"text":1157,"children":1158},"DELETE \u002Fapi\u002Fv1\u002Fusers\u002Fpayment-methods\u002F:paymentMethodId — Delete Payment Method",[1159,1160,1161,1162],{"id":991,"depth":478,"text":415},{"id":1016,"depth":478,"text":659},{"id":1049,"depth":478,"text":515},{"id":1103,"depth":478,"text":573},"Customer endpoints for managing saved Stripe payment methods.","md",null,{},{"icon":219},{"title":216,"description":1163},"MEnBs4VC8kuEKV7dh2fe72a8QlCnRHJCOiO5gR7xdVA",[1171,1173],{"title":211,"path":212,"stem":213,"description":1172,"icon":214,"children":-1},"Owner endpoints for viewing subscription payment history and individual payment records.",{"title":221,"path":222,"stem":223,"description":1174,"icon":224,"children":-1},"User profile management, email updates, password changes, and payment preferences.",1783416091346]