{"templateId":"api_docs","sharedDataIds":{"apiDocsStore":"api-docs-en/b2b-v3/openapi.yaml","sidebar":"sidebar-en/b2b-v3/sidebars.yaml"},"props":{"definitionId":"en/b2b-v3/openapi.yaml","settings":{"baseUrlPath":"/en/b2b-v3/openapi"},"disableAutoScroll":true,"seo":{"title":"Get the visit for an appointment","description":"Returns the billing state resolved from appointment_id: service and products, payment methods applicable to this visit, payments from money and loyalty sources, and amount_to_pay_minor. visit_id remains a response field but is not a path key because appointments without a client may not have a visit id while still being payable. The first call may materialize the billing document; repeated calls resolve to the same document.","siteUrl":"https://developer.alteg.io","lang":"en","keywords":["Altegio API","REST API","online booking API","appointment scheduling API","business management API","CRM integration","POS API"],"image":"/assets/og-image.5c9c342f49e4dd72b96f7a0faf29bb71fab6ff06bbf97cf4b230d6fcc0abcdb3.e746d8a7.jpg","meta":[{"name":"author","content":"Altegio"},{"name":"twitter:card","content":"summary_large_image"},{"name":"twitter:site","content":"@altegio"}]},"dynamicMarkdocComponents":[],"metadata":{"subType":"openapi-operation"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"developer.alteg.io","port":4000,"ipAddress":"216.73.217.154"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"master"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/en/b2b-v3/openapi/visits/getvisit","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}