{"action":"created","issue":{"url":"https://api.github.com/repos/iamale/rock/issues/1","repository_url":"https://api.github.com/repos/iamale/rock","labels_url":"https://api.github.com/repos/iamale/rock/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/iamale/rock/issues/1/comments","events_url":"https://api.github.com/repos/iamale/rock/issues/1/events","html_url":"https://github.com/iamale/rock/issues/1","id":108564545,"number":1,"title":"Пополнение телефонов и прочее","user":{"login":"iamale","id":1298948,"avatar_url":"https://avatars.githubusercontent.com/u/1298948?v=3","gravatar_id":"","url":"https://api.github.com/users/iamale","html_url":"https://github.com/iamale","followers_url":"https://api.github.com/users/iamale/followers","following_url":"https://api.github.com/users/iamale/following{/other_user}","gists_url":"https://api.github.com/users/iamale/gists{/gist_id}","starred_url":"https://api.github.com/users/iamale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamale/subscriptions","organizations_url":"https://api.github.com/users/iamale/orgs","repos_url":"https://api.github.com/users/iamale/repos","events_url":"https://api.github.com/users/iamale/events{/privacy}","received_events_url":"https://api.github.com/users/iamale/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iamale/rock/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-27T22:27:39Z","updated_at":"2016-04-02T04:53:57Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/iamale/rock/issues/comments/204646242","html_url":"https://github.com/iamale/rock/issues/1#issuecomment-204646242","issue_url":"https://api.github.com/repos/iamale/rock/issues/1","id":204646242,"user":{"login":"iamale","id":1298948,"avatar_url":"https://avatars.githubusercontent.com/u/1298948?v=3","gravatar_id":"","url":"https://api.github.com/users/iamale","html_url":"https://github.com/iamale","followers_url":"https://api.github.com/users/iamale/followers","following_url":"https://api.github.com/users/iamale/following{/other_user}","gists_url":"https://api.github.com/users/iamale/gists{/gist_id}","starred_url":"https://api.github.com/users/iamale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamale/subscriptions","organizations_url":"https://api.github.com/users/iamale/orgs","repos_url":"https://api.github.com/users/iamale/repos","events_url":"https://api.github.com/users/iamale/events{/privacy}","received_events_url":"https://api.github.com/users/iamale/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T04:53:57Z","updated_at":"2016-04-02T04:53:57Z","body":"Сама операция совершается таким запросом:\r\n```http\r\nPOST https://rocketbank.ru/api/v5/payments\r\nContent-Type: application/json; charset=utf-8\r\n\r\n{\r\n    \"token\": \"your_token\",\r\n    \"amount\": \"1\",\r\n    \"provider_id\": \"34\",\r\n    \"number\": \"9991234567\"\r\n}\r\n```\r\n\r\n(`number`, а не `account` — потому что поле переименовали.) Ответ:\r\n\r\n```json\r\n{\r\n    \"response\": {\r\n        \"status\": 200,\r\n        \"description\": \"Все ок, скоро будет оплачено\",\r\n        \"code\": \"CREATED\",\r\n        \"show_it\": true\r\n    },\r\n    \"provider_id\": 34,\r\n    \"amount\": 1.0,\r\n    \"id\": 55592,\r\n    \"name\": \"Yota сотовая связь\",\r\n    \"fields\": [{\r\n        \"name\": \"number\",\r\n        \"value\": \"9991234567\"\r\n    }]\r\n}\r\n```"}}