The Repeat Billing system provides merchants utilizing the Remote flow with the capability to set up and manage automatic recurring payments, ideal for subscription services. The ability to directly debit a card for each payment is contingent upon your acquiring bank supporting 'Continuous Authority' transactions for your merchant account.
Example for creating an agreement through Remote API: (https://secure.telr.com/gateway/remote.xml)
<remote>
    <store>12345</store>
    <key>my_api_key</key>
    <tran>
        <type>sale</type>
        <class>ecom</class>
        <cartid>cart1234</cartid>
        <description>Test Remote API</description>
        <currency>AED</currency>
        <amount>1</amount>
        <test>0</test>
    </tran>
    <card>
        <number>1234567891234567</number>
        <expiry>
            <month>09</month>
            <year>2027</year>
        </expiry>
        <cvv>123</cvv>
    </card>
    <billing>
        <name>
            <title>Mr</title>
            <first>Test</first>
            <last>User</last>
        </name>
        <address>
            <line1>Digital Park</line1>
            <city>Dubai</city>
            <region>Dubai</region>
            <country>AE</country>
            <zip>001</zip>
        </address>
        <email>[email protected]</email>
        <ip>1.2.3.4</ip>
    </billing>
    <mpi>
        <session>94536e57165d65f166c7ee2da02c7d</session>
    </mpi>
    <repeat>
        <auto>true</auto>
        <amount>2.29</amount>
        <interval>1</interval>
        <period>T</period>
        <term> 15</term>
        <final>10</final>
        <start>10092024</start>
    </repeat>
</remote>
For further details on the parameters, please refer to the following document - https://docs.telr.com/reference/repeat-billing
