Account limit changed

This event occurs when an account limit changes.
Generated by: Update account limits
More information: Account limits

Type: object
Domain: ledger
Event: limit_changed
Version: 1

|
account_id required

Title: Account ID
Description: Unique ID associated with the Pismo account.
Type: integer

old_limit required

Type: object

total_credit_limit

Title: Total credit limit
Description: Old value for total credit limit amount on the account.
Type: number
Example:
250.3

max_credit_limit

Title: Max credit limit
Description: Old value for maximum credit limit amount approved for the account.
Type: number
Example:
230.3

total_overdraft_limit

Title: Total overdraft limit
Description: Old value for maximum amount approved for overdraft spending on the account.
Type: number
Example:
100.3

withdrawal_credit_limit

Title: Withdrawal credit limit
Description: Old value for maximum withdrawal credit amount on the account.
Type: number
Example:
450.3

percentage_over_limit

Title: Percentage over limit
Description: Old value for percentage of the maximum credit limit (max_credit_limit) made available for purchases over the credit limit on the account.
Type: number
Example:
2.5

total_installment_credit_limit

Title: Total installments credit limit
Description: Amount limit for installments in the credit account.
Type: number
Example:
1200.5

new_limit required

Type: object

total_credit_limit

Title: Total credit limit
Description: New value for total credit limit amount on the account.
Type: number
Example:
260.3

max_credit_limit

Title: Max credit limit
Description: New value for maximum credit limit amount approved for the account.
Type: number
Example:
240.3

total_overdraft_limit

Title: Total overdraft limit
Description: New value for maximum amount approved for overdraft spending on the account.
Type: number
Example:
110.3

withdrawal_credit_limit

Title: Withdrawal credit limit
Description: New value for maximum withdrawal credit amount on the account.
Type: number
Example:
460.3

percentage_over_limit

Title: Percentage over limit
Description: New value for percentage of the maximum credit limit (max_credit_limit) made available for purchases over the credit limit on the account.
Type: number
Example:
7.52

total_installment_credit_limit

Title: The total installments credit limit
Description: The total installments credit limit
Type: number
Example:
1200.5

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "title": "Account limit changed",
    "description": "This event occurs when an account limit changes. \n Generated by: <a href='https://developers.pismo.io/pismo-docs/reference/patch-v1-account-limit' target='_blank'>Update account limits</a> \n More information: <a href='https://developers.pismo.io/pismo-docs/docs/working-with-limits-objects' target='_blank'>Account limits</a>",
    "required": [
        "account_id",
        "old_limit",
        "new_limit"
    ],
    "properties": {
        "account_id": {
            "type": "integer",
            "title": "Account ID",
            "description": "Unique ID associated with the Pismo account."
        },
        "old_limit": {
            "type": "object",
            "properties": {
                "total_credit_limit": {
                    "type": "number",
                    "title": "Total credit limit",
                    "description": "Old value for total credit limit amount on the account.",
                    "examples": [
                        250.3
                    ]
                },
                "max_credit_limit": {
                    "type": "number",
                    "title": "Max credit limit",
                    "description": "Old value for maximum credit limit amount approved for the account.",
                    "examples": [
                        230.3
                    ]
                },
                "total_overdraft_limit": {
                    "type": "number",
                    "title": "Total overdraft limit",
                    "description": "Old value for maximum amount approved for overdraft spending on the account.",
                    "examples": [
                        100.3
                    ]
                },
                "withdrawal_credit_limit": {
                    "type": "number",
                    "title": "Withdrawal credit limit",
                    "description": " Old value for maximum withdrawal credit amount on the account.",
                    "examples": [
                        450.3
                    ]
                },
                "percentage_over_limit": {
                    "type": "number",
                    "title": "Percentage over limit",
                    "description": " Old value for percentage of the maximum credit limit (max_credit_limit) made available for purchases over the credit limit on the account.",
                    "examples": [
                        2.5
                    ]
                },
                "total_installment_credit_limit": {
                    "type": "number",
                    "title": "Total installments credit limit",
                    "description": "Amount limit for installments in the credit account.",
                    "examples": [
                        1200.5
                    ]
                }
            }
        },
        "new_limit": {
            "type": "object",
            "properties": {
                "total_credit_limit": {
                    "type": "number",
                    "title": "Total credit limit",
                    "description": "New value for total credit limit amount on the account.",
                    "examples": [
                        260.3
                    ]
                },
                "max_credit_limit": {
                    "type": "number",
                    "title": "Max credit limit",
                    "description": "New value for maximum credit limit amount approved for the account.",
                    "examples": [
                        240.3
                    ]
                },
                "total_overdraft_limit": {
                    "type": "number",
                    "title": "Total overdraft limit",
                    "description": "New value for maximum amount approved for overdraft spending on the account.",
                    "examples": [
                        110.3
                    ]
                },
                "withdrawal_credit_limit": {
                    "type": "number",
                    "title": "Withdrawal credit limit",
                    "description": "New value for maximum withdrawal credit amount on the account.",
                    "examples": [
                        460.3
                    ]
                },
                "percentage_over_limit": {
                    "type": "number",
                    "title": "Percentage over limit",
                    "description": "New value for percentage of the maximum credit limit (`max_credit_limit`) made available for purchases over the credit limit on the account.",
                    "examples": [
                        7.52
                    ]
                },
                "total_installment_credit_limit": {
                    "type": "number",
                    "title": "The total installments credit limit",
                    "description": "The total installments credit limit",
                    "examples": [
                        1200.5
                    ]
                }
            }
        }
    }
}