[webpayments] Expression of monetary amounts (#40)

The paymentRequest API currently suggests that we express monetary amounts using a mantissa and exponent: 

"amount": { "currencyCode": "USD", "mantissa": 5500, "exponent": 2 }, // US$55.00

The Web Payments CG Browser API suggests that we use strings for the amounts with a currency code:

transfer: {
  amount: '4.35',
  currency: 'USD'

How should monetary amounts be expressed in the API?

Reply to this email directly or view it on GitHub:

Received on Wednesday, 16 December 2015 06:04:22 UTC