<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
    <default>
        <payment>
            <payby>
                <model>PayByFacade</model>
                <title>PayBy Payment</title>
                <payment_action>authorize_capture</payment_action>
                <active>1</active>
                <is_gateway>1</is_gateway>
                <can_use_checkout>1</can_use_checkout>
                <can_authorize>1</can_authorize>
                <can_capture>1</can_capture>
                <can_use_internal>1</can_use_internal>
                <sort_order>10</sort_order>
                <can_refund>1</can_refund>
                <can_cancel>1</can_cancel>
                <order_status>payby_processing</order_status>
                <environment>sandbox</environment>
                <allowspecific>0</allowspecific>
                <debug>1</debug>
                <api_url_prod>https://api.payby.com/</api_url_prod>
                <api_url_sandbox>https://uat.test2pay.com/</api_url_sandbox>
                <api_order_endpoint>sgs/api/acquire2/placeOrder</api_order_endpoint>
                <api_refund_endpoint>sgs/api/acquire2/refund/placeOrder</api_refund_endpoint>
                <api_cancel_endpoint>sgs/api/acquire2/cancelOrder</api_cancel_endpoint>
                <public_key backend_model="Magento\Config\Model\Config\Backend\Encrypted" />
                <private_key backend_model="Magento\Config\Model\Config\Backend\Encrypted" />
            </payby>
        </payment>
    </default>
</config>
