$this->getBusinessData() + $this->getFundingData() + $this->getIndividualData(), 'merchantAccountId' => $this->getMerchantAccountId(), ]; } /** * Send the request with specified data. * * @param mixed $data The data to send * * @return ResponseInterface */ public function sendData($data) { $response = $this->braintree->merchantAccount()->update($data['merchantAccountId'], $data['merchantData']); return $this->response = new Response($this, $response); } }