Underwriting Rail
Underwriting Rail
Section titled “Underwriting Rail”Risk underwriting, proposal evaluation, and approval workflows.
Overview
Section titled “Overview”The Underwriting Rail provides endpoints for evaluating risk proposals, managing underwriting workflows, and automated decision-making.
Base URL
Section titled “Base URL”/api/v1/underwritingEndpoints
Section titled “Endpoints”Create Proposal
Section titled “Create Proposal”POST /api/v1/underwriting/proposalsSubmit a new underwriting proposal.
Request Body:
{ "type": "TAKAFUL", "applicantId": "cust_123", "productCode": "TAK_LIFE_001", "coverageAmount": "1000000.00", "currency": "SAR", "term": 20, "applicantData": { "age": 35, "occupation": "PROFESSIONAL", "smoker": false, "healthDeclarations": [] }}Response:
{ "data": { "proposalId": "prop_abc123", "status": "PENDING_EVALUATION", "submittedAt": "2025-01-15T10:00:00Z", "estimatedDecision": "2025-01-16T10:00:00Z" }}Evaluate Proposal
Section titled “Evaluate Proposal”POST /api/v1/underwriting/proposals/:proposalId/evaluateTrigger automated evaluation.
Response:
{ "data": { "proposalId": "prop_abc123", "decision": "APPROVED", "riskClass": "STANDARD", "premium": "5000.00", "premiumFrequency": "ANNUAL", "loadings": [], "exclusions": [], "conditions": ["Medical exam required for coverage > 2M"], "validUntil": "2025-02-15" }}Get Proposal
Section titled “Get Proposal”GET /api/v1/underwriting/proposals/:proposalIdRetrieve proposal details.
List Proposals
Section titled “List Proposals”GET /api/v1/underwriting/proposalsQuery Parameters:
| Parameter | Type | Description |
|---|---|---|
status | string | Filter by status |
type | string | Filter by proposal type |
assignedTo | string | Filter by underwriter |
Manual Review
Section titled “Manual Review”POST /api/v1/underwriting/proposals/:proposalId/reviewSubmit manual review decision.
Request Body:
{ "decision": "APPROVED_WITH_CONDITIONS", "riskClass": "SUBSTANDARD", "loadings": [ { "type": "OCCUPATIONAL", "percent": 25, "reason": "High-risk occupation" } ], "exclusions": ["Aviation activities"], "notes": "Manual review due to occupation"}Calculate Premium
Section titled “Calculate Premium”POST /api/v1/underwriting/premium/calculateCalculate premium for a proposal.
Request Body:
{ "productCode": "TAK_LIFE_001", "coverageAmount": "1000000.00", "term": 20, "riskClass": "STANDARD", "loadings": []}Get Risk Classes
Section titled “Get Risk Classes”GET /api/v1/underwriting/risk-classesGet available risk classes and criteria.
Proposal Types
Section titled “Proposal Types”| Type | Description |
|---|---|
| TAKAFUL | Takaful insurance |
| FINANCING | Financing facility |
| INVESTMENT | Investment product |
| TRADE | Trade finance |
Decision Types
Section titled “Decision Types”| Decision | Description |
|---|---|
| APPROVED | Automatically approved |
| APPROVED_WITH_CONDITIONS | Approved with conditions |
| REFER | Referred for manual review |
| DECLINED | Application declined |
| PENDING_INFO | Additional info needed |
Risk Classes
Section titled “Risk Classes”| Class | Description |
|---|---|
| PREFERRED | Better than standard risk |
| STANDARD | Normal risk |
| SUBSTANDARD | Higher than standard risk |
| DECLINED | Unacceptable risk |
Events
Section titled “Events”| Event | Description |
|---|---|
underwriting.proposal.submitted | Proposal submitted |
underwriting.proposal.evaluated | Evaluation completed |
underwriting.proposal.approved | Proposal approved |
underwriting.proposal.declined | Proposal declined |
underwriting.proposal.referred | Referred for review |
See Also
Section titled “See Also”- Risk Rail - Risk assessment
- Contracts Rail - Contract creation