Braintree\PaymentMethodGateway::_doUpdate PHP Method

_doUpdate() public method

sends the update request to the gateway
public _doUpdate ( string $subPath, array $params ) : mixed
$subPath string
$params array
return mixed
    public function _doUpdate($subPath, $params)
    {
        $fullPath = $this->_config->merchantPath() . $subPath;
        $response = $this->_http->put($fullPath, $params);
        return $this->_verifyGatewayResponse($response);
    }