Overview
Teak developer docs
TeakOS™ is the operating layer behind every Teak program, built to grow refund protection from a single policy into a multi-product, multi-policy offering. It delivers protection inside your checkout, your booking flow, or an AI agent, and every integration follows the same four steps: offer, confirm, submit, and notify. Integrate once, and add new products and policy types as your program grows.
Ways to connect
TeakOS works the same whichever way you connect. Choose the one that fits how you sell.
A ready-made component for your checkout. It offers protection for the cart and records the customer's choice, and your server submits the order.
Server to serverShow protection in your own pages. Your server makes every call to Teak, and Teak prices and issues the protection.
AI agentsAn AI agent gets prices and adds protection while it completes a purchase for a customer, using the same calls as the server-to-server path.
Server-to-server and AI integrations are for enterprise partners only. Teak Solutions Team works with partners to determine the appropriate integration solution.
How TeakOS works
The four steps in every integration.
Protection moves through the same four steps, whichever way you connect: price it, confirm the choice, issue it, and notify your systems.
Price one item or many in a single call, such as a cart or a page of search results. Teak returns a price for each item and starts a session.
Who calls itThe widget, your server, or an AI agentRecord whether the customer accepts or declines each optional item, and lock its price. Embedded protection is included without asking.
Who calls itThe widget, your server, or an AI agentPlace the order with the customer's details. Teak issues protection for each protected item, at the confirmed price.
Who calls itYour server or an AI agent. Never the browser.Teak sends your systems webhooks as protection is issued, and whenever it changes after purchase.
Who calls itTeak, to your systemsOne session ties the steps together: it starts at the first offer and ends when the order is placed.
See how Teak worksExample flows
Every integration follows the four steps. What changes is who acts at each one.
A ready-made component shows the offer in your checkout, and your server submits the order.
TeakOS integration guide →- 1OfferOffer
Prices the cart when it loads, and shows the offer.
- 2ConfirmConfirmCustomer
Accepts or declines in the widget, which locks the price.
- 3SubmitSubmitYour server
Submits the order with the customer's details. Never from the browser.
- 4NotifyNotifyTeak
Sends your systems webhooks as protection is issued, and whenever it changes.
Not the docs you were expecting? Try the Legacy API docs.
Updated about 12 hours ago
