moov-io / paygate

A RESTful API enabling electronic payments to be submitted and received without a deep understanding payment file specification
http://moov.io
Apache License 2.0
129 stars 31 forks source link

transfers: support WEB files with ACH #517

Open adamdecaf opened 4 years ago

adamdecaf commented 4 years ago

PayGate Version: v0.8.0

What were you trying to do? When trying to send an ACH payment v0.7.x supported creating WEB files. Now after the upgrade they are no longer supported. Only PPD is handled.

What did you expect to see? Sending WEB files extends the capabilities of PayGate for various needs.

adamdecaf commented 4 years ago

Previously we sent WEB files when that SEC code was specified along with PaymentInformation which was passed directly into the ACH file itself.

An initial implementation could be to have an object to dictate the payment method that must be used. ACH vs Wires, etc along with an object for that payment rail with further fields if needed. Thoughts? /cc @wadearnold

POST /transfers

{
   "paymentMethod": {
     "method": "ACH",
     "ach": {
       "secCode": "WEB"
     }
   }
}