Hope this is not too off-topic. I'd like to know which fields are necessary to represent banking account details for customers that might be anywhere in the world.
I know about SWIFT (i.e. IBAN/BIC codes), but what if a customer wants to use the local account information (e.g. Germany: account number, bank code). Is there a "best practice" way to store this in a general form?
For example
- Account number (string)
- Bank code (string)
- Type (enum: SWIFT, US, Germany, ... ??)