{"action":"created","comment":{"url":"https://api.github.com/repos/moip/moip-sdk-node/pulls/comments/156358312","pull_request_review_id":82820612,"id":156358312,"diff_hunk":"@@ -44,12 +55,72 @@ npm install moip-sdk-node --save\n ```\n \n ## Configurando a autenticação\n-### Por BasicAuth\n+\n+[Pré-requisito - Gerar o access_token](https://dev.moip.com.br/reference#1-criar-um-app)\n+\n ```javascript\n var moip = require('moip-sdk-node')({\n     token: 'SEU_TOKEN',\n     key: 'SUA_CHAVE',\n-     production: false // false para utilizar Sandbox e true para Production. Default: false\n+    OAuth: 'access_token',","path":"README.md","position":59,"original_position":59,"commit_id":"a3f5ac5d69247d7b8ec00bfb8d409438eec3f80d","original_commit_id":"a3f5ac5d69247d7b8ec00bfb8d409438eec3f80d","user":{"login":"somentelucas","id":4432322,"avatar_url":"https://avatars1.githubusercontent.com/u/4432322?v=4","gravatar_id":"","url":"https://api.github.com/users/somentelucas","html_url":"https://github.com/somentelucas","followers_url":"https://api.github.com/users/somentelucas/followers","following_url":"https://api.github.com/users/somentelucas/following{/other_user}","gists_url":"https://api.github.com/users/somentelucas/gists{/gist_id}","starred_url":"https://api.github.com/users/somentelucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somentelucas/subscriptions","organizations_url":"https://api.github.com/users/somentelucas/orgs","repos_url":"https://api.github.com/users/somentelucas/repos","events_url":"https://api.github.com/users/somentelucas/events{/privacy}","received_events_url":"https://api.github.com/users/somentelucas/received_events","type":"User","site_admin":false},"body":"Just here in the initialization, it makes sense for it to be `OAuth` elsewhere.","created_at":"2017-12-12T12:59:26Z","updated_at":"2017-12-12T13:01:05Z","html_url":"https://github.com/moip/moip-sdk-node/pull/2#discussion_r156358312","pull_request_url":"https://api.github.com/repos/moip/moip-sdk-node/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/moip/moip-sdk-node/pulls/comments/156358312"},"html":{"href":"https://github.com/moip/moip-sdk-node/pull/2#discussion_r156358312"},"pull_request":{"href":"https://api.github.com/repos/moip/moip-sdk-node/pulls/2"}},"in_reply_to_id":156358233},"pull_request":{"url":"https://api.github.com/repos/moip/moip-sdk-node/pulls/2","id":157707286,"html_url":"https://github.com/moip/moip-sdk-node/pull/2","diff_url":"https://github.com/moip/moip-sdk-node/pull/2.diff","patch_url":"https://github.com/moip/moip-sdk-node/pull/2.patch","issue_url":"https://api.github.com/repos/moip/moip-sdk-node/issues/2","number":2,"state":"open","locked":false,"title":"Contas transparentes, Contas Bancárias Adicionar/Deletar cartão de crédito + Readme","user":{"login":"danielfnz","id":6144301,"avatar_url":"https://avatars1.githubusercontent.com/u/6144301?v=4","gravatar_id":"","url":"https://api.github.com/users/danielfnz","html_url":"https://github.com/danielfnz","followers_url":"https://api.github.com/users/danielfnz/followers","following_url":"https://api.github.com/users/danielfnz/following{/other_user}","gists_url":"https://api.github.com/users/danielfnz/gists{/gist_id}","starred_url":"https://api.github.com/users/danielfnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielfnz/subscriptions","organizations_url":"https://api.github.com/users/danielfnz/orgs","repos_url":"https://api.github.com/users/danielfnz/repos","events_url":"https://api.github.com/users/danielfnz/events{/privacy}","received_events_url":"https://api.github.com/users/danielfnz/received_events","type":"User","site_admin":false},"body":"- Contas transparentes\r\n    - Criação\r\n    - Consulta\r\n- Clientes\r\n    - Adicionar Cartão de Crédito\r\n    - Deletar Cartão de Crédito\r\n    - Listagem\r\n- Contas Bancárias\r\n    -  Criação\r\n    -  Consulta\r\n    -  Listagem\r\n    -  Exclusão","created_at":"2017-12-12T00:27:39Z","updated_at":"2017-12-12T13:01:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a45588fb8590469e644e0bc4561d68acab37a32b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/moip/moip-sdk-node/pulls/2/commits","review_comments_url":"https://api.github.com/repos/moip/moip-sdk-node/pulls/2/comments","review_comment_url":"https://api.github.com/repos/moip/moip-sdk-node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moip/moip-sdk-node/issues/2/comments","statuses_url":"https://api.github.com/repos/moip/moip-sdk-node/statuses/a3f5ac5d69247d7b8ec00bfb8d409438eec3f80d","head":{"label":"danielfnz:master","ref":"master","sha":"a3f5ac5d69247d7b8ec00bfb8d409438eec3f80d","user":{"login":"danielfnz","id":6144301,"avatar_url":"https://avatars1.githubusercontent.com/u/6144301?v=4","gravatar_id":"","url":"https://api.github.com/users/danielfnz","html_url":"https://github.com/danielfnz","followers_url":"https://api.github.com/users/danielfnz/followers","following_url":"https://api.github.com/users/danielfnz/following{/other_user}","gists_url":"https://api.github.com/users/danielfnz/gists{/gist_id}","starred_url":"https://api.github.com/users/danielfnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielfnz/subscriptions","organizations_url":"https://api.github.com/users/danielfnz/orgs","repos_url":"https://api.github.com/users/danielfnz/repos","events_url":"https://api.github.com/users/danielfnz/events{/privacy}","received_events_url":"https://api.github.com/users/danielfnz/received_events","type":"User","site_admin":false},"repo":{"id":113922400,"name":"moip-sdk-node","full_name":"danielfnz/moip-sdk-node","owner":{"login":"danielfnz","id":6144301,"avatar_url":"https://avatars1.githubusercontent.com/u/6144301?v=4","gravatar_id":"","url":"https://api.github.com/users/danielfnz","html_url":"https://github.com/danielfnz","followers_url":"https://api.github.com/users/danielfnz/followers","following_url":"https://api.github.com/users/danielfnz/following{/other_user}","gists_url":"https://api.github.com/users/danielfnz/gists{/gist_id}","starred_url":"https://api.github.com/users/danielfnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielfnz/subscriptions","organizations_url":"https://api.github.com/users/danielfnz/orgs","repos_url":"https://api.github.com/users/danielfnz/repos","events_url":"https://api.github.com/users/danielfnz/events{/privacy}","received_events_url":"https://api.github.com/users/danielfnz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danielfnz/moip-sdk-node","description":"[Em desenvolvimento] Módulo Node.js para integração com API Moip v2","fork":true,"url":"https://api.github.com/repos/danielfnz/moip-sdk-node","forks_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/forks","keys_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/teams","hooks_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/hooks","issue_events_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/issues/events{/number}","events_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/events","assignees_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/assignees{/user}","branches_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/branches{/branch}","tags_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/tags","blobs_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/statuses/{sha}","languages_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/languages","stargazers_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/stargazers","contributors_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/contributors","subscribers_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/subscribers","subscription_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/subscription","commits_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/contents/{+path}","compare_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/merges","archive_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/downloads","issues_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/issues{/number}","pulls_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/pulls{/number}","milestones_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/milestones{/number}","notifications_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/labels{/name}","releases_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/releases{/id}","deployments_url":"https://api.github.com/repos/danielfnz/moip-sdk-node/deployments","created_at":"2017-12-12T00:08:46Z","updated_at":"2017-12-12T00:08:48Z","pushed_at":"2017-12-12T12:46:33Z","git_url":"git://github.com/danielfnz/moip-sdk-node.git","ssh_url":"git@github.com:danielfnz/moip-sdk-node.git","clone_url":"https://github.com/danielfnz/moip-sdk-node.git","svn_url":"https://github.com/danielfnz/moip-sdk-node","homepage":"","size":2010,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"moip:develop","ref":"develop","sha":"3946999440e68fc4871861b9dcf28d74bc9dd995","user":{"login":"moip","id":5281980,"avatar_url":"https://avatars0.githubusercontent.com/u/5281980?v=4","gravatar_id":"","url":"https://api.github.com/users/moip","html_url":"https://github.com/moip","followers_url":"https://api.github.com/users/moip/followers","following_url":"https://api.github.com/users/moip/following{/other_user}","gists_url":"https://api.github.com/users/moip/gists{/gist_id}","starred_url":"https://api.github.com/users/moip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moip/subscriptions","organizations_url":"https://api.github.com/users/moip/orgs","repos_url":"https://api.github.com/users/moip/repos","events_url":"https://api.github.com/users/moip/events{/privacy}","received_events_url":"https://api.github.com/users/moip/received_events","type":"Organization","site_admin":false},"repo":{"id":97516297,"name":"moip-sdk-node","full_name":"moip/moip-sdk-node","owner":{"login":"moip","id":5281980,"avatar_url":"https://avatars0.githubusercontent.com/u/5281980?v=4","gravatar_id":"","url":"https://api.github.com/users/moip","html_url":"https://github.com/moip","followers_url":"https://api.github.com/users/moip/followers","following_url":"https://api.github.com/users/moip/following{/other_user}","gists_url":"https://api.github.com/users/moip/gists{/gist_id}","starred_url":"https://api.github.com/users/moip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moip/subscriptions","organizations_url":"https://api.github.com/users/moip/orgs","repos_url":"https://api.github.com/users/moip/repos","events_url":"https://api.github.com/users/moip/events{/privacy}","received_events_url":"https://api.github.com/users/moip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moip/moip-sdk-node","description":"[Em desenvolvimento] Módulo Node.js para integração com API Moip v2","fork":false,"url":"https://api.github.com/repos/moip/moip-sdk-node","forks_url":"https://api.github.com/repos/moip/moip-sdk-node/forks","keys_url":"https://api.github.com/repos/moip/moip-sdk-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moip/moip-sdk-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moip/moip-sdk-node/teams","hooks_url":"https://api.github.com/repos/moip/moip-sdk-node/hooks","issue_events_url":"https://api.github.com/repos/moip/moip-sdk-node/issues/events{/number}","events_url":"https://api.github.com/repos/moip/moip-sdk-node/events","assignees_url":"https://api.github.com/repos/moip/moip-sdk-node/assignees{/user}","branches_url":"https://api.github.com/repos/moip/moip-sdk-node/branches{/branch}","tags_url":"https://api.github.com/repos/moip/moip-sdk-node/tags","blobs_url":"https://api.github.com/repos/moip/moip-sdk-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moip/moip-sdk-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moip/moip-sdk-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/moip/moip-sdk-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moip/moip-sdk-node/statuses/{sha}","languages_url":"https://api.github.com/repos/moip/moip-sdk-node/languages","stargazers_url":"https://api.github.com/repos/moip/moip-sdk-node/stargazers","contributors_url":"https://api.github.com/repos/moip/moip-sdk-node/contributors","subscribers_url":"https://api.github.com/repos/moip/moip-sdk-node/subscribers","subscription_url":"https://api.github.com/repos/moip/moip-sdk-node/subscription","commits_url":"https://api.github.com/repos/moip/moip-sdk-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/moip/moip-sdk-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/moip/moip-sdk-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/moip/moip-sdk-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/moip/moip-sdk-node/contents/{+path}","compare_url":"https://api.github.com/repos/moip/moip-sdk-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moip/moip-sdk-node/merges","archive_url":"https://api.github.com/repos/moip/moip-sdk-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moip/moip-sdk-node/downloads","issues_url":"https://api.github.com/repos/moip/moip-sdk-node/issues{/number}","pulls_url":"https://api.github.com/repos/moip/moip-sdk-node/pulls{/number}","milestones_url":"https://api.github.com/repos/moip/moip-sdk-node/milestones{/number}","notifications_url":"https://api.github.com/repos/moip/moip-sdk-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moip/moip-sdk-node/labels{/name}","releases_url":"https://api.github.com/repos/moip/moip-sdk-node/releases{/id}","deployments_url":"https://api.github.com/repos/moip/moip-sdk-node/deployments","created_at":"2017-07-17T19:52:23Z","updated_at":"2017-12-01T15:59:18Z","pushed_at":"2017-12-12T12:46:34Z","git_url":"git://github.com/moip/moip-sdk-node.git","ssh_url":"git@github.com:moip/moip-sdk-node.git","clone_url":"https://github.com/moip/moip-sdk-node.git","svn_url":"https://github.com/moip/moip-sdk-node","homepage":"","size":2002,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moip/moip-sdk-node/pulls/2"},"html":{"href":"https://github.com/moip/moip-sdk-node/pull/2"},"issue":{"href":"https://api.github.com/repos/moip/moip-sdk-node/issues/2"},"comments":{"href":"https://api.github.com/repos/moip/moip-sdk-node/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/moip/moip-sdk-node/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/moip/moip-sdk-node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moip/moip-sdk-node/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/moip/moip-sdk-node/statuses/a3f5ac5d69247d7b8ec00bfb8d409438eec3f80d"}},"author_association":"NONE"}}
{"actor":{"display_login":"somentelucas"}}