Documentation Menu
Capture Request Transaction

Capture Request

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VPOS xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#">
	<Message version="2.1" messageId="M1681999184802" timeStamp="2023-04-20T16:59:44.802+03:00">
      <CaptureRequest>
        <Authentication>
          <Mid>0101119349</Mid>
        </Authentication>
        <OrderInfo>
          <OrderId>O230419155347</OrderId>
          <OrderAmount>50.0</OrderAmount>
          <Currency>EUR</Currency>
        </OrderInfo>
      </CaptureRequest>
	</Message>
<Digest>5WdVnTF7+4B6HuluLi4vu9Xcz5suaAJayq2gw6xaCXA=</Digest>
</VPOS>

Canonicalized Part

XML
<Message xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" messageId="M1681999184802" timeStamp="2023-04-20T16:59:44.802+03:00" version="2.1">
    <CaptureRequest>
        <Authentication>
            <Mid>0101119349</Mid>
        </Authentication>
        <OrderInfo>
            <OrderId>O230419155347</OrderId>
            <OrderAmount>50.0</OrderAmount>
            <Currency>EUR</Currency>
        </OrderInfo>
    </CaptureRequest>
</Message>

Capture Request’s Response

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VPOS xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#">
    <Message version="2.1" messageId="M1681999184802" timeStamp="2023-04-20T16:59:53.876+03:00">
        <CaptureResponse>
            <OrderId>O230419155347</OrderId>
            <OrderAmount>50.0</OrderAmount>
            <Currency>EUR</Currency>
            <PaymentTotal>50.0</PaymentTotal>
            <Status>CAPTURED</Status>
            <TxId>92639550455241</TxId>
            <PaymentRef>102959</PaymentRef>
            <Description>OK, CAPTURED response code 00</Description>
            <Attribute name="EXTACQUIRERID">026</Attribute>
        </CaptureResponse>
    </Message>
<Digest>dXvjI9lz6rTmzEEMs0Wz1aicyIZEU7aximjfryr6qt8=</Digest>
</VPOS>
Refund

Refund Request

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VPOS xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#">
    <Message version="2.1" messageId="M1681998334925" timeStamp="2023-04-20T16:45:34.925+03:00">
        <RefundRequest>
            <Authentication>
                <Mid>0101119349</Mid>
            </Authentication>
            <OrderInfo>
                <OrderId>1681135234937</OrderId>
                <OrderAmount>50.0</OrderAmount>
                <Currency>EUR</Currency>
            </OrderInfo>
        </RefundRequest>
    </Message>
    <Digest>9s298kY8kPEGoLvNV9NFNcbZCCyvZxK3oL7nr8SQO6o=</Digest>
</VPOS>

Canonicalized Part

XML
<Message xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" messageId="M1681998334925" timeStamp="2023-04-20T16:45:34.925+03:00" version="2.1">
    <RefundRequest>
        <Authentication>
            <Mid>0101119349</Mid>
        </Authentication>
        <OrderInfo>
            <OrderId>1681135234937</OrderId>
            <OrderAmount>50.0</OrderAmount>
            <Currency>EUR</Currency>
        </OrderInfo>
    </RefundRequest>
</Message>

Refund Response

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VPOS xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#">
    <Message version="2.1" messageId="M1681998334925" timeStamp="2023-04-20T16:45:43.035+03:00">
        <RefundResponse>
            <OrderId>1681135234937</OrderId>
            <OrderAmount>50.0</OrderAmount>
            <Currency>EUR</Currency>
            <PaymentTotal>50.0</PaymentTotal>
            <Status>CAPTURED</Status>
            <TxId>92639550455101</TxId>
            <Description>OK, CAPTURED response code 00</Description>
            <Attribute name="EXTACQUIRERID">026</Attribute>
        </RefundResponse>
    </Message>
    <Digest>WgP9X7soaAm48F3eaBas3Ny5Ny+UurADyDtd8kaKM8U=</Digest>
</VPOS>
Cancel

Cancel Request

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VPOS xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#">
    <Message version="2.1" messageId="M1681999515815" timeStamp="2023-04-20T17:05:15.815+03:00">
        <CancelRequest>
            <Authentication>
                <Mid>0101119349</Mid>
            </Authentication>
            <OrderInfo>
                <OrderId>O230420170325</OrderId>
                <OrderAmount>3.0</OrderAmount>
                <Currency>EUR</Currency>
            </OrderInfo>
        </CancelRequest>
    </Message>
    <Digest>YshopcLjpOsUWH0IYGx1X4Yk0gqDp4Uq3onM9xMWPnM=</Digest>
</VPOS>

Canonicalized Part

XML
<Message xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" messageId="M1681999515815" timeStamp="2023-04-20T17:05:15.815+03:00" version="2.1">
    <CancelRequest>
        <Authentication>
            <Mid>0101119349</Mid>
        </Authentication>
        <OrderInfo>
            <OrderId>O230420170325</OrderId>
            <OrderAmount>3.0</OrderAmount>
            <Currency>EUR</Currency>
        </OrderInfo>
    </CancelRequest>
</Message>

Cancel Response

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VPOS xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#">
    <Message version="2.1" messageId="M1681999515815" timeStamp="2023-04-20T17:05:23.491+03:00">
        <CancelResponse>
            <OrderId>O230420170325</OrderId>
            <OrderAmount>3.0</OrderAmount>
            <Currency>EUR</Currency>
            <PaymentTotal>3.0</PaymentTotal>
            <Status>AUTHORIZED</Status>
            <TxId>92639550455331</TxId>
            <PaymentRef>102963</PaymentRef>
            <Description>OK, AUTHORIZED response code 00</Description>
            <Attribute name="EXTACQUIRERID">026</Attribute>
        </CancelResponse>
    </Message>
    <Digest>FbD2RxyWKwrvPn2G0WqD+owxEBsKPIU5lP6qM+zdWrA=</Digest>
