<?xml version="1.0"?>
<AddToOrder
    version="{{ xml_gateway_version|default('1.50', true) }}"
    device="102"
>
    <OrdCheck
        badge="{{ employee }}"
        department="{{ department }}"
        check="{{ check }}"
    >
        <Payment
            id="{{ payment_id }}"
            amount="{{ dollars_amount }}"
            tip="{{ dollars_tip }}"
            {% if type == "card" %}
            account="{{ account }}"
            expiration="{{ expiration }}"
            cvv="{{ cvv }}"
            {% endif %}
        />
    </OrdCheck>
</AddToOrder>
