Re: [webpayments] How do organizations layer additional information in the core messages? (#18)

>From [Payment Request Architecture](
> If we choose to support well-known short strings for payment methods then we will need to determine where to define them. We may choose to define these well-known strings in a formal specification.

You can have well-known short strings for payment methods via a JSON-LD Context (another reason to use JSON-LD). For example, this is easy to do:

  "@context": "",
  "type": "PaymentInstrument",
  "method": "Visa",
  "paymentService": ""

which formally means (via a JSON-LD Context):

  "": ""
  "": ""

No danger of conflicts, formal meaning for what "Visa" means, and the benefit that the browser nor developers need to care about those details (they use the markup at the top, which looks more or less like JSON, which they're used to).

Reply to this email directly or view it on GitHub:

Received on Sunday, 6 December 2015 21:43:46 UTC