Re: [webpayments] Minimum necessary information for merchant to process payment (#27)

> Should there be a base universal response format

Yes, there should be a base request and response format for the Payment API. The base format should be in the Messaging specification. The base format should be JSON-LD to support a formal extensibility mechanism. The message format should not require special processing by the web developer or browser, and should avoid JSON-LD processing by the PSP and merchant unless some kind of significant data format validation/verification, like signature verification, is being performed.

The extensions to the request and response format should be documented in the payment method vocabulary/registry. The registry should be a living document under the control of the Web Payments IG. Optionally, JSON Schema could be linked from the registry and used to validate the messages and their extensions (this functionality would be optional).

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

Received on Sunday, 6 December 2015 20:00:54 UTC