</VPOS>
Status Request

Request

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VPOS xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#">
    <Message version="2.1" messageId="M1732711210395" timeStamp="2024-11-27T14:40:10.395+02:00">
        <StatusRequest>
            <Authentication>
                <Mid>0101119349</Mid>
            </Authentication>
            <TransactionInfo>
                <OrderId>O240918120933</OrderId>
            </TransactionInfo>
        </StatusRequest>
    </Message>
    <Digest>Q+MDuuvhbIjVV3zRXHBiD8lv/g8GuSHc+3JU+HgEuQY=</Digest>
</VPOS>

Canonicalized Part

XML
<Message xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" messageId="M1732711210395" timeStamp="2024-11-27T14:40:10.395+02:00" version="2.1">
    <StatusRequest>
        <Authentication>
            <Mid>0101119349</Mid>
        </Authentication>
        <TransactionInfo>
            <OrderId>O240918120933</OrderId>
        </TransactionInfo>
    </StatusRequest>
</Message>

Response

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VPOS xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#">
    <Message version="2.1" messageId="M1732711210395" timeStamp="2024-11-27T14:40:10.459+02:00">
        <StatusResponse>
            <TransactionDetails>
                <OrderId>O240918120933</OrderId>
                <OrderAmount>12.0</OrderAmount>
                <Currency>EUR</Currency>
                <PaymentTotal>12.0</PaymentTotal>
                <Status>CAPTURED</Status>
                <TxId>92639555542791</TxId>
                <PaymentRef>786052</PaymentRef>
                <RiskScore>0</RiskScore>
                <Description>OK, CAPTURED response code 00</Description>
                <Attribute name="MERCHANT NO">0101119349</Attribute>
                <Attribute name="USER IP">136.226.199.71</Attribute>
                <Attribute name="CHANNEL">Redirection</Attribute>
                <Attribute name="3D STATUS">1 – Fully authenticated</Attribute>
                <Attribute name="SETTLEMENT STATUS">SENT</Attribute>
                <Attribute name="SETTLEMENT FILE">ECOMMER-20240919.txt</Attribute>
                <Attribute name="BATCH NO">1503</Attribute>
                <Attribute name="ISO response code">00</Attribute>
                <Attribute name="ORDER DESCRIPTION">Test order some items</Attribute>
                <Attribute name="CARD MASK PAN">518834########11</Attribute>
                <Attribute name="INSTALLMENT SEQUENCE">1</Attribute>
                <Attribute name="INSTALLMENT PERIOD">04</Attribute>
                <Attribute name="INSTALLMENT OFFSET">00</Attribute>
                <Attribute name="ECOM-FLG">5</Attribute>
                <Attribute name="ECI">02</Attribute>
                <Attribute name="PAYEREMAIL">test@test.gr</Attribute>
                <Attribute name="PAYERPHONE">30-698818511</Attribute>
                <Attribute name="BILLCOUNTRY">GR</Attribute>
                <Attribute name="BILLSTATE">Corinthia</Attribute>
                <Attribute name="BILLZIP">20004</Attribute>
                <Attribute name="BILLADDRESS">Agiou Nikolau 10-20</Attribute>
                <Attribute name="EXTACQUIRERID">026</Attribute>
                <TxType>PAYMENT</TxType>
                <TxDate>2024-09-18T12:10:32.072+03:00</TxDate>
                <TxStarted>2024-09-18T12:10:12.903+03:00</TxStarted>
                <TxCompleted>2024-09-18T12:10:32.755+03:00</TxCompleted>
                <PaymentMethod>mastercard</PaymentMethod>
            </TransactionDetails>
        </StatusResponse>
    </Message>
    <Digest>3rsjGSww0mCagFAGV4ziQZ8qp6QATD/WfCimUk4fmfg=</Digest>
</VPOS>
Recurring cancel

Request

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VPOS xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#">
    <Message version="2.1" messageId="M1730822974343" timeStamp="2024-11-05T18:09:34.343+02:00">
        <RecurringOperationRequest>
            <Authentication>
                <Mid>70000477</Mid>
            </Authentication>
            <TransactionInfo>
                <OrderId>1730817724666</OrderId>
            </TransactionInfo>
            <Operation>Cancel</Operation>
        </RecurringOperationRequest>
    </Message>
    <Digest>OCbkGh+S7B6VsHxQsVco08OSwlnauM3EZD1tFfH+M2s=</Digest>
</VPOS>

Canonicalized

XML
<Message xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" messageId="M1730822974343" timeStamp="2024-11-05T18:09:34.343+02:00" version="2.1">
    <RecurringOperationRequest>
        <Authentication>
            <Mid>70000477</Mid>
        </Authentication>
        <TransactionInfo>
            <OrderId>1730817724666</OrderId>
        </TransactionInfo>
        <Operation>Cancel</Operation>
    </RecurringOperationRequest>
</Message>

Response

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VPOS xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#">
    <Message version="2.1" messageId="M1730822974343" timeStamp="2024-11-05T18:09:34.485+02:00">
        <RecurringOperationResponse>
            <OrderId>1730817724666</OrderId>
            <Status>CANCELED</Status>
            <TxId>92639555750471</TxId>
            <Description>Recurring canceled txid 92639555750471</Description>
        </RecurringOperationResponse>
    </Message>
    <Digest>hgemdkgB09f2i1nSyfG7GaGfKUk1UZ+wBpeDbYmziCg=</Digest>
</VPOS>

Still looking for help?

Send us e-mail

We’re here to help. Get in touch and we’ll get back to you as soon as we can.