Skip to main content

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 to returned 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:
  1. You originate an ACH debit using the Treasury Prime API
  2. The RDFI receives the ACH but the account has insufficient funds
  3. The RDFI issues an ACH return with return code R01 (Insufficient Funds)
  4. The ODFI (Treasury Prime partner bank) receives the return and notifies Treasury Prime
  5. Treasury Prime updates the ACH object:
    • Changes status to returned
    • Populates error field with the return code
  6. The ach.update webhook 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 to returned
  • error: Populated with the return code explaining why the payment was returned
You can identify returned ACH payments in two ways:

Monitor webhooks

The ach.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 by status=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 id of the originated ACH
  • The reason for the return request
  • Any other relevant information
Treasury Prime will submit the return request to the ODFI. If approved, the ODFI submits the return to the RDFI. A successful return posts an additional transaction to the account to reverse the original transaction.
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 code R01 (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
These balance updates trigger the account.update webhook.

Scenario 1: Returned ACH debit

When you create a $20 ACH debit:
  1. A $20 deposit is applied to the originating account
  2. A $20 hold is placed on those funds
When the RDFI returns the ACH: 3. A 20withdrawalreversestheoriginaldeposit4.A20 `withdrawal` reverses the original deposit 4. A 20 hold_release balances the account

Scenario 2: Returned ACH credit

When you create a $20 ACH credit:
  1. A $20 withdrawal is made from the originating account
When the RDFI returns the ACH: 2. A $20 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