Curl Options - paypal/PayPal-PHP-SDK GitHub Wiki
Curl is used as our transportation engine for sending Rest API calls. You can configure Curl options as follows:
Configurations
http.<CURL_OPTION>- Replace
<CURL_OPTION>with one of the Curl constants. - e.g. http.CURLOPT_CONNECTTIMEOUT = 30
- Replace
As you can see, any curl constant that needs to be added, needs to be prefixed with http..
By default, there are many configurations set by default. By defining any configuration here would override the default.