Skip to content

Bancassurance and partner distribution: API integrations

B2Bnetwork team · · 7 min

IT in insurance

In brief

Bancassurance is the sale of insurance through a bank, and more broadly through any partner that owns the customer relationship: a travel agency, an online store, a comparison site. Technically the partner connects to the insurer in one of four ways: a redirect to the insurer's site, an embedded form, an API or file exchange. An API gives the partner the most freedom but needs a well-designed contract: quote, offer, policy issuance, documents, payment and withdrawal, with versioning, idempotency and testing on both sides.

Who sells and under what rules

A bank that offers insurance to its customers most often acts as an insurance agent, meaning a distributor within the meaning of the Insurance Distribution Directive, IDD (EU) 2016/97. The second model is group insurance, where the bank is the policyholder and customers join the contract. The model determines who gives the customer pre-contractual information, who assesses their needs and who keeps the evidence.

In Poland good practices for banks are set out in Recommendation U of the KNF (Polish Financial Supervision Authority) on bancassurance, adopted by a resolution of June 26, 2023. Banks were expected to comply by July 1, 2024. The recommendation is mainly about the customer relationship, but its effects show up in systems: what the bank must show, what it must record and what data it exchanges with the insurer.

The IDD also has a provision on cross-selling (Article 24): when insurance is offered together with another service, such as a loan, the customer must be told whether the components can be bought separately. In the system this means separate offer items and a record of what was presented to the customer. IDD requirements for online sales are covered in more detail in the article on IDD and online sales systems.

Four models of partner integration

ModelHow it worksAdvantagesLimitations
RedirectThe partner sends the customer to the insurer's site with parametersFastest start, disclosure duties stay with the insurerThe customer leaves the partner's site
Embedded formThe insurer's widget inside the partner's siteConsistent look, logic stays with the insurerLimited fit with the partner's process
APIThe partner calls quote and issuance services within its own processFull process control, sale in the cart or in the bank's appThe partner takes on part of the duty to present information
File exchangeFiles with enrollment lists, for example nightly over SFTPSimple for group insuranceDelays, hard corrections and complaints

Large partners such as banks and comparison sites usually choose an API. Smaller ones such as travel agencies often start with a portal or a widget. An insurer serving many partners therefore needs several models on top of one product logic, as in the project on a travel insurance sales portal for partners.

Designing an API for insurance sales

The minimal set of operations looks similar at most insurers:

  1. Quote: risk data in, options and premiums out, without storing personal data.
  2. Offer: storing the selected option with a validity period, an offer number and the documents to show the customer, meaning the product information document (IPID) and the general terms and conditions.
  3. Policy issuance: customer data, confirmations that the documents were read and the answers from the demands and needs assessment; the response carries the policy number.
  4. Payment and status: confirmation of payment or a payment link.
  5. Documents: downloading the policy and documents as PDF.
  6. Withdrawal and cancellation: with the premium refund calculated.

A few technical decisions save months of fixes:

  • A contract in OpenAPI as the single source of truth for both sides, with examples and a description of errors.
  • Idempotent issuance: a key from the partner ensures that a request repeated after a timeout does not create a second policy.
  • Versioning: a new product version or a new field does not break the integration of a partner that has not updated yet.
  • A uniform error format, for example following RFC 9457, with a code the partner can handle in its own process.
  • Authentication of the partner's system, for example the OAuth 2.0 client credentials flow (RFC 6749), with separate credentials for each partner and each environment.

Personal data is a separate matter. A quote usually does not need it, policy issuance does. Agree in the contract and in the API specification who the data controller is at each stage, which fields the partner passes and how long each side keeps them. A simple way to lower the risk: quote without identifying data, and collect customer data only at issuance, after the option has been chosen.

The API gateway and the rules for publishing interfaces are described in the article on API gateways, and interface security in the text on API security.

Testing partner integrations

A partner integration has two sides, and each releases changes at its own pace. That is why end-to-end tests in a shared environment are not enough: they are slow, and the environments are rarely available at the same time. What works better:

  • contract tests, which make sure a change on the insurer's side does not break the partner's expectations, described in the article on API contract testing;
  • a partner sandbox with test data and predictable responses, including errors and timeouts;
  • performance tests before a partner's campaign, because a comparison site calls the quote service many times more often than it completes a sale;
  • premium consistency tests: the same policy bought through the API, the portal and an agent has the same price, unless the tariff deliberately says otherwise.

How to build one API platform for many intermediaries is shown in the project on an API platform for comparison sites and multi-agencies.

Data to exchange after the sale

The sale is only the beginning. The insurer and the partner then exchange data on payments, cancellations, premium refunds on early loan repayment, complaints and commissions. These flows are often built later than the sales API and end up as files sent by hand. Describe them from the start in the same contract, with the same approach to versioning and testing, because an error in a commission or premium refund settlement quickly turns into complaints and supervisory attention. A good test is a monthly reconciliation: the number of policies and total premiums on the partner's side must match the insurer's data, and every difference has its cause recorded before commissions are paid.

Questions and answers

What is bancassurance?

Bancassurance is a partnership between a bank and an insurer in which the bank offers insurance to its customers, most often linked to a loan, an account or a card. The bank acts as an insurance agent or as the policyholder of a group policy. In Poland good practices in this area are set out in KNF Recommendation U, and distribution rules follow from the IDD and the Polish Insurance Distribution Act.

API or redirect to the insurer's site?

A redirect is faster to launch and leaves disclosure duties with the insurer, but the customer leaves the partner's site. An API lets you weave insurance into the bank's or store's process, but the partner has to present the documents correctly and record the confirmations. The choice depends on sales volume, the partner's IT team and who should be responsible for presenting information.

How do you avoid a duplicate policy after a network error?

By making the issuance operation idempotent. The partner sends a unique key with the request, and when a repeated request arrives with the same key the insurer returns the policy already issued instead of creating a new one. The key has to be kept for a reasonable time, and the scenarios need testing: timeout, retry, parallel requests with the same key.

How do you test an integration when the partner's environment is unavailable?

With contract tests and a partner simulator. An OpenAPI contract lets you check that both sides are compatible without a shared environment, and the simulator reproduces the partner's behavior, including errors and delays. End-to-end tests in a shared environment come last, for a few key paths before launch.

What it looks like in a project

Changing a policy or claims system? Talk to an engineer who knows insurance products.

Let's talk

Read more: IT in insurance