Quick Summary

Embedded insurance is opening new opportunities for insurers, but connecting modern distribution channels with established insurance systems can be challenging. This article looks at how one integration approach helped bridge that gap while keeping existing operations intact, and the practical considerations insurers should understand before taking a similar path.

Introduction

Embedded Insurance is integrating insurance into the same journey as where the customer currently purchases, books, finances, or subscribes. Mordor Intelligence found that placements via Online and API-first were responsible for 76.38% of the total embedded insurance market in 2025, and the total market was worth $13.88 billion in 2025.

For insurers and MGAs, the opportunity is clear. The harder question is how to support these digital channels when the underlying policy administration and billing systems were built for a very different operating model.

In this article, we walk through our process in implementing an embedded insurance API integration for a client who had a legacy system in terms of both policies and billing. We discuss our approach with respect to architecture, transaction flow, failure management, security, reconciliation, and results obtained.

What an Embedded Insurance API Integration Actually Connects

An embedded insurance API connects the partner’s checkout or application flow with the checkout and application process of the partner with the insurance company’s systems for quotes, policies, and premiums, and hence allow the processes to be done within the partner’s process without having to move the whole insurance process to a new core.

This means that the insurance embedded API should integrate the distributor/partner with the systems handling quotes, policy administration, billing, payment, accounting, and downstream reporting. The challenge is that the API should handle systems that may have different formats and transaction cycles.

