{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"Yasmina embedded insurance","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/yasmina/gYT_wrUNH6DJHRcX/logo/light.svg?fit=max\u0026auto=format\u0026n=gYT_wrUNH6DJHRcX\u0026q=85\u0026s=8f104780e9e2be0f5ed858abf5daf565","dark":"https://mintcdn.com/yasmina/gYT_wrUNH6DJHRcX/logo/dark.svg?fit=max\u0026auto=format\u0026n=gYT_wrUNH6DJHRcX\u0026q=85\u0026s=4b99116ce5278adfe03cc2508a4ead66"},"favicon":"https://mintcdn.com/yasmina/gYT_wrUNH6DJHRcX/favicon.svg?fit=max\u0026auto=format\u0026n=gYT_wrUNH6DJHRcX\u0026q=85\u0026s=011065c671b0598099e2297a50ad5260","api":{"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":false},"examples":{"defaults":"required"}},"background":{"color":{"light":"#FFF","dark":"#000"}},"navbar":{"primary":{"type":"button","label":"Portal","href":"https://portal.yasmina.ai"}},"fonts":{"family":"Inter, sans-serif"},"styling":{"eyebrows":"breadcrumbs","latex":false},"integrations":{"amplitude":{"apiKey":"3fd7f32ecb0ff851ba9ea3b6670cd855"},"intercom":{"appId":"yu8wo042"}},"contextual":{"options":["mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yasmina","hasAudioNarration":false,"actualSubdomain":"yasmina","customDomains":["docs.yasmina.ai"],"gitSource":{"type":"github","owner":"yasminaai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae1e198494007f2550fe1f0","collectionId":"ced6d93c-21c5-4dec-9fbe-701c9efc2701","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae1e198494007f2550fe1f0"},"entitlements":{},"buildId":"6ae1e198494007f2550fe1f0","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":61},{"language":"default","tag":"Policies","count":24},{"language":"default","tag":"Guide","count":21},{"language":"default","tag":"SME Medical APIs","count":18},{"language":"default","tag":"Motor Insurance APIs (Multiple Providers)","count":17},{"language":"default","tag":"SDKs","count":10},{"language":"default","tag":"Front-End SDKs","count":10},{"language":"default","tag":"Insurance Integration Guides","count":9},{"language":"default","tag":"Quotes","count":9},{"language":"default","tag":"Property Insurance APIs","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-logo{height:40px}#pagination{display:none!important}.ai-note{display:flex;align-items:flex-start;gap:.65rem;margin:1rem 0 1.5rem;padding:.9rem 1rem;border:1px solid #93c5fd;border-radius:.75rem;background-color:#eff6ff;color:#1e40af}.ai-note svg{flex-shrink:0;margin-top:.2rem}.ai-note p{margin:0;color:inherit}.ai-note a{color:inherit;font-weight:600;text-decoration:underline}.dark .ai-note{border-color:#1e40af;background-color:rgba(30,58,138,.25);color:#93c5fd}"}],"page":{"pagePath":"yasmina-schengen-travel-insurance/policies/purchase","slug":"/yasmina-schengen-travel-insurance/policies/purchase","pageMetadata":{"title":"Purchase","description":null,"deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json post /policies","href":"/yasmina-schengen-travel-insurance/policies/purchase","autogeneratedByOpenApi":true},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Purchase","description":null,"deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json post /policies","href":"/yasmina-schengen-travel-insurance/policies/purchase","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/yasmina/ccacd844f457d935/script.js"],"openApiReferenceData":{"operation":{"tags":["Policies"],"summary":"Purchase","requestBody":"e5b32870-0933-4330-87e0-55b40a0d965b","security":["a8ff3e91-e564-4cea-884d-2f511bbcaf55"],"parameters":["54e9862a-f78f-4be5-a817-70cdf9d909b6"],"responses":{"200":"ca4945ed-777d-4d08-8a89-c58b6111d646"},"method":"post","type":"path","servers":["eb229c0b-ce91-48c6-b62a-b03cee71f552","15b1ab43-968b-46fc-ad13-b630ed4d3db9"],"path":"/policies","baseUrlOptions":["https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel","https://production.yasmina.ai/api/v1/yasmina-schengen-travel"],"title":"Purchase","description":"","codeSamples":[],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"54e9862a-f78f-4be5-a817-70cdf9d909b6":{"name":"Accept","in":"header","schema":{"type":"string","default":"application/json","uniqueKey":"","typeLabel":"string"},"example":"application/json"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"quote_id":{"type":"string","example":"Q-L5ELL0WU","uniqueKey":"quote_id","typeLabel":"string"},"redirect_url":{"type":"string","format":"uri","minLength":1,"description":"Optional URL to redirect the customer after completing payment. If provided, it must not be empty.","uniqueKey":"redirect_url","typeLabel":"string\u003curi>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"quote_id":"Q-L5ELL0WU","redirect_url":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ca4945ed-777d-4d08-8a89-c58b6111d646":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["id","meta_data","product_id","client_id","pdf_parsed","has_sent_cancellation_email","created_at","updated_at","status","is_old_policy","payment_link","price"],"properties":{"id":{"type":"integer","example":936,"isRequired":true,"uniqueKey":"id","typeLabel":"integer"},"meta_data":{"type":"object","required":["bill","email","price","duration","quote_id","start_date","travellers","multi_entry","phone_number","date_of_birth","nationality_id"],"properties":{"bill":{"type":"object","required":["items","adminFees"],"properties":{"items":{"type":"object","additionalProperties":{"type":"object","required":["count","price","total"],"properties":{"count":{"type":"integer","example":1,"isRequired":true,"uniqueKey":"meta_data.bill.\\items.additionalProperties.count","typeLabel":"integer"},"price":{"type":"number","example":55,"isRequired":true,"uniqueKey":"meta_data.bill.\\items.additionalProperties.price","typeLabel":"number"},"total":{"type":"number","example":55,"isRequired":true,"uniqueKey":"meta_data.bill.\\items.additionalProperties.total","typeLabel":"number"}},"uniqueKey":"meta_data.bill.\\items.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"meta_data.bill.\\items","typeLabel":"object"},"adminFees":{"type":"number","example":25,"isRequired":true,"uniqueKey":"meta_data.bill.adminFees","typeLabel":"number"}},"isRequired":true,"uniqueKey":"meta_data.bill","typeLabel":"object"},"email":{"type":"string","format":"email","example":"[email protected]","isRequired":true,"uniqueKey":"meta_data.email","typeLabel":"string\u003cemail>"},"price":{"type":"number","example":92,"isRequired":true,"uniqueKey":"meta_data.price","typeLabel":"number"},"duration":{"type":"integer","example":10,"isRequired":true,"uniqueKey":"meta_data.duration","typeLabel":"integer"},"quote_id":{"type":"integer","example":1,"isRequired":true,"uniqueKey":"meta_data.quote_id","typeLabel":"integer"},"start_date":{"type":"string","format":"date","example":"2026-02-27","isRequired":true,"uniqueKey":"meta_data.start_date","typeLabel":"string\u003cdate>"},"travellers":{"type":"array","items":{"type":"object","required":["gender","relation","full_name","nationality","date_of_birth","passport_number","passport_expiry_date"],"properties":{"gender":{"type":"string","enum":["m","f"],"example":"m","isRequired":true,"uniqueKey":"meta_data.travellers.items.[INDEX].gender","typeLabel":"enum\u003cstring>"},"relation":{"type":"string","example":"self","isRequired":true,"uniqueKey":"meta_data.travellers.items.[INDEX].relation","typeLabel":"string"},"full_name":{"type":"string","example":"Yasmina Alex","isRequired":true,"uniqueKey":"meta_data.travellers.items.[INDEX].full_name","typeLabel":"string"},"nationality":{"type":"string","example":"SA","isRequired":true,"uniqueKey":"meta_data.travellers.items.[INDEX].nationality","typeLabel":"string"},"date_of_birth":{"type":"string","format":"date","example":"1982-04-20","isRequired":true,"uniqueKey":"meta_data.travellers.items.[INDEX].date_of_birth","typeLabel":"string\u003cdate>"},"passport_number":{"type":"string","example":"G12345678","isRequired":true,"uniqueKey":"meta_data.travellers.items.[INDEX].passport_number","typeLabel":"string"},"passport_expiry_date":{"type":"string","format":"date","example":"2026-10-30","isRequired":true,"uniqueKey":"meta_data.travellers.items.[INDEX].passport_expiry_date","typeLabel":"string\u003cdate>"}},"uniqueKey":"meta_data.travellers.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"meta_data.travellers","typeLabel":"object[]"},"multi_entry":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"meta_data.multi_entry","typeLabel":"boolean"},"phone_number":{"type":"string","example":"+966501234567","isRequired":true,"uniqueKey":"meta_data.phone_number","typeLabel":"string"},"date_of_birth":{"type":"string","format":"date","example":"1988-04-20","isRequired":true,"uniqueKey":"meta_data.date_of_birth","typeLabel":"string\u003cdate>"},"nationality_id":{"type":"string","example":"1234567890","isRequired":true,"uniqueKey":"meta_data.nationality_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"meta_data","typeLabel":"object"},"product_id":{"type":"integer","example":8,"isRequired":true,"uniqueKey":"product_id","typeLabel":"integer"},"client_id":{"type":"string","format":"uuid","example":"a0fd456b-853d-4511-b80f-2bfdb0e66303","isRequired":true,"uniqueKey":"client_id","typeLabel":"string\u003cuuid>"},"pdf_parsed":{"type":"integer","example":0,"isRequired":true,"uniqueKey":"pdf_parsed","typeLabel":"integer"},"has_sent_cancellation_email":{"type":"integer","example":0,"isRequired":true,"uniqueKey":"has_sent_cancellation_email","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","example":"2026-02-03T07:12:45.000000Z","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","example":"2026-02-03T07:12:45.000000Z","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"status":{"type":"integer","example":0,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"is_old_policy":{"type":"integer","example":0,"isRequired":true,"uniqueKey":"is_old_policy","typeLabel":"integer"},"payment_link":{"type":"string","format":"uri","example":"https://sandbox.yasmina.ai/short/4OrJN","isRequired":true,"uniqueKey":"payment_link","typeLabel":"string\u003curi>"},"price":{"type":"number","example":92,"isRequired":true,"uniqueKey":"price","typeLabel":"number"},"canceled_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"canceled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"canceled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"canceled_at","typeLabel":"string\u003cdate-time> | null"},"provider_policy_id":{"oneOf":[{"type":"string","uniqueKey":"provider_policy_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"provider_policy_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_policy_id","typeLabel":"string | null"},"provider_policy":{"oneOf":[{"type":"object","additionalProperties":true,"uniqueKey":"provider_policy.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"uniqueKey":"provider_policy.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_policy","typeLabel":"object | null"},"start_date":{"oneOf":[{"type":"string","format":"date","uniqueKey":"start_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","uniqueKey":"start_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"start_date","typeLabel":"string\u003cdate> | null"},"cancellation_document":{"oneOf":[{"type":"string","uniqueKey":"cancellation_document.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"cancellation_document.oneOf.1","typeLabel":"null"}],"uniqueKey":"cancellation_document","typeLabel":"string | null"},"invoice":{"oneOf":[{"type":"object","additionalProperties":true,"uniqueKey":"invoice.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"uniqueKey":"invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice","typeLabel":"object | null"},"transfer_date_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"transfer_date_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"transfer_date_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"transfer_date_at","typeLabel":"string\u003cdate-time> | null"},"cancellation_request_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"cancellation_request_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"cancellation_request_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"cancellation_request_at","typeLabel":"string\u003cdate-time> | null"},"deleted_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"deleted_at","typeLabel":"string\u003cdate-time> | null"},"insurance_company_id":{"oneOf":[{"type":"integer","uniqueKey":"insurance_company_id.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"insurance_company_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"insurance_company_id","typeLabel":"integer | null"},"redirect_url":{"oneOf":[{"type":"string","format":"uri","uniqueKey":"redirect_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","uniqueKey":"redirect_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"redirect_url","typeLabel":"string\u003curi> | null"},"hidden_meta_data":{"oneOf":[{"type":"object","additionalProperties":true,"uniqueKey":"hidden_meta_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"uniqueKey":"hidden_meta_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"hidden_meta_data","typeLabel":"object | null"},"uploaded_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"uploaded_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"uploaded_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"uploaded_at","typeLabel":"string\u003cdate-time> | null"},"policy_url":{"oneOf":[{"type":"string","format":"uri","uniqueKey":"policy_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","uniqueKey":"policy_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"policy_url","typeLabel":"string\u003curi> | null"},"invoice_url":{"oneOf":[{"type":"string","format":"uri","uniqueKey":"invoice_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","uniqueKey":"invoice_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice_url","typeLabel":"string\u003curi> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":936,"meta_data":{"bill":{"items":{},"adminFees":25},"email":"[email protected]","price":92,"duration":10,"quote_id":1,"start_date":"2026-02-27","travellers":[{"gender":"m","relation":"self","full_name":"Yasmina Alex","nationality":"SA","date_of_birth":"1982-04-20","passport_number":"G12345678","passport_expiry_date":"2026-10-30"}],"multi_entry":false,"phone_number":"+966501234567","date_of_birth":"1988-04-20","nationality_id":"1234567890"},"product_id":8,"client_id":"a0fd456b-853d-4511-b80f-2bfdb0e66303","pdf_parsed":0,"has_sent_cancellation_email":0,"created_at":"2026-02-03T07:12:45.000000Z","updated_at":"2026-02-03T07:12:45.000000Z","status":0,"is_old_policy":0,"payment_link":"https://sandbox.yasmina.ai/short/4OrJN","price":92,"canceled_at":"2023-11-07T05:31:56Z","provider_policy_id":"\u003cstring>","provider_policy":{},"start_date":"2023-12-25","cancellation_document":"\u003cstring>","invoice":{},"transfer_date_at":"2023-11-07T05:31:56Z","cancellation_request_at":"2023-11-07T05:31:56Z","deleted_at":"2023-11-07T05:31:56Z","insurance_company_id":123,"redirect_url":"\u003cstring>","hidden_meta_data":{},"uploaded_at":"2023-11-07T05:31:56Z","policy_url":"\u003cstring>","invoice_url":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a8ff3e91-e564-4cea-884d-2f511bbcaf55":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"eb229c0b-ce91-48c6-b62a-b03cee71f552":{"url":"https://sandbox.yasmina.ai/api/v1/yasmina-schengen-travel"},"15b1ab43-968b-46fc-ad13-b630ed4d3db9":{"url":"https://production.yasmina.ai/api/v1/yasmina-schengen-travel"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"yasmina-schengen-travel-insurance/openapi.json"},"subdomain":"yasmina","siteName":"Yasmina embedded insurance","title":"Purchase - Yasmina embedded insurance","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T11:51:10.719Z","originalFileLocation":"yasmina-schengen-travel-insurance/policies/purchase.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Yasmina embedded insurance\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Purchase - Yasmina embedded insurance\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yasmina embedded insurance\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.yasmina.ai/yasmina-schengen-travel-insurance/policies/purchase\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yasmina.mintlify.app/_mintlify/api/og/v2?division=Policies\u0026amp;title=Purchase\u0026amp;theme=e2077e43cb421df0ca824625\u0026amp;signature=c15f329a02576ad3eaab9dcf5a89ad4b4b059c4c66b8de12a833b491df75d34a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Purchase - Yasmina embedded insurance\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yasmina.mintlify.app/_mintlify/api/og/v2?division=Policies\u0026amp;title=Purchase\u0026amp;theme=e2077e43cb421df0ca824625\u0026amp;signature=c15f329a02576ad3eaab9dcf5a89ad4b4b059c4c66b8de12a833b491df75d34a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Yasmina embedded insurance\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.yasmina.ai/yasmina-schengen-travel-insurance/policies/purchase\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/yasmina-schengen-travel-insurance/policies/purchase.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.yasmina.ai/#organization\",\"name\":\"Yasmina embedded insurance\",\"url\":\"https://docs.yasmina.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yasmina/gYT_wrUNH6DJHRcX/logo/light.svg?fit=max\u0026auto=format\u0026n=gYT_wrUNH6DJHRcX\u0026q=85\u0026s=8f104780e9e2be0f5ed858abf5daf565\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.yasmina.ai#website\",\"name\":\"Yasmina embedded insurance\",\"url\":\"https://docs.yasmina.ai\",\"publisher\":{\"@id\":\"https://docs.yasmina.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.yasmina.ai/yasmina-schengen-travel-insurance/policies/purchase#webpage\",\"url\":\"https://docs.yasmina.ai/yasmina-schengen-travel-insurance/policies/purchase\",\"name\":\"Purchase\",\"dateModified\":\"2026-10-28T11:51:10.719Z\",\"isPartOf\":{\"@id\":\"https://docs.yasmina.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.yasmina.ai/yasmina-schengen-travel-insurance/policies/purchase#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.yasmina.ai/yasmina-schengen-travel-insurance/policies/purchase#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Travel Insurance APIs\",\"item\":\"https://docs.yasmina.ai/yasmina-schengen-travel-insurance/quotes/request-quote\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Policies\",\"item\":\"https://docs.yasmina.ai/yasmina-schengen-travel-insurance/policies/show-policy\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Purchase\",\"item\":\"https://docs.yasmina.ai/yasmina-schengen-travel-insurance/policies/purchase\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.yasmina.ai/yasmina-schengen-travel-insurance/policies/purchase#apireference\",\"headline\":\"Purchase\",\"name\":\"Purchase\",\"url\":\"https://docs.yasmina.ai/yasmina-schengen-travel-insurance/policies/purchase\",\"mainEntityOfPage\":{\"@id\":\"https://docs.yasmina.ai/yasmina-schengen-travel-insurance/policies/purchase#webpage\"},\"dateModified\":\"2026-10-28T11:51:10.719Z\",\"publisher\":{\"@id\":\"https://docs.yasmina.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.yasmina.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Yasmina embedded insurance\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Yasmina embedded insurance","nav":{"global":null,"tabs":[{"tab":"Guide","icon":"book","pages":[{"title":"Guide","href":"/introduction"}]},{"tab":"API Reference","icon":"file-code","groups":[{"group":"Authentication","pages":[{"group":"Oauth 2.0","pages":[{"title":"Generate Token","deprecated":null,"version":null,"openapi":"/auth-api-reference/openapi.json post /oauth/token","href":"/auth-api-reference/oauth-20/generate-token"}]}]},{"group":"SME Medical APIs","pages":[{"group":"Company","pages":[{"title":"List companies","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /companies","href":"/medical-api-reference/company/list-companies"},{"title":"Create company","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /companies","href":"/medical-api-reference/company/create-company"},{"title":"Cancel policy","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /companies/{companyId}/policy-cancellation","href":"/medical-api-reference/company/cancel-policy"}]},{"group":"Employees","pages":[{"title":"List the employees","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /companies/{companyId}/employees","href":"/medical-api-reference/employees/list-the-employees"},{"title":"Save the employees","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json put /companies/{companyId}/employees","href":"/medical-api-reference/employees/save-the-employees"},{"title":"Fetch the employees","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /companies/{companyId}/employees/fetch","href":"/medical-api-reference/employees/fetch-the-employees"}]},{"group":"Medical Forms","pages":[{"title":"Submit the declarations","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json put /companies/{companyId}/declarations","href":"/medical-api-reference/medical-forms/submit-the-declarations"},{"title":"Download the declaration form","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /medical-forms/download","href":"/medical-api-reference/medical-forms/download-the-declaration-form"},{"title":"Get the Medical form questions","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /medical-forms","href":"/medical-api-reference/medical-forms/get-the-medical-form-questions"},{"title":"Fill the declarations","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /policies/{policyId}/declarations","href":"/medical-api-reference/medical-forms/fill-the-declarations"}]},{"group":"Quotes","pages":[{"title":"Get prices from every provider","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /quote-requests","href":"/medical-api-reference/quotes/get-prices-from-every-provider"},{"title":"Read a quote request","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /quote-requests/{quoteRequestId}","href":"/medical-api-reference/quotes/read-a-quote-request"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /policies","href":"/medical-api-reference/policies/list-policies"},{"title":"Issue the policy","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /policies","href":"/medical-api-reference/policies/issue-the-policy"},{"title":"Read the policy","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /policies/{policyId}","href":"/medical-api-reference/policies/read-the-policy"},{"title":"Cancel a policy","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /policies/{policyId}/deletion","href":"/medical-api-reference/policies/cancel-a-policy"}]},{"group":"Products","pages":[{"title":"List a network's facilities","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /products/networks","href":"/medical-api-reference/products/list-a-networks-facilities"},{"title":"List categories","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /products/categories","href":"/medical-api-reference/products/list-categories"}]}]},{"group":"Motor Insurance APIs (Multiple Providers)","pages":[{"group":"Vehicle lookups","pages":[{"title":"List vehicle makers","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /vehicle-makers","href":"/car-api-reference/vehicle-lookups/list-vehicle-makers"},{"title":"List vehicle models","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /vehicle-models","href":"/car-api-reference/vehicle-lookups/list-vehicle-models"},{"title":"List vehicle body types","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /vehicle-body-types","href":"/car-api-reference/vehicle-lookups/list-vehicle-body-types"}]},{"group":"Quotes","pages":[{"title":"Show quote","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /quote-requests/{id}","href":"/car-api-reference/quotes/show-quote"},{"title":"Delete quote","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json delete /quote-requests/{id}","href":"/car-api-reference/quotes/delete-quote"},{"title":"List quotes","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /quote-requests","href":"/car-api-reference/quotes/list-quotes"},{"title":"Request quotes","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /quote-requests","href":"/car-api-reference/quotes/request-quotes"},{"title":"Guideline texts","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /guideline-texts","href":"/car-api-reference/quotes/guideline-texts"},{"title":"Upload vehicle photos","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /quote-requests/{id}/attachments","href":"/car-api-reference/quotes/upload-vehicle-photos"}]},{"group":"Embed sessions","pages":[{"title":"Create embed session","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /embed-sessions","href":"/car-api-reference/embed-sessions/create-embed-session"},{"title":"Show embed session","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /embed-sessions/{id}","href":"/car-api-reference/embed-sessions/show-embed-session"},{"title":"Store vehicle photos for an embed session","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /embed-sessions/{id}/photos","href":"/car-api-reference/embed-sessions/store-vehicle-photos-for-an-embed-session"}]},{"group":"Policies","pages":[{"title":"Show policy","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /policies/{carPolicy}","href":"/car-api-reference/policies/show-policy"},{"title":"List policies","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /policies","href":"/car-api-reference/policies/list-policies"},{"title":"Issue policy","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /policies","href":"/car-api-reference/policies/issue-policy"}]},{"group":"OTPs","pages":[{"title":"Request OTP for quote verification","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /quote-otp","href":"/car-api-reference/otps/request-otp-for-quote-verification"},{"title":"Request OTP for Issuing Policy","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /issue-otp","href":"/car-api-reference/otps/request-otp-for-issuing-policy"}]}]},{"group":"Property Insurance APIs","pages":[{"group":"Prices","pages":[{"title":"List prices","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /prices","href":"/property-api-reference/prices/list-prices"}]},{"group":"Policies","pages":[{"title":"Show policy","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /policies/{propertyPolicy}","href":"/property-api-reference/policies/show-policy"},{"title":"List policies","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /policies","href":"/property-api-reference/policies/list-policies"},{"title":"Issue policy","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json post /policies","href":"/property-api-reference/policies/issue-policy"},{"title":"Cancellation status","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /policies/{propertyPolicy}/cancellation-status","href":"/property-api-reference/policies/cancellation-status"},{"title":"Upload documents","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json post /policies/{propertyPolicy}/documents","href":"/property-api-reference/policies/upload-documents"}]},{"group":"Claims","pages":[{"title":"Issue claim","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json post /policies/{propertyPolicy}/claims","href":"/property-api-reference/claims/issue-claim"}]},{"group":"Addresses","pages":[{"title":"Get full address from short address code","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /address-from-short","href":"/property-api-reference/addresses/get-full-address-from-short-address-code"}]}]},{"group":"Travel Insurance APIs","pages":[{"group":"Quotes","pages":[{"title":"Request Quote","deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json post /quotes","href":"/yasmina-schengen-travel-insurance/quotes/request-quote"}]},{"group":"Policies","pages":[{"title":"Show policy","deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json get /policies/{travelPolicy}","href":"/yasmina-schengen-travel-insurance/policies/show-policy"},{"title":"List policies","description":null,"deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json get /policies","href":"/yasmina-schengen-travel-insurance/policies/list-policies"},{"title":"Purchase","deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json post /policies","href":"/yasmina-schengen-travel-insurance/policies/purchase"}]}]},{"group":"Life (S\u0026P) Insurance APIs","pages":[{"group":"Offers","pages":[{"title":"Life S\u0026P Products","description":"Generates Life S\u0026P offers (premiums and benefits) from multiple insurers for a bank's customers.","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json post /offers","href":"/life-snp/offers/life-s\u0026p-products"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json get /policies","href":"/life-snp/policies/list-policies"},{"title":"Issue policy","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json post /policies","href":"/life-snp/policies/issue-policy"},{"title":"Cancel policy","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json post /policies/{lifePolicy}/cancellation","href":"/life-snp/policies/cancel-policy"}]},{"group":"Claims","pages":[{"title":"Submit claim","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json post /policies/{policyId}/claims","href":"/life-snp/claims/submit-claim"}]}]},{"group":"TPL Motor Insurance - Flat Fee APIs V2","pages":[{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/cartpl-api-reference-v2/openapi.json get /v2/car/policies","href":"/cartpl-api-reference-v2/policies/list-policies"},{"title":"Issue policy","deprecated":null,"version":null,"openapi":"/cartpl-api-reference-v2/openapi.json post /v2/car/policies","href":"/cartpl-api-reference-v2/policies/issue-policy"},{"title":"Cancel policy","deprecated":null,"version":null,"openapi":"/cartpl-api-reference-v2/openapi.json post /v2/car/policies/{carPolicy}/cancellation","href":"/cartpl-api-reference-v2/policies/cancel-policy"},{"title":"Cancel policy by VIN","deprecated":null,"version":null,"openapi":"/cartpl-api-reference-v2/openapi.json post /v2/clients/policies/cancellation","href":"/cartpl-api-reference-v2/policies/cancel-policy-by-vin"}]}]},{"group":"Horse Insurance APIs","pages":[{"group":"Policies","pages":[{"title":"Create a horse policy","deprecated":null,"version":null,"openapi":"/horse-api-reference/openapi.json post /policies","href":"/horse-api-reference/policies/create-a-horse-policy"},{"title":"Cancel policy","deprecated":null,"version":null,"openapi":"/horse-api-reference/openapi.json post /policies/{horsePolicy}/cancellation","href":"/horse-api-reference/policies/cancel-policy"}]},{"group":"Claims","pages":[{"title":"Issue claim","deprecated":null,"version":null,"openapi":"/horse-api-reference/openapi.json post /policies/{policyId}/claims","href":"/horse-api-reference/claims/issue-claim"}]}]},{"group":"Payment","pages":[{"group":"Payments","pages":[{"title":"List payments","deprecated":null,"version":null,"openapi":"/payments-api-reference/openapi.json get /payments","href":"/payments-api-reference/payments/list-payments"}]}]}]},{"tab":"SDKs","icon":"brackets-curly","pages":[{"title":"SDKs","href":"/sdks/ios"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Purchase - Yasmina embedded insurance","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}