Loan canceled

Event generated when a loan is canceled.

Type: object
Domain: lending
Event: loan_cancellation
Version: 1

|
org_id required

Title: The org identifier
Description: This field identifies the organization that is owner of this loan.
Type: string
Example:
89e56522-726a-453e-ba6d-796b03245128

loan_id required

Title: The loan identifier
Description: This field identifies the id of the loan.
Type: string
Example:
ded913af-abc9-4769-b179-068ed6181ec5

loan_amount required

Title: The loan amount
Description: This field identifies the loan amount.
Type: number
Example:
1000.0

previous_loan_status required

Title: The loan previous status
Description: This field identifies the previous satus of the loan.
Type: string
Example:
BOOKED
ACTIVE
SETTLED

product_id required

Title: The product identifier
Description: This field identifies the id of the product.
Type: string
Example:
89e56522-726a-453e-ba6d-796b03245128
BNPL_PRODUCT_2022

entity_id required

Title: The loan entity id
Description: This field identifies the entity id that is owner of this loan.
Type: number
Example:
102869975

account_id required

Title: The loan account id
Description: This field identifies the account id of the loan.
Type: number
Example:
104336697

external_id required

Title: The loan external id
Description: This field identifies the external id of the loan.
Type: string
Example:
cca6041c-b57d-44cf-a203-eeea22723878

{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "title": "Loan canceled",
    "description": "Event generated when a loan is canceled.",
    "required": [
        "org_id",
        "loan_id",
        "loan_amount",
        "previous_loan_status",
        "product_id",
        "entity_id",
        "account_id",
        "external_id"
    ],
    "properties": {
        "org_id": {
            "$id": "#/properties/org_id",
            "type": "string",
            "title": "The org identifier",
            "description": "This field identifies the organization that is owner of this loan.",
            "examples": [
                "89e56522-726a-453e-ba6d-796b03245128"
            ]
        },
        "loan_id": {
            "$id": "#/properties/loan_id",
            "type": "string",
            "title": "The loan identifier",
            "description": "This field identifies the id of the loan.",
            "examples": [
                "ded913af-abc9-4769-b179-068ed6181ec5"
            ]
        },
        "loan_amount": {
            "$id": "#/properties/loan_amount",
            "type": "number",
            "title": "The loan amount",
            "description": "This field identifies the loan amount.",
            "examples": [
                1000.0
            ]
        },
        "previous_loan_status": {
            "$id": "#/properties/previous_loan_status",
            "type": "string",
            "title": "The loan previous status",
            "description": "This field identifies the previous satus of the loan.",
            "examples": [
                "BOOKED",
                "ACTIVE",
                "SETTLED"
            ]
        },
        "product_id": {
            "$id": "#/properties/product_id",
            "type": "string",
            "title": "The product identifier",
            "description": "This field identifies the id of the product.",
            "examples": [
                "89e56522-726a-453e-ba6d-796b03245128",
                "BNPL_PRODUCT_2022"
            ]
        },
        "entity_id": {
            "$id": "#/properties/entity_id",
            "type": "number",
            "title": "The loan entity id",
            "description": "This field identifies the entity id that is owner of this loan.",
            "examples": [
                102869975
            ]
        },
        "account_id": {
            "$id": "#/properties/account_id",
            "type": "number",
            "title": "The loan account id",
            "description": "This field identifies the account id of the loan.",
            "examples": [
                104336697
            ]
        },
        "external_id": {
            "$id": "#/properties/external_id",
            "type": "string",
            "title": "The loan external id",
            "description": "This field identifies the external id of the loan.",
            "examples": [
                "cca6041c-b57d-44cf-a203-eeea22723878"
            ]
        }
    }
}
{
    "org_id": "89e56522-726a-453e-ba6d-796b03245128",
    "loan_id": "ded913af-abc9-4769-b179-068ed6181ec5",
    "loan_amount": 1000.0,
    "previous_loan_status": "BOOKED",
    "product_id": "89e56522-726a-453e-ba6d-796b03245128",
    "entity_id": 102869975,
    "account_id": 104336697,
    "external_id": "cca6041c-b57d-44cf-a203-eeea22723878"
}