{"openapi":"3.1.0","info":{"title":"Sucar Real Estate | Chase Property Management Group API","version":"1.0.0","description":"Public API for searching Dominican Republic real estate developments, property lots, UCP/ACP checkout sessions, and submitting investor inquiries managed by NYS Licensed Broker Socario Mass.","contact":{"name":"Socario Mass","email":"chasepropertymg@gmail.com","url":"https://sucarrealestate.com/agente.html"},"license":{"name":"Proprietary"}},"x-service-info":{"categories":["real-estate","commerce","investment"],"merchant":"Sucar Real Estate | Chase Property Management Group, Inc."},"servers":[{"url":"https://sucarrealestate.com/api","description":"Production Server"}],"paths":{"/health":{"get":{"summary":"API Health Check","description":"Returns status, uptime and version of the API.","responses":{"200":{"description":"API is healthy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}}}},"/properties":{"get":{"summary":"Search Properties","description":"Filter available developments by location, category, or maximum starting price.","parameters":[{"name":"location","in":"query","required":false,"schema":{"type":"string","enum":["all","juan-dolio","samana","sosua","santo-domingo"]},"description":"Geographical location filter"},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["solar","terreno","villa","apartamento"]},"description":"Property typologies"},{"name":"maxPrice","in":"query","required":false,"schema":{"type":"number"},"description":"Maximum initial price in USD"},{"name":"slug","in":"query","required":false,"schema":{"type":"string"},"description":"Direct lookup by project slug"}],"responses":{"200":{"description":"List of matching properties","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertiesListResponse"}}}}}}},"/checkout_sessions":{"post":{"summary":"Create Property Reservation Checkout Session (UCP / ACP / MPP)","description":"Initiates a property reservation checkout session for a lot, terrain, villa, or apartment (starting at US$1,000 deposit for Sucar Haitises Residence lots).","x-payment-info":{"intent":"session","method":"stripe","amount":"1000.00","currency":"USD","description":"Property reservation deposit starting at US$1,000 (Sucar Haitises Residence lots) coordinated with Socario Mass."},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionRequest"}}}},"responses":{"201":{"description":"Checkout session created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionResponse"}}}}}}},"/contact":{"post":{"summary":"Submit Investor Inquiry / Lead","description":"Send a direct message or booking inquiry to NYS Broker Socario Mass.","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ContactRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/ContactRequest"}}}},"responses":{"200":{"description":"Inquiry successfully received","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}}}}}},"components":{"schemas":{"HealthResponse":{"type":"object","properties":{"status":{"type":"string","example":"healthy"},"service":{"type":"string"},"version":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"PropertiesListResponse":{"type":"object","properties":{"count":{"type":"integer"},"broker":{"type":"object","properties":{"name":{"type":"string"},"license":{"type":"string"},"phone":{"type":"string"},"email":{"type":"string"}}},"properties":{"type":"array","items":{"type":"object"}}}},"CheckoutSessionRequest":{"type":"object","required":["property_id"],"properties":{"property_id":{"type":"string","example":"sucar-haitises-residence"},"lot_id":{"type":"string","example":"lot-1"},"buyer":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string","format":"email"},"phone":{"type":"string"}}}}},"CheckoutSessionResponse":{"type":"object","properties":{"id":{"type":"string"},"protocol":{"type":"string"},"status":{"type":"string"},"currency":{"type":"string"},"reservation_deposit_usd":{"type":"number"}}},"ContactRequest":{"type":"object","required":["nombre","email","mensaje"],"properties":{"nombre":{"type":"string"},"email":{"type":"string","format":"email"},"telefono":{"type":"string"},"propiedad":{"type":"string"},"mensaje":{"type":"string"}}},"ContactResponse":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"}}}}}}