Repayment authorization schema

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

|
org_id required

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

cid required

Title: The cid identifier
Description: This field identifies the cid of the authorization.
Type: string
Example:
afedc8b0-86b2-41ca-87a3-3481df17261b

loan_id required

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

repayment_id required

Title: The repayment identifier
Description: This field identifies the id of the repayment.
Type: string
Example:
7da3db3b-400d-4851-a362-2022dab27284

authorization_id required

Title: The authorization identifier
Description: This field identifies the id of the repayment authorization.
Type: string
Example:
43316332

amount required

Title: The amount authorized
Description: This field identifies the amount paid on the repayment.
Type: number
Example:
336.66

{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "title": "Repayment authorization schema",
    "required": [
        "cid",
        "org_id",
        "loan_id",
        "repayment_id",
        "authorization_id",
        "amount"
    ],
    "properties": {
        "org_id": {
            "$id": "#/properties/org_id",
            "type": "string",
            "title": "The org identifier",
            "description": "This field identifies the organization of the authorization.",
            "examples": [
                "89e56522-726a-453e-ba6d-796b03245128"
            ]
        },
        "cid": {
            "$id": "#/properties/cid",
            "type": "string",
            "title": "The cid identifier",
            "description": "This field identifies the cid of the authorization.",
            "examples": [
                "afedc8b0-86b2-41ca-87a3-3481df17261b"
            ]
        },
        "loan_id": {
            "$id": "#/properties/loan_id",
            "type": "string",
            "title": "The loan identifier",
            "description": "This field identifies the loan id of the repayment.",
            "examples": [
                "ded913af-abc9-4769-b179-068ed6181ec5"
            ]
        },
        "repayment_id": {
            "$id": "#/properties/repayment_id",
            "type": "string",
            "title": "The repayment identifier",
            "description": "This field identifies the id of the repayment.",
            "examples": [
                "7da3db3b-400d-4851-a362-2022dab27284"
            ]
        },
        "authorization_id": {
            "$id": "#/properties/authorization_id",
            "type": "string",
            "title": "The authorization identifier",
            "description": "This field identifies the id of the repayment authorization.",
            "examples": [
                "43316332"
            ]
        },
        "amount": {
            "$id": "#/properties/amount",
            "type": "number",
            "title": "The amount authorized",
            "description": "This field identifies the amount paid on the repayment.",
            "examples": [
                336.66
            ]
        }
    }
}
{
    "org_id": "89e56522-726a-453e-ba6d-796b03245128",
    "cid": "afedc8b0-86b2-41ca-87a3-3481df17261b",
    "loan_id": "ded913af-abc9-4769-b179-068ed6181ec5",
    "repayment_id": "7da3db3b-400d-4851-a362-2022dab27284",
    "authorization_id": "43316332",
    "amount": 336.66
}