{"action":"closed","issue":{"url":"https://api.github.com/repos/orders-squad/orders/issues/13","repository_url":"https://api.github.com/repos/orders-squad/orders","labels_url":"https://api.github.com/repos/orders-squad/orders/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/orders-squad/orders/issues/13/comments","events_url":"https://api.github.com/repos/orders-squad/orders/issues/13/events","html_url":"https://github.com/orders-squad/orders/issues/13","id":365233285,"node_id":"MDU6SXNzdWUzNjUyMzMyODU=","number":13,"title":"Request a refund","user":{"login":"michaelgold","id":144167,"node_id":"MDQ6VXNlcjE0NDE2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/144167?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelgold","html_url":"https://github.com/michaelgold","followers_url":"https://api.github.com/users/michaelgold/followers","following_url":"https://api.github.com/users/michaelgold/following{/other_user}","gists_url":"https://api.github.com/users/michaelgold/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelgold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelgold/subscriptions","organizations_url":"https://api.github.com/users/michaelgold/orgs","repos_url":"https://api.github.com/users/michaelgold/repos","events_url":"https://api.github.com/users/michaelgold/events{/privacy}","received_events_url":"https://api.github.com/users/michaelgold/received_events","type":"User","site_admin":false},"labels":[{"id":1069168254,"node_id":"MDU6TGFiZWwxMDY5MTY4MjU0","url":"https://api.github.com/repos/orders-squad/orders/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":{"login":"michaelgold","id":144167,"node_id":"MDQ6VXNlcjE0NDE2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/144167?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelgold","html_url":"https://github.com/michaelgold","followers_url":"https://api.github.com/users/michaelgold/followers","following_url":"https://api.github.com/users/michaelgold/following{/other_user}","gists_url":"https://api.github.com/users/michaelgold/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelgold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelgold/subscriptions","organizations_url":"https://api.github.com/users/michaelgold/orgs","repos_url":"https://api.github.com/users/michaelgold/repos","events_url":"https://api.github.com/users/michaelgold/events{/privacy}","received_events_url":"https://api.github.com/users/michaelgold/received_events","type":"User","site_admin":false},"assignees":[{"login":"michaelgold","id":144167,"node_id":"MDQ6VXNlcjE0NDE2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/144167?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelgold","html_url":"https://github.com/michaelgold","followers_url":"https://api.github.com/users/michaelgold/followers","following_url":"https://api.github.com/users/michaelgold/following{/other_user}","gists_url":"https://api.github.com/users/michaelgold/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelgold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelgold/subscriptions","organizations_url":"https://api.github.com/users/michaelgold/orgs","repos_url":"https://api.github.com/users/michaelgold/repos","events_url":"https://api.github.com/users/michaelgold/events{/privacy}","received_events_url":"https://api.github.com/users/michaelgold/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/orders-squad/orders/milestones/2","html_url":"https://github.com/orders-squad/orders/milestone/2","labels_url":"https://api.github.com/repos/orders-squad/orders/milestones/2/labels","id":3728208,"node_id":"MDk6TWlsZXN0b25lMzcyODIwOA==","number":2,"title":"Sprint 2: Local Development","description":"","creator":{"login":"michaelgold","id":144167,"node_id":"MDQ6VXNlcjE0NDE2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/144167?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelgold","html_url":"https://github.com/michaelgold","followers_url":"https://api.github.com/users/michaelgold/followers","following_url":"https://api.github.com/users/michaelgold/following{/other_user}","gists_url":"https://api.github.com/users/michaelgold/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelgold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelgold/subscriptions","organizations_url":"https://api.github.com/users/michaelgold/orgs","repos_url":"https://api.github.com/users/michaelgold/repos","events_url":"https://api.github.com/users/michaelgold/events{/privacy}","received_events_url":"https://api.github.com/users/michaelgold/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":24,"state":"open","created_at":"2018-10-10T16:54:54Z","updated_at":"2018-10-16T16:40:16Z","due_on":"2018-10-17T07:00:00Z","closed_at":null},"comments":5,"created_at":"2018-09-30T15:22:19Z","updated_at":"2018-10-16T16:40:16Z","closed_at":"2018-10-16T16:40:16Z","author_association":"COLLABORATOR","body":"**As a** customer  \r\n**I need** to request a refund\r\n**So that** I can cancel an order\r\n\r\n**Assumptions:** \r\n* After a customer clicks the \"request a refund\" button the order's status will be set to \"refund requested\" and the website administrator will have to approve or deny the refund request.\r\n\r\n**Acceptance Criteria:**\r\n```\r\nWhen I call 'POST /order/{id}/request-refund'\r\nIt changes the status of the order to 'refund_requested'\r\n"}}
{"actor":{"display_login":"michaelgold"}}