{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/cashier/issues/202","labels_url":"https://api.github.com/repos/laravel/cashier/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/laravel/cashier/issues/202/comments","events_url":"https://api.github.com/repos/laravel/cashier/issues/202/events","html_url":"https://github.com/laravel/cashier/issues/202","id":108502168,"number":202,"title":"[feature request] add stripe-connect's managed accounts","user":{"login":"Evertt","id":1267282,"avatar_url":"https://avatars.githubusercontent.com/u/1267282?v=3","gravatar_id":"","url":"https://api.github.com/users/Evertt","html_url":"https://github.com/Evertt","followers_url":"https://api.github.com/users/Evertt/followers","following_url":"https://api.github.com/users/Evertt/following{/other_user}","gists_url":"https://api.github.com/users/Evertt/gists{/gist_id}","starred_url":"https://api.github.com/users/Evertt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evertt/subscriptions","organizations_url":"https://api.github.com/users/Evertt/orgs","repos_url":"https://api.github.com/users/Evertt/repos","events_url":"https://api.github.com/users/Evertt/events{/privacy}","received_events_url":"https://api.github.com/users/Evertt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-26T23:24:36Z","updated_at":"2015-12-28T22:12:12Z","closed_at":null,"body":"It would be nice to be able to use stripe's new managed accounts via a sweet cashier syntax. So you can build market-places where users can get money from other users. So something like:\r\n\r\n```php\r\n// this methods transfers the money directly between the users\r\n$user1->pay($amount)->to($user2)->create($token);\r\n\r\n// this method transfers the money via the platform's stripe account\r\n$user1->pay($amount)->viaUs()->to($user2)->create($token);\r\n\r\n// and of course for subscriptions we could do something like\r\n$user1->subscription('monthly')->to($user2)->create($token);\r\n```\r\n[reference](https://stripe.com/docs/connect/payments-fees)"},"comment":{"url":"https://api.github.com/repos/laravel/cashier/issues/comments/167667886","html_url":"https://github.com/laravel/cashier/issues/202#issuecomment-167667886","issue_url":"https://api.github.com/repos/laravel/cashier/issues/202","id":167667886,"user":{"login":"commandantp","id":7746480,"avatar_url":"https://avatars.githubusercontent.com/u/7746480?v=3","gravatar_id":"","url":"https://api.github.com/users/commandantp","html_url":"https://github.com/commandantp","followers_url":"https://api.github.com/users/commandantp/followers","following_url":"https://api.github.com/users/commandantp/following{/other_user}","gists_url":"https://api.github.com/users/commandantp/gists{/gist_id}","starred_url":"https://api.github.com/users/commandantp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commandantp/subscriptions","organizations_url":"https://api.github.com/users/commandantp/orgs","repos_url":"https://api.github.com/users/commandantp/repos","events_url":"https://api.github.com/users/commandantp/events{/privacy}","received_events_url":"https://api.github.com/users/commandantp/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T22:12:12Z","updated_at":"2015-12-28T22:12:12Z","body":"still no-one worked on it? Will I be the first?... *sight* :)"}}