Return timeframes
The Receiving Depository Financial Institution (RDFI) has 2 business days to return most ACH payments. For unauthorized transactions on consumer accounts, the RDFI has up to 60 calendar days to initiate a return. When the Originating Depository Financial Institution (ODFI) receives a return, Treasury Prime updates the ACH object status toreturned and populates the error field with the appropriate return code.
ACH return flow
This example shows the flow when an ACH debit is returned due to insufficient funds:- You originate an ACH debit using the Treasury Prime API
- The RDFI receives the ACH but the account has insufficient funds
- The RDFI issues an ACH return with return code
R01(Insufficient Funds) - The ODFI (Treasury Prime partner bank) receives the return and notifies Treasury Prime
- Treasury Prime updates the ACH object:
- Changes
statustoreturned - Populates
errorfield with the return code
- Changes
- The
ach.updatewebhook fires to notify you of the status change
Identify ACH returns
When the RDFI returns an ACH payment, Treasury Prime updates the ACH object with:status: Set toreturnederror: Populated with the return code explaining why the payment was returned
Monitor webhooks
Theach.update webhook fires when an ACH object changes status. Use this webhook to notify your customers that their payment was not completed and may require follow-up action.
Query the API
Filter the /ach endpoint bystatus=returned to retrieve all returned ACH payments. This allows you to build internal dashboards or customer-facing views of returned payments.
Example Request to List Returned ACH Objects
Return an originated ACH
To return an ACH transfer you originated, use the Update an ACH endpoint. Note: This feature must be enabled for your organization. If not enabled, contact Treasury Prime support at support@treasuryprime.com with:- The transaction
idof the originated ACH - The reason for the return request
- Any other relevant information
Incoming ACH returns availability varies by bank partner and requires bank approval. Contact your relationship manager to discuss availability and any associated costs.
Example returned ACH object
This example shows an ACH debit returned by the RDFI with return codeR01 (insufficient funds):
Transactions for returned ACH payments
An ACH return reverses the funds movement from the original ACH:- ACH debits (which create a deposit): A withdrawal reverses the original deposit
- ACH credits (which create a withdrawal): A deposit reverses the original withdrawal
account.update webhook.
Scenario 1: Returned ACH debit
When you create a $20 ACH debit:- A $20
depositis applied to the originating account - A $20
holdis placed on those funds
hold_release balances the account
Scenario 2: Returned ACH credit
When you create a $20 ACH credit:- A $20
withdrawalis made from the originating account
deposit reverses the initial withdrawal
Return an incoming ACH
To return an incoming ACH transfer originated by a third party, use the Update an Incoming ACH endpoint with one of the supported return codes:R29, R10, or R20.
For detailed information including timing requirements and example requests, see the Returning Incoming ACH guide.
ACH return codes
Below is the list of the most commonly encountered ACH return codes.Early ACH Posting Testing ACH