{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/2497","labels_url":"https://api.github.com/repos/magento/magento2/issues/2497/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/2497/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/2497/events","html_url":"https://github.com/magento/magento2/issues/2497","id":118570116,"number":2497,"title":"not able to add payment method for placing order","user":{"login":"arunkasyakar","id":15047881,"avatar_url":"https://avatars.githubusercontent.com/u/15047881?v=3","gravatar_id":"","url":"https://api.github.com/users/arunkasyakar","html_url":"https://github.com/arunkasyakar","followers_url":"https://api.github.com/users/arunkasyakar/followers","following_url":"https://api.github.com/users/arunkasyakar/following{/other_user}","gists_url":"https://api.github.com/users/arunkasyakar/gists{/gist_id}","starred_url":"https://api.github.com/users/arunkasyakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arunkasyakar/subscriptions","organizations_url":"https://api.github.com/users/arunkasyakar/orgs","repos_url":"https://api.github.com/users/arunkasyakar/repos","events_url":"https://api.github.com/users/arunkasyakar/events{/privacy}","received_events_url":"https://api.github.com/users/arunkasyakar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ishakhsuvarov","id":5747062,"avatar_url":"https://avatars.githubusercontent.com/u/5747062?v=3","gravatar_id":"","url":"https://api.github.com/users/ishakhsuvarov","html_url":"https://github.com/ishakhsuvarov","followers_url":"https://api.github.com/users/ishakhsuvarov/followers","following_url":"https://api.github.com/users/ishakhsuvarov/following{/other_user}","gists_url":"https://api.github.com/users/ishakhsuvarov/gists{/gist_id}","starred_url":"https://api.github.com/users/ishakhsuvarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishakhsuvarov/subscriptions","organizations_url":"https://api.github.com/users/ishakhsuvarov/orgs","repos_url":"https://api.github.com/users/ishakhsuvarov/repos","events_url":"https://api.github.com/users/ishakhsuvarov/events{/privacy}","received_events_url":"https://api.github.com/users/ishakhsuvarov/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-24T09:54:23Z","updated_at":"2015-11-24T10:46:35Z","closed_at":null,"body":"when i am calling the api   http://MYHOST/rest/default/V1/carts/142/selected-payment-method, with request data:\r\n {\r\n    \"cartId\": \"3\",\r\n    \"method\": {\r\n        \"method\": \"checkmo\"\r\n    }\r\n}\r\n\r\nOR \r\n\r\n {\r\n    \"cartId\": \"3\",\r\n    \"method\": {\r\n        \"method\": \"banktransfer\"\r\n    }\r\n}\r\n\r\nOR\r\n\r\n {\r\n    \"cartId\": \"3\",\r\n    \"method\": {\r\n        \"method\": \"cashondelivery\"\r\n    }\r\n}\r\n\r\n\r\ni am getting the error:   \r\n\r\n{\r\n    \"message\": \"The requested Payment Method is not available.\"\r\n}"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/159227226","html_url":"https://github.com/magento/magento2/issues/2497#issuecomment-159227226","issue_url":"https://api.github.com/repos/magento/magento2/issues/2497","id":159227226,"user":{"login":"ishakhsuvarov","id":5747062,"avatar_url":"https://avatars.githubusercontent.com/u/5747062?v=3","gravatar_id":"","url":"https://api.github.com/users/ishakhsuvarov","html_url":"https://github.com/ishakhsuvarov","followers_url":"https://api.github.com/users/ishakhsuvarov/followers","following_url":"https://api.github.com/users/ishakhsuvarov/following{/other_user}","gists_url":"https://api.github.com/users/ishakhsuvarov/gists{/gist_id}","starred_url":"https://api.github.com/users/ishakhsuvarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishakhsuvarov/subscriptions","organizations_url":"https://api.github.com/users/ishakhsuvarov/orgs","repos_url":"https://api.github.com/users/ishakhsuvarov/repos","events_url":"https://api.github.com/users/ishakhsuvarov/events{/privacy}","received_events_url":"https://api.github.com/users/ishakhsuvarov/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T10:46:35Z","updated_at":"2015-11-24T10:46:35Z","body":"@arunkasyakar Thank you for reporting this.\r\nPlease check if the cart you attempting to update has subtotal greater then 0."}}