code: def commit_buy(self, account_id, buy_id, **params):
          
          response = self._post(
              'v2', 'accounts', account_id, 'buys', buy_id, 'commit', data=params)
          return self._make_api_object(response, Buy)
docs: https://developers.coinbase.com/api/v2#commit-a-buy