Skip to main content

Introduction

This guide describes the Life Savings & Protection (Life S&P) APIs available on Yasmina’s platform for bank channel integrations. These APIs cover the core operations required for life insurance workflows, including generating offers, issuing policies, listing policies, canceling policies, and submitting claims. Our APIs follow the RESTful standard and are designed with consistent request and response structures to make integration, testing, and maintenance easier.

What you will learn

  • Generating Life S&P offers
  • Issuing life policies based on selected offers
  • Retrieving created policies
  • Canceling policies
  • Submitting claims

Prerequisites

  1. Account in Yasmina - See the Onboarding section for details.
  2. Authenticated Token - Follow the Authentication guide to generate one.
  3. Backend server - Required to securely call Yasmina APIs.

Offers

Generate offers

To generate offers, use the Life S&P Products API. This endpoint (POST /api/v1/life-snp/offers) returns premium and coverage options for a customer. The following fields are used when requesting offers. Example request:
Example response:

Policies

Issue policies

To issue policies, use the Issue Policy API. This endpoint (POST /api/v1/life-snp/policies) issues a policy from a selected offer. The following fields are required when creating a Life S&P policy. Example request:
Example response:

Retrieving the policy object again

You can retrieve previously created policies at any time using the List Policies API. Example request:

Policy cancellation

Use the Cancel Policy API to request cancellation. This endpoint is POST /api/v1/life-snp/policies/{lifePolicy}/cancellation. You can optionally upload a supporting file as cancellation_document. Example request:
Example successful response:

Claims

Use the Submit Claim API to submit a life claim. This endpoint is POST /api/v1/life-snp/policies/{policyId}/claims. Example request:
Example response: