-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PROPOSAL: Use strings to represent currency and amount per ISO20022 #57
Comments
Using strings for amounts seems pretty developer-hostile. In practice, people are just going to use The use of ISO 4217 codes for currencies seems like a no-brainer, though. |
The alternative is fraught with issues as discussed in the original question (#40) |
There wasn't enough time to discuss this proposal in the 21 January meeting. |
The group resolved to adopt this format for amounts but with the following amends:
RESOLVED as follows: Use formatting rules for amounts in the Web Payments WG specifications as follows:
|
UNfortunately, I could not participate in the 28 Jan call.
|
@vkuntz - thanks for this additional input. |
This proposal addresses the question in #40.
The ISO20022 dictionary defines a CurrencyAndAmount [1] data type for passing currencies and amounts in payment messages (as well as some updated version thereof with looser restrictions on the number of digits allowed).
In ISO20022 currencies are represented using the ISO 4217 [2] three-letter alpha code.
The decimal separator is a dot.
An example of an ISO 20022 currency and amount in XML:
PROPOSAL:
Use formatting rules for the Web Payments WG specifications as follows:
Example:
[1] http://www.iso20022.org/standardsrepository/public/wqt/Description/mx/dico/datatypes/_L8ZcEp0gEeOo48XfssNw8w
[2] https://en.wikipedia.org/wiki/ISO_4217
The text was updated successfully, but these errors were encountered: