<?xml version="1.0"?>
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd">
    <group id="api_refund" translate="label comment" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
        <label>API Integration</label>
        <field id="receive_refund" translate="label comment" type="select" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
            <label>Receive refund notification</label>
            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
            <comment>Enable the creation of a Credit Note when a refund occurs in Mercado Pago.</comment>
            <config_path>payment/mercadopago_adbpayment/receive_refund</config_path>
            <validate>required-entry</validate>
        </field>
    </group>
</include>
