Omnipay\PayPal\Message\RestAuthorizeRequest::getEndpoint PHP Method

getEndpoint() protected method

Authorization of payments is done using the /payment resource.
protected getEndpoint ( ) : string
return string
    protected function getEndpoint()
    {
        return parent::getEndpoint() . '/payments/payment';
    }