Square Inc. has lent $5 billion to small businesses and consumers and applied for a banking license. It operates a nationwide mobile money-transfer business that serves 15 million Americans.

But Square says it isn’t a financial company.

The San Francisco-based payments processor filed a lawsuit last week against its home city to recover $1.3...