Close an ACH payment
If NACHA returned an ACH payment and the merchant accepted an alternative payment method, you can use our API to close the return without re-presenting the payment to NACHA.
Note: Use this method to permanently close a return. If you want to retry the payment, use our Re-present Payment method instead.
How it works
- We email the merchant to let them know that NACHA returned an ACH payment.
- Merchant uses an alternative payment method to collect payment from their customer.
- Merchant uses their POS to close the return.
Your integration journey
- View the payment details.
- Close the return.
Things to consider
When you close a return, don’t use the paymentId that you use to retrieve the payment.
In the response of the Retrieve Payment method, our gateway includes a returns array with a new paymentId, which you need to send in the Close Return request.
Errors
If your request is unsuccessful, we return an error. For more information about errors, see Errors.
Step 1. View the payment details
To view the details of the return, send a GET request to our Bank Transfer Payments endpoint.
Request parameters
Path parameters
Example request
Response fields
Important: Save the paymentId from the returns object for closing the payment.
If your request is successful, our gateway sends a returns object that contains a returnCode field and a returnReason field that indicates the reason the payment was returned.
Response
Example response
Step 2. Close the return
To close the return, send a POST request to our Bank Transfer Payments endpoint.
Request parameters
Path parameters
Example request
Response fields
If your request is successful, our gateway closes the return.