> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://allianz.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://allianz.ferndocs.com/_mcp/server.

# Server-side integration

In a server-side integration, your servers call the Allianz Partners JSON web services directly and render the returned offer in your booking path.

#### Quote

The [Quote Web Service](/integration-guide/quote-web-service) receives a JSON quote request with the trip details needed to price the insurance, and returns a full HTML insurance offer that you display to the customer.

#### Purchase

If the customer buys the insurance, the [Purchase Web Service](/integration-guide/purchase-web-service) receives their purchase information. Allianz Partners executes the purchase, notifies the customer and returns a confirmation.

#### Decision

When the booking completes, send a JSON [decision request](/api-reference/core/decisions/create), whether or not insurance was purchased. Allianz Partners matches it to the original quote to measure performance and drive optimization, with extra details when products were purchased.

![Server-side flow across the customer, the partner's site and Allianz Partners](/_fern-img/e3290ed8ecf80b8de578f7a81a3b4d04ddc2d07b7f8b86c1c8b17878d83be239.webp)

You receive a personalized requirements document for your business at the start of implementation. Wait for it before you begin development to avoid rework.

#### [Documentation](/in-path-offers/server-side/documentation/overview)

Data dictionaries, error codes and guides.

#### [Code examples](/in-path-offers/server-side/code-examples)

JSON requests for every quote type, purchase and decision.

#### [API Reference](/api-reference/core/optimizations/create)

Endpoints with TypeScript and Python SDK snippets.