{
"code": "42201",
"message": "The vin must be 17 characters. (and 3 more errors)",
"details": {
"vin": [
"The vin must be 17 characters."
],
"car_sequence_number": [
"The car sequence number must be between 5 and 10 digits."
],
"new_owner_id": [
"The new owner id must be 10 digits."
],
"current_car_owner": [
"The current owner id field cannot be empty."
]
}
}
{
"code": "42201",
"message": "The vin must be 17 characters. (and 3 more errors)",
"details": {
"vin": [
"The vin must be 17 characters."
],
"car_sequence_number": [
"The car sequence number must be between 5 and 10 digits."
],
"new_owner_id": [
"The new owner id must be 10 digits."
],
"current_car_owner": [
"The current owner id field cannot be empty."
]
}
}
{"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.4045","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":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"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":"car-api-reference/policies/issue-policy","slug":"/car-api-reference/policies/issue-policy","pageMetadata":{"title":"Issue policy","description":"For issuing a new policy","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /policies","href":"/car-api-reference/policies/issue-policy","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"For issuing a new policy\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"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":"Issue policy","description":"For issuing a new policy","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /policies","href":"/car-api-reference/policies/issue-policy","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/yasmina/ccacd844f457d935/script.js"],"openApiReferenceData":{"operation":{"description":"For issuing a new policy","summary":"Issue policy","tags":["Policies"],"requestBody":"c672a997-e5a4-4143-8601-f8324cb20bd0","responses":{"201":"944a1745-baff-4482-a562-6c61f301ac94","401":"1a93bcb8-e8ef-42e6-9a0b-dd6376fb8cd4","422":"eab2c4b4-7b5d-4ddc-9423-f7acf45c6a82"},"method":"post","type":"path","servers":["e9f26474-98ac-4d49-a533-cb64f5fd17c9","c48e224f-558a-41f7-ba83-451e60703992"],"security":["c1028fc6-a9e9-4c19-bd5e-697d8cfbc5bc"],"path":"/policies","baseUrlOptions":["https://sandbox.yasmina.ai/api/v1/car-comp","https://production.yasmina.ai/api/v1/car-comp"],"title":"Issue policy","codeSamples":[],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"otp":{"type":"string","pattern":"^\\d{4}$","description":"The OTP received by the customer from the Issue OTP API","example":"1234","isRequired":true,"uniqueKey":"otp","typeLabel":"string"},"quote_request_id":{"type":"integer","description":"ID of the car quote request","example":123,"isRequired":true,"uniqueKey":"quote_request_id","typeLabel":"integer"},"quote_reference_id":{"type":"string","format":"uuid","description":"Unique identifier for the quote reference ID (coming from POST /quote-requests)","example":"550e8400-e29b-41d4-a716-446655440000","isRequired":true,"uniqueKey":"quote_reference_id","typeLabel":"string\u003cuuid>"},"quote_price_id":{"type":"string","format":"uuid","description":"Unique identifier for the quote price ID that exists inside a quote item (coming from POST /quote-requests)","example":"550e8400-e29b-41d4-a716-446655440001","isRequired":true,"uniqueKey":"quote_price_id","typeLabel":"string\u003cuuid>"},"benefits":{"type":"array","items":{"type":"string","format":"uuid","description":"UUID of a benefit (coming from POST /quote-request)","uniqueKey":"benefits.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"List of benefit UUIDs","example":["6f45768d-edcd-4bb0-ab8a-712d549deee9","2f276e18-0c6e-49ca-b6e6-64700a1bef90"],"uniqueKey":"benefits","typeLabel":"string\u003cuuid>[]"},"extra_fields":{"type":"object","description":"Optional free-form object with additional fields. Total JSON-encoded size must not exceed 255 characters.","additionalProperties":true,"example":{"some_key":"some value","another_key":123},"uniqueKey":"extra_fields","typeLabel":"object"}},"required":["otp","quote_request_id","quote_reference_id","quote_price_id"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"otp":"1234","quote_request_id":123,"quote_reference_id":"550e8400-e29b-41d4-a716-446655440000","quote_price_id":"550e8400-e29b-41d4-a716-446655440001","benefits":["6f45768d-edcd-4bb0-ab8a-712d549deee9","2f276e18-0c6e-49ca-b6e6-64700a1bef90"],"extra_fields":{"some_key":"some value","another_key":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"944a1745-baff-4482-a562-6c61f301ac94":{"description":"Created","content":{"application/json":{"schema":{"type":"object","description":"A motor policy. The same object is returned by Issue policy and Show policy, and is what the webhooks carry.","properties":{"id":{"type":"integer","description":"The Yasmina policy id. Quote it in support requests.","example":1234,"uniqueKey":"id","typeLabel":"integer"},"status":{"type":"integer","enum":[0,1,2],"description":"0 awaiting payment, 1 issued, 2 cancelled. It becomes 1 once payment has cleared and the insurer has issued the policy.","example":1,"uniqueKey":"status","typeLabel":"enum\u003cinteger>"},"price":{"type":"number","description":"What the customer paid, in SAR, including VAT.","example":6770.51,"uniqueKey":"price","typeLabel":"number"},"product_id":{"type":"integer","description":"Always 6 for comprehensive motor.","example":6,"uniqueKey":"product_id","typeLabel":"integer"},"provider_policy_id":{"oneOf":[{"type":"string","description":"The insurer's own policy number, set when the policy is issued. Treat it as free text: insurers use their own formats, and many are not numeric.","example":"P/219/5515/26/3854847/00","uniqueKey":"provider_policy_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The insurer's own policy number, set when the policy is issued. Treat it as free text: insurers use their own formats, and many are not numeric.","example":"P/219/5515/26/3854847/00","uniqueKey":"provider_policy_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_policy_id","typeLabel":"string | null"},"provider_policy":{"oneOf":[{"type":"string","description":"Storage key of the policy document. Use policy_url to download it.","example":"shahin-policies/00000000-0000-0000-0000-000000000000.pdf","uniqueKey":"provider_policy.oneOf.0","typeLabel":"string"},{"type":"null","description":"Storage key of the policy document. Use policy_url to download it.","example":"shahin-policies/00000000-0000-0000-0000-000000000000.pdf","uniqueKey":"provider_policy.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_policy","typeLabel":"string | null"},"policy_url":{"oneOf":[{"type":"string","description":"Link to the policy document. Download the file rather than storing the link, and do not hardcode the host.","example":"https://\u003cobject-storage-host>/\u003cbucket>/shahin-policies/00000000-0000-0000-0000-000000000000.pdf","uniqueKey":"policy_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Link to the policy document. Download the file rather than storing the link, and do not hardcode the host.","example":"https://\u003cobject-storage-host>/\u003cbucket>/shahin-policies/00000000-0000-0000-0000-000000000000.pdf","uniqueKey":"policy_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"policy_url","typeLabel":"string | null"},"invoice_url":{"oneOf":[{"type":"string","description":"Link to the invoice, on the same terms as policy_url.","example":"https://\u003cobject-storage-host>/\u003cbucket>/shahin-policies/00000000-0000-0000-0000-000000000000_invoice.pdf","uniqueKey":"invoice_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Link to the invoice, on the same terms as policy_url.","example":"https://\u003cobject-storage-host>/\u003cbucket>/shahin-policies/00000000-0000-0000-0000-000000000000_invoice.pdf","uniqueKey":"invoice_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice_url","typeLabel":"string | null"},"payment_link":{"oneOf":[{"type":"string","description":"Where the customer pays. Already used by the time the policy is issued.","example":"https://portal.yasmina.ai/short/XXXXX","uniqueKey":"payment_link.oneOf.0","typeLabel":"string"},{"type":"null","description":"Where the customer pays. Already used by the time the policy is issued.","example":"https://portal.yasmina.ai/short/XXXXX","uniqueKey":"payment_link.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment_link","typeLabel":"string | null"},"redirect_url":{"oneOf":[{"type":"string","description":"Where the customer is sent after paying, if you supplied one.","example":"https://your-site.example/insurance-complete?order_id=12345","uniqueKey":"redirect_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Where the customer is sent after paying, if you supplied one.","example":"https://your-site.example/insurance-complete?order_id=12345","uniqueKey":"redirect_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"redirect_url","typeLabel":"string | null"},"start_date":{"type":"string","format":"date","description":"First day of cover.","example":"2026-10-02","uniqueKey":"start_date","typeLabel":"string\u003cdate>"},"expiration_date":{"type":"string","format":"date","description":"Last day of cover.","example":"2027-10-01","uniqueKey":"expiration_date","typeLabel":"string\u003cdate>"},"created_at":{"type":"string","format":"date-time","description":"When the policy was created, before payment.","example":"2026-10-01T08:24:11.000000Z","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"purchased_at":{"oneOf":[{"type":"string","format":"date-time","description":"When payment cleared. Null until the customer has paid.","example":"2026-10-01T08:26:58.000000Z","uniqueKey":"purchased_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When payment cleared. Null until the customer has paid.","example":"2026-10-01T08:26:58.000000Z","uniqueKey":"purchased_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchased_at","typeLabel":"string\u003cdate-time> | null"},"uploaded_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the policy document was attached. For issued policies this is the closest available issue timestamp.","example":"2026-10-01T08:27:12.000000Z","uniqueKey":"uploaded_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the policy document was attached. For issued policies this is the closest available issue timestamp.","example":"2026-10-01T08:27:12.000000Z","uniqueKey":"uploaded_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"uploaded_at","typeLabel":"string\u003cdate-time> | null"},"meta_data":{"type":"object","description":"The details the policy was issued on.","properties":{"insurance_type":{"type":"string","description":"Comprehensive or TPL.","example":"Comprehensive","uniqueKey":"meta_data.insurance_type","typeLabel":"string"},"insurance_company":{"type":"string","description":"The insurer behind the policy.","example":"Malath","uniqueKey":"meta_data.insurance_company","typeLabel":"string"},"quote_request_id":{"type":"integer","description":"The quote request this policy came from. Use it to tie the policy back to your own record.","example":999,"uniqueKey":"meta_data.quote_request_id","typeLabel":"integer"},"quote_reference_id":{"type":"string","description":"The quote the customer chose.","example":"00000000-0000-0000-0000-000000000000","uniqueKey":"meta_data.quote_reference_id","typeLabel":"string"},"quote_price_id":{"type":"string","description":"The priced option the customer chose.","example":"00000000-0000-0000-0000-000000000000","uniqueKey":"meta_data.quote_price_id","typeLabel":"string"},"quote_expiry_date":{"type":"string","format":"date-time","description":"When that price stopped being valid.","example":"2026-10-02T03:14:23+03:00","uniqueKey":"meta_data.quote_expiry_date","typeLabel":"string\u003cdate-time>"},"policy_start_date":{"type":"string","format":"date","description":"First day of cover, as sent when the policy was issued.","example":"2026-10-02","uniqueKey":"meta_data.policy_start_date","typeLabel":"string\u003cdate>"},"new_owner_id":{"type":"string","description":"National or Iqama id of the person insured.","example":"1xxxxxxxxx","uniqueKey":"meta_data.new_owner_id","typeLabel":"string"},"previous_owner_id":{"oneOf":[{"type":"string","description":"Set when the vehicle is being transferred.","example":"7xxxxxxxxx","uniqueKey":"meta_data.previous_owner_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set when the vehicle is being transferred.","example":"7xxxxxxxxx","uniqueKey":"meta_data.previous_owner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta_data.previous_owner_id","typeLabel":"string | null"},"car_sequence_number":{"oneOf":[{"type":"integer","description":"The vehicle, when identified by sequence number.","example":123456789,"uniqueKey":"meta_data.car_sequence_number.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The vehicle, when identified by sequence number.","example":123456789,"uniqueKey":"meta_data.car_sequence_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta_data.car_sequence_number","typeLabel":"integer | null"},"custom_number":{"oneOf":[{"type":"string","description":"The vehicle, when identified by customs card number.","example":null,"uniqueKey":"meta_data.custom_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The vehicle, when identified by customs card number.","example":null,"uniqueKey":"meta_data.custom_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta_data.custom_number","typeLabel":"string | null"},"iban":{"type":"string","description":"The customer's payout account. Refunds are transferred to it; it is never charged.","example":"SAxxxxxxxxxxxxxxxxxxxxxx","uniqueKey":"meta_data.iban","typeLabel":"string"},"benefits":{"type":"array","items":{"type":"string","uniqueKey":"meta_data.benefits.items.[INDEX]","typeLabel":"string"},"description":"The optional add-ons the customer chose.","example":[],"uniqueKey":"meta_data.benefits","typeLabel":"string[]"}},"uniqueKey":"meta_data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":1234,"status":1,"price":6770.51,"product_id":6,"provider_policy_id":"P/219/5515/26/3854847/00","provider_policy":"shahin-policies/00000000-0000-0000-0000-000000000000.pdf","policy_url":"https://\u003cobject-storage-host>/\u003cbucket>/shahin-policies/00000000-0000-0000-0000-000000000000.pdf","invoice_url":"https://\u003cobject-storage-host>/\u003cbucket>/shahin-policies/00000000-0000-0000-0000-000000000000_invoice.pdf","payment_link":"https://portal.yasmina.ai/short/XXXXX","redirect_url":"https://your-site.example/insurance-complete?order_id=12345","start_date":"2026-10-02","expiration_date":"2027-10-01","created_at":"2026-10-01T08:24:11.000000Z","purchased_at":"2026-10-01T08:26:58.000000Z","uploaded_at":"2026-10-01T08:27:12.000000Z","meta_data":{"insurance_type":"Comprehensive","insurance_company":"Malath","quote_request_id":999,"quote_reference_id":"00000000-0000-0000-0000-000000000000","quote_price_id":"00000000-0000-0000-0000-000000000000","quote_expiry_date":"2026-10-02T03:14:23+03:00","policy_start_date":"2026-10-02","new_owner_id":"1xxxxxxxxx","previous_owner_id":"7xxxxxxxxx","car_sequence_number":123456789,"custom_number":null,"iban":"SAxxxxxxxxxxxxxxxxxxxxxx","benefits":[]}}}},"exampleType":"generated"}},"exampleType":"generated"},"1a93bcb8-e8ef-42e6-9a0b-dd6376fb8cd4":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","example":"40101","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","example":"Unauthenticated","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"40101","message":"Unauthenticated"}}},"exampleType":"generated"}},"exampleType":"generated"},"eab2c4b4-7b5d-4ddc-9423-f7acf45c6a82":{"description":"Problem in the values that you submitted","content":{"application/json":{"schema":{"type":"object","example":{"code":"42201","message":"The vin must be 17 characters. (and 3 more errors)","details":{"vin":["The vin must be 17 characters."],"car_sequence_number":["The car sequence number must be between 5 and 10 digits."],"new_owner_id":["The new owner id must be 10 digits."],"current_car_owner":["The current owner id field cannot be empty."]}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"42201","message":"The vin must be 17 characters. (and 3 more errors)","details":{"vin":["The vin must be 17 characters."],"car_sequence_number":["The car sequence number must be between 5 and 10 digits."],"new_owner_id":["The new owner id must be 10 digits."],"current_car_owner":["The current owner id field cannot be empty."]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c1028fc6-a9e9-4c19-bd5e-697d8cfbc5bc":{"Oauth2":{"description":"JWT Authorization header using the Bearer scheme","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}}},"scopes":[],"schemeName":"Oauth2"}}},"servers":{"e9f26474-98ac-4d49-a533-cb64f5fd17c9":{"x-fern-server-name":"Sandbox","url":"https://sandbox.yasmina.ai/api/v1/car-comp"},"c48e224f-558a-41f7-ba83-451e60703992":{"x-fern-server-name":"Production","url":"https://production.yasmina.ai/api/v1/car-comp"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"JWT Authorization header using the Bearer scheme","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}}},"scopes":[],"schemeName":"Oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"JWT Authorization header using the Bearer scheme","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Oauth2","name":"Authorization"}],"title":"Oauth2"}]},"originalFileLocation":"car-api-reference/openapi.json"},"subdomain":"yasmina","siteName":"Yasmina embedded insurance","title":"Issue policy - Yasmina embedded insurance","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T09:33:38.687Z","originalFileLocation":"car-api-reference/policies/issue-policy.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=\"description\" content=\"For issuing a new policy\">\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=\"Issue policy - Yasmina embedded insurance\">\u003cmeta data-mint-head property=\"og:description\" content=\"For issuing a new policy\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yasmina embedded insurance\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.yasmina.ai/car-api-reference/policies/issue-policy\">\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=Issue+policy\u0026amp;description=For+issuing+a+new+policy\u0026amp;theme=e2077e43cb421df0ca824625\u0026amp;signature=887b56016fe01d3886a92fe5accf30867d5155c4d8e5785740ec0f5d41cb5716\">\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=\"Issue policy - Yasmina embedded insurance\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"For issuing a new policy\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yasmina.mintlify.app/_mintlify/api/og/v2?division=Policies\u0026amp;title=Issue+policy\u0026amp;description=For+issuing+a+new+policy\u0026amp;theme=e2077e43cb421df0ca824625\u0026amp;signature=887b56016fe01d3886a92fe5accf30867d5155c4d8e5785740ec0f5d41cb5716\">\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/car-api-reference/policies/issue-policy\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/car-api-reference/policies/issue-policy.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/car-api-reference/policies/issue-policy#webpage\",\"url\":\"https://docs.yasmina.ai/car-api-reference/policies/issue-policy\",\"name\":\"Issue policy\",\"description\":\"For issuing a new policy\",\"dateModified\":\"2026-10-22T09:33:38.687Z\",\"isPartOf\":{\"@id\":\"https://docs.yasmina.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.yasmina.ai/car-api-reference/policies/issue-policy#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.yasmina.ai/car-api-reference/policies/issue-policy#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Motor Insurance APIs (Multiple Providers)\",\"item\":\"https://docs.yasmina.ai/car-api-reference/vehicle-lookups/list-vehicle-makers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Policies\",\"item\":\"https://docs.yasmina.ai/car-api-reference/policies/show-policy\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Issue policy\",\"item\":\"https://docs.yasmina.ai/car-api-reference/policies/issue-policy\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.yasmina.ai/car-api-reference/policies/issue-policy#apireference\",\"headline\":\"Issue policy\",\"name\":\"Issue policy\",\"description\":\"For issuing a new policy\",\"url\":\"https://docs.yasmina.ai/car-api-reference/policies/issue-policy\",\"mainEntityOfPage\":{\"@id\":\"https://docs.yasmina.ai/car-api-reference/policies/issue-policy#webpage\"},\"dateModified\":\"2026-10-22T09:33:38.687Z\",\"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","description":"Listing requested 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","description":"Sends a quote verification OTP to the provided email and phone number. The OTP remains valid for 8 hours and can be reused for multiple quote requests during that period. Requesting a new quote OTP invalidates the previous one.","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","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","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":"Issue policy - Yasmina embedded insurance","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}