{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webpayments/issues/42","labels_url":"https://api.github.com/repos/w3c/webpayments/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webpayments/issues/42/comments","events_url":"https://api.github.com/repos/w3c/webpayments/issues/42/events","html_url":"https://github.com/w3c/webpayments/issues/42","id":123085318,"number":42,"title":"How are third-party native wallets integrated?","user":{"login":"cyberphone","id":8044211,"avatar_url":"https://avatars.githubusercontent.com/u/8044211?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberphone","html_url":"https://github.com/cyberphone","followers_url":"https://api.github.com/users/cyberphone/followers","following_url":"https://api.github.com/users/cyberphone/following{/other_user}","gists_url":"https://api.github.com/users/cyberphone/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberphone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberphone/subscriptions","organizations_url":"https://api.github.com/users/cyberphone/orgs","repos_url":"https://api.github.com/users/cyberphone/repos","events_url":"https://api.github.com/users/cyberphone/events{/privacy}","received_events_url":"https://api.github.com/users/cyberphone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-19T13:31:36Z","updated_at":"2015-12-21T19:23:36Z","closed_at":null,"body":"Like a competitor to Apple Pay but running on multiple platforms including Windows, Android, and iOS."},"comment":{"url":"https://api.github.com/repos/w3c/webpayments/issues/comments/166396480","html_url":"https://github.com/w3c/webpayments/issues/42#issuecomment-166396480","issue_url":"https://api.github.com/repos/w3c/webpayments/issues/42","id":166396480,"user":{"login":"rsolomakhin","id":1028633,"avatar_url":"https://avatars.githubusercontent.com/u/1028633?v=3","gravatar_id":"","url":"https://api.github.com/users/rsolomakhin","html_url":"https://github.com/rsolomakhin","followers_url":"https://api.github.com/users/rsolomakhin/followers","following_url":"https://api.github.com/users/rsolomakhin/following{/other_user}","gists_url":"https://api.github.com/users/rsolomakhin/gists{/gist_id}","starred_url":"https://api.github.com/users/rsolomakhin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsolomakhin/subscriptions","organizations_url":"https://api.github.com/users/rsolomakhin/orgs","repos_url":"https://api.github.com/users/rsolomakhin/repos","events_url":"https://api.github.com/users/rsolomakhin/events{/privacy}","received_events_url":"https://api.github.com/users/rsolomakhin/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T19:23:36Z","updated_at":"2015-12-21T19:23:36Z","body":"Apps should communicate through an OS-level mechanism, so that linking of interface DLLs or JARs is not required. This requires specifying an interface. For android, the interface could look like this:\r\n\r\n- Intent name: \"org.w3.intent.action.PAY\".\r\n- Intent URL: One of the supported instruments.\r\n- \"Details\" key maps to the \"details\" object from the payment request.\r\n- \"SchemeData\" key maps to the \"schemeData\" object for this payment app from the payment request.\r\n- The response should have \"InstrumentDetails\" key that maps to the payment instrument object for merchant.\r\n\r\nAndroid native apps communicate over intents in Java. Other operating systems will use other languages and communication channels. I imagine that apps on iOS would use Objective C.\r\n\r\nThere should be a JavaScript API for payment web-apps, too."}}