Debit transaction used for recharge

This event is generated when a credit transaction is cancelled and the customer's debt is recharged.

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

|
account_id required

Title: Account ID
Description: Unique identifier of the account.
Type: integer
Example:
5106089

program_id required

Title: Program ID
Description: Unique identifier of the account program.
Type: integer
Example:
252

program_type_id required

Title: ProgramType ID
Description: Unique identifier of the program type.
Type: integer
Example:
1

debit_transaction required

Title: Debit Transaction
Description: The debit transaction that will recharge the original debt.
Type: object
Example:

{
    "transaction_id": 999999,
    "statement_id": 88888,
    "transaction_amount": 100.0,
    "transaction_type_id": 999,
    "event_datetime": "2023-07-02T04:43:34.167499Z",
    "authorization_id": 565456,
    "network_authorization_id": null,
    "authorization_tracking_id": "431dc558-f615-4436-7ba8-2173ec362219"
}
transaction_id required

Title: Debit transaction ID
Description: Unique identifier of the debit transaction.
Type: number
Example:
1325789799

statement_id required

Title: Debit transaction statement ID
Description: Unique identifier of the statement to which the debit transaction is associated.
Type: number
Example:
1205100409

transaction_amount required

Title: Debit transaction total amount
Description: Total and original amount of the debit transaction.
Type: number
Example:
100.0

transaction_type_id required

Title: Debit transaction type ID
Description: Unique identifier of the transaction type.
Type: integer
Example:
301

event_datetime required

Title: Event date and time
Description: Date and time of transaction occurrence in ISO 8601 format.
Type: string
Example:
2023-07-02T04:43:34.167499Z

authorization_id

Title: Authorization ID
Description: Unique identifier of the transaction authorization.
Type: number or null
Example:
565456

network_authorization_id

Title: NetworkAuthorization ID
Description: Unique identifier of the network transaction authorization.
Type: number or null
Example:
8798789

authorization_tracking_id required

Title: Tracking Authorization ID
Description: Debit Transaction Tracking Authorization ID
Type: string or null
Example:
431dc558-f615-4436-7ba8-2173ec362219

reverted_credit_transaction required

Title: Credit Transaction
Description: The credit transaction that was canceled.
Type: object
Example:

{
    "transaction_id": 888888,
    "statement_id": 77777,
    "transaction_amount": 100.0,
    "transaction_type_id": 899,
    "event_datetime": "2023-07-02T03:25:16.826673Z",
    "authorization_id": null,
    "network_authorization_id": 7281910,
    "authorization_tracking_id": "352dd377-f734-4532-8cb9-1523af465629"
}
transaction_id required

Title: Credit transaction ID
Description: Unique identifier of the credit transaction.
Type: number
Example:
1226589897

statement_id required

Title: Credit transaction statement ID
Description: Unique identifier of the statement to which the credit transaction is associated.
Type: number
Example:
1205100409

transaction_amount required

Title: Credit transaction total amount
Description: Total and original amount of the credit transaction.
Type: number
Example:
100.0

transaction_type_id required

Title: Credit transaction type ID
Description: Unique identifier of the transaction type.
Type: integer
Example:
201

event_datetime required

Title: Event date and time
Description: Date and time of transaction occurrence in ISO 8601 format.
Type: string
Example:
2023-07-02T03:25:16.826673Z

authorization_id

Title: Authorization ID
Description: Unique identifier of the transaction authorization.
Type: number or null
Example:
533489

network_authorization_id

Title: NetworkAuthorization ID
Description: Unique identifier of the network transaction authorization.
Type: number or null
Example:
7281910

authorization_tracking_id required

Title: Tracking Authorization ID
Description: Credit Transaction Tracking Authorization ID
Type: string or null
Example:
352dd377-f734-4532-8cb9-1523af465629

recharges required

Title: Recharges
Description: Array of one or more recharges made by the debit transaction
Type: array

debit_transaction_id required

Title: Debit transaction ID
Description: Unique identifier of the recharged debit transaction.
Type: number
Min length: 1
Max length: 9223372036854775807
Example:
1325789799
2859667253

transaction_amount required

Title: Transaction amount
Description: Numerical value of the transaction
Type: number
Example:
100.0
250.0

previous_balance required

Title: Previous balance
Description: Transaction balance before recharge
Type: number
Example:
75.0
200.0

recharged_amount required

Title: Recharged amount
Description: Amount recharged in the transaction
Type: number
Example:
25.0
50.0

final_balance required

Title: Final balance
Description: Final balance of the transaction
Type: number
Example:
100.0
250.0

authorization_tracking_id required