An architecture typically includes:

  • Distribution partner: The marketplace, app, checkout, lender, retailer, or other platform where the insurance offer appears.
  • API gateway: Handles external API traffic, authentication, rate controls, and routing.
  • Orchestration layer: Coordinates quote, bind, policy, payment, and downstream workflows.
  • Policy Administration System: Maintains policy records and manages policy lifecycle events.
  • Billing system: Handles premiums, invoices, installments, adjustments, cancellations, and refunds.
  • Payment system: Processes and confirms customer or partner payments.
  • Accounting system: Records financial transactions and ledger activity.
  • Claims and reporting systems: Consume policy and transaction data for downstream operations.
  • Embedded Insurance API Architecture: Gateway, Orchestration Layer and Event Flow

    The architecture should separate the partner-facing experience from the systems responsible for core insurance operations.

    Embedded Insurance API Architecture

    This separation lets the partner interact with a consistent interface while the orchestration layer manages the differences between internal systems.

    Why the API Layer Matters

    The embedded insurance API should not simply forward requests from a partner to the PAS. It should control how requests enter the insurance environment.

    For instance, if the partner needs a quote, the API layer will ensure validation of required fields, authentication of the caller, application of product policies, conversion of the data package into PAS compatible format, and consistent responses from the system. Such a layer can manage issuance of policies, billing, payment status, retries, transaction IDs, and notifications downstream.

    This separation will also ensure that the partner will not need to know about the PAS architecture, whether the PAS is using REST, SOAP, stored procedures, scheduled jobs, etc.

    Why Traditional Insurance Integrations Struggle With Embedded Distribution

    The difficulty is usually not the first successful API call. It is everything that happens around it.

    Real-Time Customer Journeys vs. Batch-Based Core Systems

    A customer purchasing insurance during checkout expects an immediate result.

    The journey may look like this:

    Customer data → Eligibility → Quote → Acceptance → Payment → Policy issuance

    A legacy core may use scheduled jobs, files, or batch processing as well. It is not always required to have a real-time interaction with every system internally. It would be more effective to separate the customer-facing process from the back-office process that can happen afterward. The Quote and Eligibility processes may need to happen in real time.

    Product Configuration Becomes More Complicated

    Embedded distribution does not necessarily imply only one partner and one customer experience. For example, an insurance company could offer its services to the e-commerce site, the lender, the travel firm, and others. They all could have diverse requirements for handling customer data, coverage, eligibility, and transactions.

    Developing distinct product logic for each of the partners leads to maintainability issues. With a configurable product approach, insurance capabilities can still be reused while partner requirements will be implemented on an integration level.

    Billing Does Not Always Follow the Customer Journey

    A policy can be issued in seconds while its financial lifecycle continues for months.

    Depending on the business model:

    • The customer may pay directly.
    • The partner may collect the premium.
    • The insurer may invoice the partner.
    • The policy may use installments.
    • An endorsement may change the premium.
    • A cancellation may require a refund.
    • A failed payment may trigger a retry.

    These events cannot be designed independently of policy status.

    Data Ownership Can Become Unclear

    The partner may have its own customer ID. The PAS may create a policy ID. Billing may create an invoice or transaction ID. The payment provider may use another reference. Those identifiers need to remain connected.

    Before implementation, the team needs to establish which system owns:

    • Customer information
    • Policy status
    • Premium amounts
    • Payment status
    • Refund status
    • Financial records

    Every Transaction Needs to Be Traceable

    A production integration needs to answer more than whether an API request succeeded.

    Teams may need to determine:

    • Which partner initiated the request?
    • Which customer and policy did it relate to?
    • What request ID was used?
    • When did each system receive the event?
    • Did the payment succeed?
    • Did the PAS issue the policy?
    • Where did a failed transaction stop?

    This requires correlation IDs, structured API logs, immutable audit records, timestamps, and monitoring across the transaction lifecycle.

    Is Your Policy and Billing Core Holding Back New Distribution Channels?

    Our insurance software development services help you build the API layer, orchestration, and partner integrations your existing core needs, without replacing it.

    The Client Challenge: Connecting a Legacy Insurance Core to New Distribution Channels

    Modern distribution channels move at a very different pace from traditional insurance systems. For this project, that gap created several challenges that had to be addressed without disrupting the client’s existing operations.

    Policy Administration and Billing Stack We Started With

    The client was a medium-sized insurance company dealing with property and casualty insurance in the North American region. The existing insurance ecosystem was able to take care of a good number of steps in the insurance process cycle.

    The existing stack included:

    • PAS: Guidewire PolicyCenter
    • Billing: Guidewire BillingCenter
    • API gateway: Amazon API Gateway
    • Queue or streaming layer: Apache Kafka
    • Cloud environment: AWS
    • Distribution partners: 8 partners targeted for the initial rollout
    • Integration team: 2 backend engineers, 1 integration architect, 1 QA engineer, and 1 business analyst
    • This customer wanted the ability to provide access to their policy quoting and policy issuance functionality using new digital distribution channels along with retaining the same policy and billing applications.

      This problem was that the new channels required near real-time interactions via an API, but the existing insurance application landscape was built on system interfaces and scheduling.

      The integration therefore had to work around the existing architecture without disrupting the systems already responsible for core insurance operations.

      The Factors that Were Limiting the Client’s Progress

      The initial issue was the onboarding process for partners. Prior to the solution being developed, the onboarding process for a new distribution partner typically took 8 to 10 weeks. The process included partner-specific data mapping, workflow configuration, testing, and billing and reconciliation verification.

      The issue became harder to deal with since the insurance company was planning to expand the use of digital channels. It also increased the amount of work the company had. They were spending 20 to 25 hours per week investigating exceptions for policies, billing, and payments.

      For instance, one transaction could be completed in PAS but not in billing while another transaction might have been completed in billing but not in PAS. This necessitated that operations and finance people reconcile transactions in order to identify the status of each transaction.

      In essence, the integration process would need to consider the entire transaction life cycle, starting from quote and binding through to policy creation, billing, payments, accounts, and reconciliation.

      Why Slow Partner Onboarding and Billing Exceptions Cost Insurers Revenue

      Every additional week required to onboard a distribution partner delayed the commercial value of that relationship. The operational cost was equally important. Each unresolved exception created another investigation for finance, operations, or customer support.

      The project started with the following baseline:

      MetricBaseline
      Partner onboarding time8 to 10 weeks
      Quote response time1.5 to 2.0 seconds
      Manual reconciliation effort20 to 25 hours/week
      Reconciliation exception rate4% to 5% of transactions
      Partners targeted in initial rollout8
      Core policy platformGuidewire PolicyCenter
      Billing platformGuidewire BillingCenter

      With these figures, the nature of the problem was well understood. The insurance company did not just require more endpoints. It required a uniform integration level that would manage varied partner payloads, coordinate policies and financial processes, handle asynchronous processing, and maintain a transactional trail.

      How We Built the Integration

      The solution was developed based on the real policy and financial processes of the client. We built the solution in eight steps, each targeting one specific problem in the policy and billing lifecycle.

      1. We Mapped the Policy and Billing Workflows

      We first mapped the existing policy, billing, payment, accounting, and downstream processes before introducing new integration logic.

      We reviewed:

      • Policy creation and updates
      • Existing interfaces
      • Billing workflows
      • Payment processing
      • Data structures
      • Batch jobs
      • Downstream dependencies
      • Failure points
      • Reconciliation processes

      We also identified the system of record for each major data element. For example, policy status was determined through PAS; payment status was determined through the payment system, and financial postings were made using the accounting system. Thus, the integration would not result in duplication of transactions.

      The mapping of workflows enabled us to distinguish those operations that required a timely response and those that did not.

      2. We Added an Embedded Insurance API Layer

      We placed an embedded insurance API layer between the distribution channels and the existing insurance systems.

      The Amazon API Gateway handled external traffic, while the orchestration layer managed the business workflow between partners, PolicyCenter, BillingCenter, payment services, and downstream systems.

      The implementation handled:

      • OAuth 2.0 client credentials for partner authentication
      • Request validation
      • Payload transformation
      • Quote requests
      • Eligibility checks
      • Policy issuance
      • Transaction correlation
      • Retry handling
      • Error responses
      • Partner-specific routing

      The PAS did not need to understand every partner’s interface. The integration layer translated partner requests into the structures expected by the underlying insurance systems and returned consistent responses to the distribution channel.

      This also gave the team a controlled place to introduce partner-specific requirements without modifying the core policy platform for every new integration.

      3. We Created a Configurable Product Model

      We designed the integration so that partner-specific requirements could be configured without duplicating the underlying insurance workflow.

      The product model accounted for differences in:

      • Coverage
      • Eligibility
      • Pricing inputs
      • Customer data
      • Partner workflow
      • Transaction requirements

      This allowed the same core capabilities to support different distribution experiences. Instead of building a separate policy integration for each partner, the orchestration layer could apply the appropriate configuration before sending the transaction to the existing insurance systems.

      4. We Combined Real-Time and Asynchronous Processing

      We separated customer-facing transactions from processes that did not require an immediate response.

      Real-time processing handled activities such as:

      • Eligibility checks
      • Quote requests
      • Customer acceptance
      • Bind or policy issuance

      Asynchronous processing handled activities such as:

      • Accounting updates
      • Reconciliation
      • Reporting
      • Downstream notifications
      • Back-office posting

      Apache Kafka provided the event and queue layer for these asynchronous workflows. This separation allowed slower processes downstream not to hinder customer-related transactions needlessly. This division provided the integration with a mechanism of continuing with less critical activities in case one of the downstream systems was temporarily unavailable.

      5. We Connected Policy Transactions With Billing and Payments

      We treated billing as part of the policy lifecycle rather than as a separate integration.

      For a new policy, the relationship was:

      Policy → Premium → Payment → Billing record

      For an endorsement:

      Endorsement → Premium adjustment → Billing update

      For a cancellation:

      Cancellation → Premium calculation → Refund or outstanding balance

      Payment failures also required defined states and retry behavior. A failed payment couldn’t be treated as a payment issue alone, because it affected policy status, billing records, and customer communication. The integration therefore created a relationship among the policy transaction, payment transaction, and billing record.

      6. We Automated Reconciliation Across Systems

      Once several systems participated in the same transaction, reconciliation became a core requirement.

      We connected the transaction chain:

      Partner transaction → Policy → Premium → Payment → Ledger

      The reconciliation process identified exceptions such as:

      • Policy without corresponding payment
      • Payment without policy reference
      • Duplicate transaction
      • Missing transaction
      • Incorrect premium
      • Failed downstream update

      Rather than requiring the operations teams to make manual comparisons between records, the process revealed which transactions were actually exceptions.

      The initial exception rate for reconciliation was around 4% to 5% of transactions, with the goal being to reduce this to less than 2% once implemented.

      In addition, the manual effort required was aimed to be reduced from around 20 to 25 hours a week to 8 to 10 hours a week through the automatic matching of relevant policy, payment, billing, and ledger records.

      7. We Added Security, Logging, and Audit Controls

      Both security and traceability were considered during the process of integration instead of at the end when the transaction flow was already completed. The partner authentication used OAuth 2.0 Client Credentials and API access control through gateway policies.

      Other controls included:

      • Field-level encryption for sensitive customer and policy data
      • Immutable audit logs for policy and transaction events
      • Correlation IDs across partner, API, PAS, billing, and payment requests
      • Role-based access for internal operations
      • API rate limiting
      • Monitoring for failed or unusual transaction patterns

      The architecture also maintained a transaction trail that allowed the team to follow a request from the originating distribution partner through the API layer, policy system, billing system, and downstream financial processes.

      8. We Tested With a Controlled Rollout

      We started with a controlled partner rollout rather than opening the integration to all eight distribution channels simultaneously.

      The rollout followed:

      Pilot partner → Core workflow testing → Exception testing → Production launch → Additional partners

      Testing covered the normal customer journey as well as failure scenarios.

      We tested:

      • Duplicate quote requests
      • Duplicate bind requests
      • API timeouts
      • Payment failures
      • Policy cancellations
      • Refunds
      • Endorsements
      • Billing failures
      • Partial system failures
      • Retry scenarios
      • Reconciliation exceptions

      The first partner was targeted for production launch within 6 weeks, compared with the previous 8 to 10 week onboarding cycle. The target quote response time was approximately 1.2 seconds, compared with the previous 1.5 to 2.0 second baseline.

      Handling Partial Failures Between Policy, Billing and Payment Systems

      A successful response from one system did not guarantee that the complete insurance transaction had finished.
      For example:

      Payment succeeds → PAS unavailable → Policy not issued

      Or:

      Policy issued → Billing update fails → Financial record incomplete

      We handled these situations by defining explicit transaction states rather than treating every workflow as one atomic API call.

      Pending-Bind Status

      Where the workflow required it, a transaction could remain in a controlled pending-bind state while dependent operations completed. This prevented the system from incorrectly representing a transaction as fully completed when one downstream step had failed.

      Saga and Compensating Actions

      For multi-system workflows, we defined recovery behavior for situations where a later transaction failed.

      For example:

      Quote → Payment → Bind → Billing → Accounting

      If the billing was unsuccessful after the binding of the policy, the system moved the transaction in a pending or exception state and then taken the appropriate action.

      When reversal of the transaction was necessary according to business rules, the compensating action would be performed instead of repeating the transaction.

      Outbox Pattern

      For events that needed to move reliably from a transactional system to Kafka, we used an outbox-style approach. The event was first recorded as part of the relevant transaction. A separate process then published it to the event stream.

      This reduced the risk of a database transaction committing while its downstream event was lost. The key principle of design was that each inter-system transaction must have a fail state and a way of recovering from it.

      Idempotency and Duplicate Quote or Bind Requests

      Embedded distribution also introduces duplicate requests. This could be caused by the partner sending back the same request, as it did not receive a reply to the previous request, although the previous one was successfully processed.

      Without idempotency, that retry could create:

      • Duplicate quotes
      • Duplicate policies
      • Duplicate payments
      • Duplicate billing entries

      We therefore treated idempotency as part of the transaction design. Each business transaction could carry an idempotency key that allowed the integration layer to determine whether the request had already been processed.

      If the original operation had completed, the system returned the existing result instead of executing the operation again. The same principle applied to timeouts. A timeout did not automatically mean that the transaction had failed. The system first checked the current transaction state before allowing the partner to retry the operation.

      Can Your Integration Survive Retries, Timeouts, and Partial Failures?

      Our insurance software testing services validate every quote, bind, billing, and payment flow across your PAS, billing system, and partner APIs before launch.

      Embedded Insurance Compliance: Licensing, Audit Trails and Data Protection

      Adding a digital distribution channel did not remove the insurer’s existing regulatory obligations. The integration therefore had to support the compliance requirements associated with the insurance products and jurisdictions involved.

      Licensing and Distribution Responsibilities

      Before partner onboarding, the workflow needed to establish:

      • Which entity was underwriting the policy
      • Which entity was distributing or presenting the product
      • Where the customer was located
      • Who was permitted to market or bind the coverage
      • Which jurisdiction-specific requirements applied

      The technical architecture could enable a transaction, but it could not determine whether a particular entity was legally permitted to sell or bind a product.

      Audit Trails

      The integration maintained enough transaction information to reconstruct important policy events.

      This included:

      • Partner identity
      • Request timestamp
      • Customer or policy reference
      • Product version
      • Quote result
      • Bind decision
      • Payment status
      • Policy status
      • Changes made after issuance

      Correlation IDs connected these events across the partner, API, policy, billing, and payment layers. That made it possible to investigate a failed policy or billing transaction without relying on isolated application logs from individual systems.

      Data Protection

      Furthermore, the integration ensured that unnecessary transfer of customer information from one system to another was avoided. For data transferred across system boundaries was encrypted, access control, retention policy, and field-level security, according to the respective requirements.

      Compliance requirements therefore became architecture inputs and not documents created after deployment.

      Results: Faster Partner Onboarding and Fewer Reconciliation Exceptions

      The integration changed both the partner onboarding process and the operational workload surrounding policy and billing transactions.

      The key project targets and outcomes were:

      MetricBeforeAfter
      Partner onboarding time8 to 10 weeks~6 weeks
      Quote response time1.5 to 2.0 sec~1.2 sec
      Manual reconciliation effort20 to 25 hrs/week~8 to 10 hrs/week
      Reconciliation exception rate4% to 5%~1.8%
      Initial distribution rollout8 partners targetedPilot-first rollout

      The biggest improvement was not simply the faster API response.

      The integration gave the insurer a repeatable way to onboard distribution partners without creating a new point-to-point connection for every channel. At the same time, transaction states, idempotency controls, event processing, and automated reconciliation reduced the amount of manual work required when policy, billing, and payment systems did not complete a transaction at the same time.

      The architecture also created a clearer operational boundary between the digital distribution channels and the insurer’s existing core systems.

      Questions to answer before starting

      Leadership teams should establish:

      • What system is the source of truth for each major data type?
      • Which transactions require real-time processing?
      • Which processes can remain asynchronous?
      • How complex are billing and payment workflows?
      • How will endorsements and cancellations work?
      • Who owns customer and payment data?
      • How many partners need to be supported?
      • What licensing requirements apply?
      • What audit and data protection requirements apply?
      • Can the existing core handle the expected transaction volume?
      • What happens if the PAS, billing system, or payment provider becomes unavailable?

      These questions provide a stronger basis for the architecture decision than choosing an API technology first.

      Conclusion

      Embedded insurance depends on more than connecting a digital channel to a policy system. An embedded insurance API needs to keep policy, billing, payment, and reconciliation workflows coordinated while handling failures, retries, security, and audit requirements. That is where the right integration architecture makes the difference.

      At Bacancy Technology, our insurance IT services and solutions help insurers and MGAs connect modern distribution channels with existing insurance infrastructure without disrupting core operations. The goal is a reliable integration that supports today’s digital journeys while creating a practical foundation for future modernization.

Hardik Patel

Hardik Patel

Technical Lead at Bacancy

Specializes in .NET Core, Web API, MVC, SQL, and Entity Framework, with a focus on clean code and scalable architecture

CONNECT WITH THE AUTHOR
SUBSCRIBE NEWSLETTER