Transactions shifted

When a request is made to shift one or more transactions to another statement, this event is generated after all the specified transactions have been shifted.

Type: object
Domain: balance
Event: shift_transactions
Version: 1

|
transaction_statement_shift_id required

Description: Transaction Statement Shift ID
Type: integer
Example:
1010

created_at required

Description: Accrual created at, format = yyyy-MM-ddTHH:mm
Type: string
Format: datetime
Example:
2023-04-14T15:15:40.123Z

tracking_id required

Description: Tracking ID
Type: string
Example:
68725dec-326e-49be-9162-e8817cd492cc

account_id required

Description: Account ID
Type: integer
Example:
1010

shifts required

Type: array

transaction_id required

Description: Transaction ID
Type: integer
Example:
123123

new_statement_id required

Description: New statement ID
Type: integer
Example:
298741321

old_statement_id required

Description: Old statement ID
Type: integer
Example:
298741322

desired_cycle_date

Description: Desired Cycle Date, format = yyyy-mm-dd
Type: string
Format: date
Example:
2021-06-21

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "title": "Transactions shifted",
    "description": "When a request is made to shift one or more transactions to another statement, this event is generated after all the specified transactions have been shifted.",
    "required": [
        "transaction_statement_shift_id",
        "created_at",
        "tracking_id",
        "account_id",
        "shifts"
    ],
    "properties": {
        "transaction_statement_shift_id": {
            "type": "integer",
            "description": "Transaction Statement Shift ID",
            "examples": [
                1010
            ]
        },
        "created_at": {
            "type": "string",
            "description": "Accrual created at, format = yyyy-MM-ddTHH:mm",
            "format": "datetime",
            "examples": [
                "2023-04-14T15:15:40.123Z"
            ]
        },
        "tracking_id": {
            "type": "string",
            "description": "Tracking ID",
            "examples": [
                "68725dec-326e-49be-9162-e8817cd492cc"
            ]
        },
        "account_id": {
            "type": "integer",
            "description": "Account ID",
            "examples": [
                1010
            ]
        },
        "shifts": {
            "type": "array",
            "title": "Shift Transactions array",
            "items": {
                "type": "object",
                "required": [
                    "transaction_id",
                    "new_statement_id",
                    "old_statement_id"
                ],
                "properties": {
                    "transaction_id": {
                        "type": "integer",
                        "description": "Transaction ID",
                        "examples": [
                            123123
                        ]
                    },
                    "new_statement_id": {
                        "type": "integer",
                        "description": "New statement ID",
                        "examples": [
                            298741321
                        ]
                    },
                    "old_statement_id": {
                        "type": "integer",
                        "description": "Old statement ID",
                        "examples": [
                            298741322
                        ]
                    },
                    "desired_cycle_date": {
                        "type": "string",
                        "description": "Desired Cycle Date, format = yyyy-mm-dd",
                        "format": "date",
                        "examples": [
                            "2021-06-21"
                        ]
                    }
                }
            }
        }
    }
}
{
    "transaction_statement_shift_id": 1010,
    "created_at": "2023-04-14T15:15:40.123Z",
    "tracking_id": "68725dec-326e-49be-9162-e8817cd492cc",
    "account_id": 1010,
    "shifts": {
        "transaction_id": 123123,
        "new_statement_id": 298741321,
        "old_statement_id": 298741322,
        "desired_cycle_date": "2021-06-21"
    }
}