Title: Tracking Authorization ID
Description: Recharged Debit Transaction Tracking Authorization ID
Type: string or null
Example:
72sd9977-f541-4bs8-8dc6-4432du559037

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "title": "Debit transaction used for recharge",
    "description": "This event is generated when a credit transaction is cancelled and the customer's debt is recharged.",
    "required": [
        "account_id",
        "program_id",
        "program_type_id",
        "debit_transaction",
        "reverted_credit_transaction",
        "recharges"
    ],
    "properties": {
        "account_id": {
            "type": "integer",
            "title": "Account ID",
            "description": "Unique identifier of the account.",
            "examples": [
                5106089
            ]
        },
        "program_id": {
            "type": "integer",
            "title": "Program ID",
            "description": "Unique identifier of the account program.",
            "examples": [
                252
            ]
        },
        "program_type_id": {
            "type": "integer",
            "title": "ProgramType ID",
            "description": "Unique identifier of the program type.",
            "examples": [
                1
            ]
        },
        "debit_transaction": {
            "type": "object",
            "title": "Debit Transaction",
            "description": "The debit transaction that will recharge the original debt.",
            "required": [
                "transaction_id",
                "statement_id",
                "transaction_amount",
                "transaction_type_id",
                "event_datetime",
                "authorization_tracking_id"
            ],
            "properties": {
                "transaction_id": {
                    "type": "number",
                    "title": "Debit transaction ID",
                    "description": "Unique identifier of the debit transaction.",
                    "examples": [
                        1325789799
                    ]
                },
                "statement_id": {
                    "type": "number",
                    "title": "Debit transaction statement ID",
                    "description": "Unique identifier of the statement to which the debit transaction is associated.",
                    "examples": [
                        1205100409
                    ]
                },
                "transaction_amount": {
                    "type": "number",
                    "title": "Debit transaction total amount",
                    "description": "Total and original amount of the debit transaction.",
                    "examples": [
                        100.0
                    ]
                },
                "transaction_type_id": {
                    "type": "integer",
                    "title": "Debit transaction type ID",
                    "description": "Unique identifier of the transaction type.",
                    "examples": [
                        301
                    ]
                },
                "event_datetime": {
                    "type": "string",
                    "title": "Event date and time",
                    "description": "Date and time of transaction occurrence in ISO 8601 format.",
                    "examples": [
                        "2023-07-02T04:43:34.167499Z"
                    ]
                },
                "authorization_id": {
                    "type": [
                        "number",
                        "null"
                    ],
                    "comment": "",
                    "title": "Authorization ID",
                    "description": "Unique identifier of the transaction authorization.",
                    "examples": [
                        565456
                    ]
                },
                "network_authorization_id": {
                    "type": [
                        "number",
                        "null"
                    ],
                    "title": "NetworkAuthorization ID",
                    "description": "Unique identifier of the network transaction authorization.",
                    "examples": [
                        8798789
                    ]
                },
                "authorization_tracking_id": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "title": "Tracking Authorization ID",
                    "description": "Debit Transaction Tracking Authorization ID",
                    "examples": [
                        "431dc558-f615-4436-7ba8-2173ec362219"
                    ]
                }
            },
            "examples": [
                {
                    "transaction_id": 999999,
                    "statement_id": 88888,
                    "transaction_amount": 100.0,
                    "transaction_type_id": 999,
                    "event_datetime": "2023-07-02T04:43:34.167499Z",
                    "authorization_id": 565456,
                    "network_authorization_id": null,
                    "authorization_tracking_id": "431dc558-f615-4436-7ba8-2173ec362219"
                }
            ]
        },
        "reverted_credit_transaction": {
            "type": "object",
            "title": "Credit Transaction",
            "description": "The credit transaction that was canceled.",
            "required": [
                "transaction_id",
                "statement_id",
                "transaction_amount",
                "transaction_type_id",
                "event_datetime",
                "authorization_tracking_id"
            ],
            "properties": {
                "transaction_id": {
                    "type": "number",
                    "title": "Credit transaction ID",
                    "description": "Unique identifier of the credit transaction.",
                    "examples": [
                        1226589897
                    ]
                },
                "statement_id": {
                    "type": "number",
                    "title": "Credit transaction statement ID",
                    "description": "Unique identifier of the statement to which the credit transaction is associated.",
                    "examples": [
                        1205100409
                    ]
                },
                "transaction_amount": {
                    "type": "number",
                    "title": "Credit transaction total amount",
                    "description": "Total and original amount of the credit transaction.",
                    "examples": [
                        100.0
                    ]
                },
                "transaction_type_id": {
                    "type": "integer",
                    "title": "Credit transaction type ID",
                    "description": "Unique identifier of the transaction type.",
                    "examples": [
                        201
                    ]
                },
                "event_datetime": {
                    "type": "string",
                    "title": "Event date and time",
                    "description": "Date and time of transaction occurrence in ISO 8601 format.",
                    "examples": [
                        "2023-07-02T03:25:16.826673Z"
                    ]
                },
                "authorization_id": {
                    "type": [
                        "number",
                        "null"
                    ],
                    "comment": "",
                    "title": "Authorization ID",
                    "description": "Unique identifier of the transaction authorization.",
                    "examples": [
                        533489
                    ]
                },
                "network_authorization_id": {
                    "type": [
                        "number",
                        "null"
                    ],
                    "title": "NetworkAuthorization ID",
                    "description": "Unique identifier of the network transaction authorization.",
                    "examples": [
                        7281910
                    ]
                },
                "authorization_tracking_id": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "title": "Tracking Authorization ID",
                    "description": "Credit Transaction Tracking Authorization ID",
                    "examples": [
                        "352dd377-f734-4532-8cb9-1523af465629"
                    ]
                }
            },
            "examples": [
                {
                    "transaction_id": 888888,
                    "statement_id": 77777,
                    "transaction_amount": 100.0,
                    "transaction_type_id": 899,
                    "event_datetime": "2023-07-02T03:25:16.826673Z",
                    "authorization_id": null,
                    "network_authorization_id": 7281910,
                    "authorization_tracking_id": "352dd377-f734-4532-8cb9-1523af465629"
                }
            ]
        },
        "recharges": {
            "type": [
                "array"
            ],
            "title": "Recharges",
            "description": "Array of one or more recharges made by the debit transaction",
            "items": [
                {
                    "type": "object",
                    "title": "Transactions recharged",
                    "description": "One or more debit transactions recharged following the cancellation of a credit",
                    "required": [
                        "debit_transaction_id",
                        "transaction_amount",
                        "previous_balance",
                        "recharged_amount",
                        "final_balance",
                        "authorization_tracking_id"
                    ],
                    "properties": {
                        "debit_transaction_id": {
                            "title": "Debit transaction ID",
                            "description": "Unique identifier of the recharged debit transaction.",
                            "type": "number",
                            "minLength": 1,
                            "maxLength": 9223372036854775807,
                            "examples": [
                                1325789799,
                                2859667253
                            ]
                        },
                        "transaction_amount": {
                            "title": "Transaction amount",
                            "description": "Numerical value of the transaction",
                            "type": "number",
                            "examples": [
                                100.0,
                                250.0
                            ]
                        },
                        "previous_balance": {
                            "title": "Previous balance",
                            "description": "Transaction balance before recharge",
                            "type": "number",
                            "examples": [
                                75.0,
                                200.0
                            ]
                        },
                        "recharged_amount": {
                            "title": "Recharged amount",
                            "description": "Amount recharged in the transaction",
                            "type": "number",
                            "examples": [
                                25.0,
                                50.0
                            ]
                        },
                        "final_balance": {
                            "title": "Final balance",
                            "description": "Final balance of the transaction",
                            "type": "number",
                            "examples": [
                                100.0,
                                250.0
                            ]
                        },
                        "authorization_tracking_id": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "title": "Tracking Authorization ID",
                            "description": "Recharged Debit Transaction Tracking Authorization ID",
                            "examples": [
                                "72sd9977-f541-4bs8-8dc6-4432du559037"
                            ]
                        }
                    }
                }
            ],
            "examples": [
                {
                    "debit_transaction_id": 1325789799,
                    "transaction_amount": 100.0,
                    "previous_balance": 75.0,
                    "recharged_amount": 25.0,
                    "final_balance": 100.0,
                    "authorization_tracking_id": "72sd9977-f541-4bs8-8dc6-4432du559037"
                },
                {
                    "debit_transaction_id": 2859667253,
                    "transaction_amount": 250.0,
                    "previous_balance": 200.0,
                    "recharged_amount": 50.0,
                    "final_balance": 250.0,
                    "authorization_tracking_id": null
                },
                {
                    "debit_transaction_id": 3427849128,
                    "transaction_amount": 400.0,
                    "previous_balance": 180.0,
                    "recharged_amount": 170.0,
                    "final_balance": 350.0,
                    "authorization_tracking_id": "35td5428-b42d-2ds5-4d6d-3871cd459908"
                }
            ]
        }
    }
}
{
    "account_id": 5106089,
    "program_id": 252,
    "program_type_id": 1,
    "debit_transaction": {
        "transaction_id": 1325789799,
        "statement_id": 1205100409,
        "transaction_amount": 100.0,
        "transaction_type_id": 301,
        "event_datetime": "2023-07-02T04:43:34.167499Z",
        "authorization_id": 565456,
        "network_authorization_id": 8798789,
        "authorization_tracking_id": "431dc558-f615-4436-7ba8-2173ec362219"
    },
    "reverted_credit_transaction": {
        "transaction_id": 1226589897,
        "statement_id": 1205100409,
        "transaction_amount": 100.0,
        "transaction_type_id": 201,
        "event_datetime": "2023-07-02T03:25:16.826673Z",
        "authorization_id": 533489,
        "network_authorization_id": 7281910,
        "authorization_tracking_id": "352dd377-f734-4532-8cb9-1523af465629"
    },
    "recharges": {
        "debit_transaction_id": 1325789799,
        "transaction_amount": 100.0,
        "previous_balance": 75.0,
        "recharged_amount": 25.0,
        "final_balance": 100.0,
        "authorization_tracking_id": "72sd9977-f541-4bs8-8dc6-4432du559037"
    }
}