public function pay(array $params)
    {
        $params['appid'] = $this->app['config']->app_id;

        return $this->request($this->wrap('pay/micropay'), $params);
    }
public function pay(array $params)
    {
        $params['appid'] = $this->app['config']->app_id;

        return $this->request($this->wrap('pay/micropay'), $params);
    }
public function pay ( array $ params ) { $ params [ 'appid' ] = $ this -> app [ 'config' ] -> app_id ; return $ this -> request ( $ this -> wrap ( 'pay/micropay' ) , $ params ) ; }
Pay the order.

@param array $params

@return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string

@throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
Pay the order .