HomeGuidesAPIsReleasesDownloadsDeveloperEvents
Log In
Guides

Payment reversed

Reversal of partial amount

{
    "eventId": "string",
    "eventType": "SERVICE_COMMERCIAL_ACCOUNT_PAYMENT_REVERSED",
    "tenantId": "string",
    "eventDate": "2025-03-25 12:11:11",
    "data": {
        "accountIdentifier": "string",
        "accountBalance": {
            "amount": -221,
            "currencyCode": "string"
        },
        "taxInclusive": true,
        "company": {
            "companyIdentifier": "string",
            "companyName": "string",
            "companyType": "string"
        },
        "invoices": [
            {
                "invoiceIdentifier": "string",
                "allocatedAmount": {
                    "amount": 5,
                    "currencyCode": "string"
                },
                "status": "OVERDUE"
            }
        ],
        "paymentIdentifier": "string",
        "paymentDateTime": "2024-10-31 10:31:10",
        "paymentAmount": {
            "amount": 120,
            "currencyCode": "string"
        },
        "paymentSource": "Direct Debit",
        "reversalReason": "Account Transferred",
        "reversedAmount": {
            "amount": 5,
            "currencyCode": "string"
        },
        "totalReversedAmount": {
            "amount": 5,
            "currencyCode": "string"
        }
    },
    "sourceId": "string",
    "sourceName": "string",
    "sourceType": "string",
    "entityId": "string",
    "entityType": "string",
    "entityOperation": "string",
    "auditMessage": "Account payment reversed"
}

Reversal of full amount

{
    "eventId": "string",
    "eventType": "SERVICE_COMMERCIAL_ACCOUNT_PAYMENT_REVERSED",
    "tenantId": "string",
    "eventDate": "2025-03-25 12:11:11",
    "data": {
        "accountIdentifier": "string",
        "accountBalance": {
            "amount": -221,
            "currencyCode": "string"
        },
        "taxInclusive": true,
        "company": {
            "companyIdentifier": "string",
            "companyName": "string",
            "companyType": "string"
        },
        "invoices": [
            {
                "invoiceIdentifier": "string",
                "allocatedAmount": {
                    "amount": 100,
                    "currencyCode": "string"
                },
                "status": "OVERDUE"
            }
        ],
        "paymentIdentifier": "string",
        "paymentDateTime": "2024-10-31 10:31:10",
        "paymentAmount": {
            "amount": 100,
            "currencyCode": "string"
        },
        "paymentSource": "Direct Debit",
        "reversalReason": "Account Transferred",
        "reversedAmount": {
            "amount": 100,
            "currencyCode": "string"
        },
        "totalReversedAmount": {
            "amount": 100,
            "currencyCode": "string"
        }
    },
    "sourceId": "string",
    "sourceName": "string",
    "sourceType": "string",
    "entityId": "string",
    "entityType": "string",
    "entityOperation": "string",
    "auditMessage": "Account payment reversed"
}