The bank of the city's people and companies.
Wages paid in, rent paid out, savings put by. Every movement of money is written into the ledger, and nothing written there is ever erased.
Banking from your terminal
Customers sign in with the username and password the bank issued to them. On a Robo-DOS machine, the cityzen program shows your accounts and their history and sends transfers.
cityzen login cityzen accounts cityzen send 123456789015 25.00 "Rent for May"
For programmers
The same service your terminal uses is open to any program. Amounts are whole cents; an account number is twelve digits whose last is a check digit; overdrafts are refused.
POST /api/v1/login | {"username", "password"} returns a session token for the Authorization: Bearer header. |
GET /api/v1/accounts | Your accounts and their balances. |
GET /api/v1/accounts/{number}/transactions | One account's history, newest first. |
POST /api/v1/transfers | {"from", "to", "amountCents", "memo"}; send an Idempotency-Key header to make a retry safe. |