Re: [webpayments] PROPOSAL: Use strings to represent currency and amount per ISO20022 (#57)

The group resolved to adopt this format for amounts but with the following amends:
* Drop points 7 and 8 (processing instructions)
* Amend 6 to remove length restriction (and therefor allow other currency identifiers such as URLs)

RESOLVED as follows:

Use formatting rules for amounts in the Web Payments WG specifications as follows:
 1. Amounts MUST be represented as an object.
 1. The amount object MUST have at least two named properties: "currency" and "amount".
 1. The value of the amount property MUST be a string consisting only of numeric digits.
 1. The value of the amount property MAY contain a single dot to denote separation of the fractional suffix from the rest of the amount.
 1. If present, the dot MUST NOT be the first character of the amount.
 1. The value of the currency property MUST be expressed as a string


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments/issues/57#issuecomment-176682683

Received on Friday, 29 January 2016 10:24:20 UTC