GuidesChangelog

15 May 2024 - Release Notes

  • (Part 2️⃣) Completing the implementation to perform partial refunds against an original ACH_TRANSFER

Avenu API Release Notes 1.10.2

Overview

(Part 2️⃣) Completing the implementation to perform partial refunds against an original ACH_TRANSFER

Avenu now fully supports partial refunds against an original ACH_TRANSFER transaction.

What's New?

The following release notes detail the updates we have included in this release.

(Part 2️⃣) Completing the implementation to perform partial refunds against an original ACH_TRANSFER

Avenu has had an “all or nothing” paradigm where a refund for an existing “ACH Transfer” could only be issued in its entirety. This change facilitates a business scenario where a customer who has purchased goods at a store may come back to return a portion of the original quantity. Quite simply, let’s say they bought 10 T-shirts for $10 a piece for a total of $100, they would want to be able to return 4 T-shirts and have $40 remitted back to their sub ledger via the merchant’s operating account.

Now, Avenu will maintain a running total of all previous partial refunds against an ACH_TRANSFER and validate if the sum total of all previous partial refunds and the current partial refund is greater than or less than/equal to the original ACH_TRANSFER amount. It will allow the partial refund to process in case of the latter and send back an error message in case of the former.

Example error response

{
    "errorCodeMessageList": [
        {
            "code": "CA3017",
            "message": "The sum total of refunds requested (including this request) exceeds the original ACH Transfer amount"
        }
    ]
}

🚩 This is the first feature that will be the beneficiary of the “feature flag” concept that is being introduced in this release. Please contact Avenu Support [email protected] or submit a ticket via the Partner Portal to have this feature enabled for your organization.