payf
FinTS CLI for SEPA instant transfers
Summary
| Latest Version | 0.1.2 |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-11-21 14:04 |
Tags
Authors
- payf
Installation
nimble install payf
choosenim install payf
git clone https://github.com/capocasa/payf
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| payf | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 2.0.0 | No |
| cligen >= | 1.6.0 | No |
| finz >= | 0.2.0 | No |
Source
| Repository | https://github.com/capocasa/payf |
|---|---|
| Homepage | https://github.com/capocasa/payf |
| Registry Source | nimble_official |
README
payf
SEPA instant transfer from the command line. Connects to your German bank via FinTS 3.0, verifies the payee name, submits the transfer, and waits for you to approve it on your phone.
payf transfer "Max Mustermann" DE89370400440532013000 25.00 --reference "Invoice 123"
Bank transfers should be easy to script. payf removes the web interface but keeps the security — every transfer still goes through your bank's TAN confirmation (SecureGo plus or similar). For small or repeat transfers, the bank may skip the TAN step entirely.
Status
payf works. Transfers have been tested with real money on Atruvia/VR bank servers. Other FinTS 3.0 servers should work but may need adjustments. Bank onboarding (FinTS server URL, product ID registration) still takes some manual effort.
Install
Latest main build (macOS / Linux):
curl -fsSL https://payf.capocasa.dev/main/install | sh
Windows (PowerShell):
irm https://payf.capocasa.dev/main/install.ps1 | iex
Those track main. For tagged releases see
releases. Release binaries
self-update quietly; opt out with PAYF_AUTO_UPDATE=false.
Building
Requires Nim >= 2.0.
nimble build
Configuration
Copy payf.conf.example to payf.conf and fill in your bank details:
cp payf.conf.example payf.conf
You need:
- fints_url — your bank's FinTS server URL (ask your bank or check their website)
- fints_blz — your bank's routing number (Bankleitzahl)
- fints_user — your online banking username
- fints_pin or fints_pin_cmd — your PIN, or a command to retrieve it (e.g. pass bankname)
- iban — your account IBAN
- bic — your account BIC
- account_holder — your name as registered with the bank
Environment variables of the same name (upper-case: FINTS_URL,
FINTS_PIN, ...) override file values.
The first existing file wins, no merging — ./payf.conf else
~/.config/payf/payf.conf (XDG_CONFIG_HOME respected). Keep one
bank per file; use --conf to pick explicitly.
Usage
# Instant transfer (default)
payf transfer "Recipient" IBAN 10.00 --reference "Payment"
# Standard (non-instant) transfer
payf transfer "Recipient" IBAN 10.00 --instant=false
# Several instant transfers as one batch, one TAN for the whole batch
# (SEPA-Sammelüberweisung, HKIPM — instant only, no non-instant fallback)
printf 'name\tiban\tamount\treference\nErika\tDE75512108001245126199\t10,00\trent\n' > rent.tsv
payf batch rent.tsv
# Dry run
payf transfer "Recipient" IBAN 10.00 --dry-run
# Verbose (FinTS protocol to stderr)
payf transfer "Recipient" IBAN 10.00 -v
# Recent transactions (CSV on stdout)
payf list 30d
Silent on success. Errors go to stderr. All bank interaction is appended to
$XDG_DATA_HOME/payf/payf-YYYY.log (disable with PAYF_NO_LOG=1).
FinTS Product ID
This software uses registered FinTS product ID 5D8519C8F4024026D066D6661.
If you fork this project, you should register your own product ID with Deutsche Kreditwirtschaft.
License
MIT