Credit Life Claims

Create Credit Life Claims

CREATE CREDIT LIFE CLAIMS

POST https://sandbox.insurpass.com/api/merchant/credit_life_claims

This endpoint allows users to create credit life claims.

Headers

NameTypeDescription

Authorization*

String

Bearer {$secret-key}/{$api-key}

Content-Type*

String

application/json

Request Body

NameTypeDescription

policy_no*

string

The unique number that identifies the purchased insurance policy - IN98570819

loan_balance*

numeric

The amount left to complete the repayment of the loan. - 200,000

{
    "success": true,
    "data": {
        "id": 1,
        "claim_id": "5cf3c24e-4c63-4b7d-8689-7250618befcd",
        "claim_number": "TGC7582803",
        "loan_balance": "100.00",
        "claim_created_at": "2021-07-08T15:01:02.000000Z",
        "status": "Pending",
        "policy_id": 4,
        "created_at": "2021-07-08T15:00:57.000000Z",
        "updated_at": "2021-07-08T15:00:57.000000Z"
    },
    "response_message": "Credit Life Claims saved successfully",
    "response_code": ""
}

Retrieve all Credit Life claims Initiated

ALL CREDIT LIFE CLAIMS

GET https://sandbox.insurpass.com/api/merchant/credit_life_claims

Headers

NameTypeDescription

Authorization*

String

Bearer {$secret-key}/{$api-key}

Content-Type

String

application/json

{
    "success": true,
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1,
                "claim_id": "5cf3c24e-4c63-4b7d-8689-7250618befcd",
                "claim_number": "TGC7582803",
                "loan_balance": "100.00",
                "claim_created_at": "2021-07-08T15:01:02.000000Z",
                "status": "Pending",
                "policy_id": 4,
                "merchant_id": 1,
                "created_at": "2021-07-08T15:00:57.000000Z",
                "updated_at": "2021-07-08T15:00:57.000000Z",
                "company_id": "1a9b1e43-8946-4bb7-80d5-bbeef80ecc8e"
            }
        ],
        "first_page_url": "http://sandbox.insurpass.com/merchant/credit_life_claims?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://sandbox.insurpass.com/merchant/credit_life_claims?page=1",
        "next_page_url": null,
        "path": "http://sandbox.insurpass.com/merchant/credit_life_claims",
        "per_page": 15,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    },
    "response_message": "Credit Life Claims retrieved successfully",
    "response_code": ""
}

Retrieve details of Credit Life Claims

ALL CREDIT LIFE CLAIM DETAILS

GET https://sandbox.insurpass.com/api/merchant/credit_life_claims/{id}

Headers

NameTypeDescription

Authorization*

String

Bearer {$secret-key}/{$api-key}

Content-Type*

String

application/json

{
    "success": true,
    "data": {
        "id": 1,
        "claim_id": "5cf3c24e-4c63-4b7d-8689-7250618befcd",
        "claim_number": "TGC7582803",
        "loan_balance": "100.00",
        "claim_created_at": "2021-07-08T15:01:02.000000Z",
        "status": "Pending",
        "policy_id": 4,
        "created_at": "2021-07-08T15:00:57.000000Z",
        "updated_at": "2021-07-08T15:00:57.000000Z"
    },
    "response_message": "Credit Life Claims saved successfully",
    "response_code": ""
}

Archive Credit Life Claims

ARCHIVE CREDIT LIFE CLAIM

PUT https://sandbox.insurpass.com/api/merchant/credit_life_claims/{id}/archive

This endpoint allows a merchant to temporarily halt their customer's credit life claims request.

Headers

NameTypeDescription

Authorization*

String

Bearer {$secret-key}/{$api-key}

Content-Type*

String

application/json

{
    "success": true,
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1,
                "claim_id": "5cf3c24e-4c63-4b7d-8689-7250618befcd",
                "claim_number": "TGC7582803",
                "loan_balance": "100.00",
                "claim_created_at": "2021-07-08T15:01:02.000000Z",
                "status": "Pending",
                "policy_id": 4,
                "merchant_id": 1,
                "created_at": "2021-07-08T15:00:57.000000Z",
                "updated_at": "2021-07-08T15:00:57.000000Z",
                "company_id": "1a9b1e43-8946-4bb7-80d5-bbeef80ecc8e"
            }
        ],
        "first_page_url": "http://sandbox.insurpass.com/merchant/credit_life_claims?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://sandbox.insurpass.com/merchant/credit_life_claims?page=1",
        "next_page_url": null,
        "path": "http://sandbox.insurpass.com/merchant/credit_life_claims",
        "per_page": 15,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    },
    "response_message": "Archived",
    "response_code": ""
}

Last updated