Go library

Legacy FAIM only. This package reads and writes the proprietary Fedwire FAIM format. Live Fedwire Funds traffic has used ISO 20022 since July 14, 2025 — use moov-io/wire20022 for new work. See What is Fedwire? for the transition summary.

This project uses Go Modules and Go v1.18 or newer. See Golang’s install instructions for help setting up Go. You can download the source code and we offer tagged and released versions as well. We highly recommend you use a tagged release for production.

$ git@github.com:moov-io/wire.git

$ go get -u github.com/moov-io/wire

$ go doc github.com/moov-io/wire fedWireMessage

The package github.com/moov-io/wire offers a Go-based FAIM Wire file reader and writer. To get started, check out a specific example:

Supported business function codes

Business Function Code Name Example Read Write
DRB BankDrawDownRequest Link Link Link
BTR BankTransfer Link Link Link
CKS CheckSameDaySettlement Link Link Link
DRC CustomerCorporateDrawDownRequest Link Link Link
CTR CustomerTransfer Link Link Link
CTP CustomerTransferPlus Link Link Link
CTP CustomerTransferPlusCOVS Link Link Link
DEP DepositSendersAccount Link Link Link
FFR FEDFundsReturned Link Link Link
FFS FEDFundsSold Link Link Link
SVC ServiceMessage Link Link Link