Loan booked

Event generated when a loan is booked.

Type: object
Domain: lending
Event: loan_booking
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

external_id

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

loan_id required

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

current_loan_status required

Title: The loan current status
Description: This field identifies the current satus of the loan. At this moment will be set as BOOKED
Type: string

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

account_id required

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

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

loan_amount required

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

start_date required

Title: The loan start date
Description: This field identifies the loan start date.
Type: string
Format: date
Example:
2022-10-24

created_at required

Title: The loan creation date
Description: This field identifies the loan creation date.
Type: string
Format: date-time
Example:
2022-10-24T21:34:47

{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "title": "Loan booked",
    "description": "Event generated when a loan is booked.",
    "required": [
        "org_id",
        "loan_id",
        "current_loan_status",
        "product_id",
        "account_id",
        "entity_id",
        "loan_amount",
        "start_date",
        "created_at"
    ],
    "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"
            ]
        },
        "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"
            ]
        },
        "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"
            ]
        },
        "current_loan_status": {
            "$id": "#/properties/current_loan_status",
            "type": "string",
            "title": "The loan current status",
            "description": "This field identifies the current satus of the loan. At this moment will be set as BOOKED",
            "default": "BOOKED"
        },
        "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"
            ]
        },
        "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
            ]
        },
        "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
            ]
        },
        "loan_amount": {
            "$id": "#/properties/loan_amount",
            "type": "number",
            "title": "The loan amount",
            "description": "This field identifies the loan amount.",
            "examples": [
                1000.0
            ]
        },
        "start_date": {
            "$id": "#/properties/start_date",
            "type": "string",
            "format": "date",
            "title": "The loan start date",
            "description": "This field identifies the loan start date.",
            "examples": [
                "2022-10-24"
            ]
        },
        "created_at": {
            "$id": "#/properties/created_at",
            "type": "string",
            "format": "date-time",
            "title": "The loan creation date",
            "description": "This field identifies the loan creation date.",
            "examples": [
                "2022-10-24T21:34:47"
            ]
        }
    }
}