code: func (s *MarketplaceService) ListMarketplacePurchasesForUser(ctx context.Context, opt *ListOptions) ([]*MarketplacePurchase, *Response, error) {
  	uri := "user/marketplace_purchases"
  	if s.Stubbed {
  		uri = "user/marketplace_purchases/stubbed"
  	}
  
  	u, err := addOptions(uri, opt)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	req, err := s.client.NewRequest("GET", u, nil)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	var purchases []*MarketplacePurchase
  	resp, err := s.client.Do(ctx, req, &purchases)
  	if err != nil {
  		return nil, resp, err
  	}
  	return purchases, resp, nil
  }
docs: // ListMarketplacePurchasesForUser lists all GitHub marketplace purchases made by a user.
  //
  // GitHub API docs: https://developer.github.com/v3/apps/marketplace/#get-a-users-marketplace-purchases