This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
achx,transfers: support sending pre-notification entries #601
Labels
enhancement
New feature or request
We are looking to support sending pre-notes (prenotifications) for account validations. Pre-notes are zero-balance entries used to affirm an account exists at the RDFI.
Similar to initiating micro-deposits there would be an endpoint like
POST /pre-notifications
(no hyphen?)https://moov-io.github.io/paygate/api/#post-/micro-deposits
Per NACHA guidelines a pre-note is determined by an entry having a zero-balance and appropriate
TransactionCode
:https://github.com/moov-io/paygate/blob/v0.9.0-dev1/pkg/transfers/inbound/prenotes.go#L59-L74
In order to create a pre-note entry (with the appropriate SEC code) we could follow a similar pattern from
achx.ConstructFile
that is for pre-notifications. The logic is a bit different and we don't require aclient.Transfer
so the exposed Go API is going to be different.Inside
./pkg/achx
I think it makes sense to store this inside aprenote.go
file that has the logic. That'll allow us to adopt batch/entry creation where possible but set pre-note specific files. Theachx
package can assume a contributors haveknowledge of moov-io/ach and the requirements to building a file. This package contains lots of business logic specific to NACHA guidelines.
Note: We are going to support more SEC codes (CCD, WEB, etc) so assume there will be a
ccd.go
file that has helpers similar to PPD and is used infiles.go
and similar.https://github.com/moov-io/paygate/blob/v0.9.0-dev1/pkg/achx/ppd.go
For the Customers issue see moov-io/customers#252
The text was updated successfully, but these errors were encountered: