/** * @param string $processor the processor to underwrite the merchant on * @return \Finix\Resources\Merchant * @throws \Finix\Hal\Exception\LinkNotUniqueException * @throws \Finix\Hal\Exception\RelNotFoundException */ public function provisionMerchantOn(array $args) { $merchant = new Merchant(["processor" => $args['processor']]); return $merchant->create($this->resource->getLink("underwriting")->getHref()); }