public function bankInfosRegister(
        VendorInterface $vendor,
        BankInfo $bankInfo
    ) {

        $this->resetRestClient();

        $this->restClient->getConfig()->setPath(
            'request.options/headers/php-auth-user',
            $this->login
        );

        $this->restClient->getConfig()->setPath(
            'request.options/headers/php-auth-pw',
            $this->password
        );

        if (!is_null($vendor->getHiPayId())) {
            $this->restClient->getConfig()->setPath(
                'request.options/headers/php-auth-subaccount-id',
                $vendor->getHiPayId()
            );
        }

        $parameters = $bankInfo->mergeIntoParameters();

        $command = $this->restClient->getCommand(
            'RegisterBankInfo',
            $parameters
        );
        $result = $this->executeRest($command, $parameters);

        return $result;
    }