Loan status changed
Event generated when the status of a loan changes.
Type: object
Domain: lending
Event: loan_status_change
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
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
current_loan_status required
Title: The loan current status
Description: This field identifies the current 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
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 status changed",
"description": "Event generated when the status of a loan changes.",
"required": [
"org_id",
"loan_id",
"previous_loan_status",
"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"
]
},
"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"
]
},
"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.",
"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"
]
},
"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"
]
}
}
}
{
"org_id": "89e56522-726a-453e-ba6d-796b03245128",
"external_id": "cca6041c-b57d-44cf-a203-eeea22723878",
"loan_id": "ded913af-abc9-4769-b179-068ed6181ec5",
"previous_loan_status": "BOOKED",
"current_loan_status": "BOOKED",
"product_id": "89e56522-726a-453e-ba6d-796b03245128",
"account_id": 104336697,
"entity_id": 102869975,
"loan_amount": 1000.0,
"start_date": "2022-10-24",
"created_at": "2022-10-24T21:34:47"
}
Updated about 7 hours ago