<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Mirasvit\Affiliate\Service\AccountService">
        <plugin name="create_affiliate" type="Mirasvit\RewardsBehavior\Plugin\EarnAfterMirasvitAffiliateCreateAccount" sortOrder="1" />
    </type>
</config>