PaymentLink 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="M1728981255715" timeStamp="2024-10-15T11:34:15.715+03:00">
        <PaymentLinkRequest>
            <Authentication>
                <Mid>90006064</Mid>
            </Authentication>
            <OrderInfo>
                <OrderId>1728981205998</OrderId>
                <OrderDesc>
                </OrderDesc>
                <OrderAmount>3.0</OrderAmount>
                <Currency>EUR</Currency>
                <PayerEmail>simos.siatis@worldline.com</PayerEmail>
                <BillingAddress>
                <country>GR</country>
                <state>
                </state>
                <zip>12345</zip>
                <city>Athens</city>
                <address>Test</address>
                </BillingAddress>
            </OrderInfo>
            <PaymentInfo/>
            <TxType>PAYMENT</TxType>
            <LinkValidityDays>5</LinkValidityDays>
            <MailLinkIfValidMail>true</MailLinkIfValidMail>
        </PaymentLinkRequest>
    </Message>
    <Digest>1yidVqPYsqK+lyy/3cCwsLAha1ksQhgYbStfQH17OuA=</Digest>
</VPOS>

Canonicalized part

XML
<Message xmlns="http://www.modirum.com/schemas/vposxmlapi41" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" messageId="M1728981255715" timeStamp="2024-10-15T11:34:15.715+03:00" version="2.1">
    <PaymentLinkRequest>
        <Authentication>
            <Mid>90006064</Mid>
        </Authentication>
        <OrderInfo>
            <OrderId>1728981205998</OrderId>
            <OrderDesc>
            </OrderDesc>
            <OrderAmount>3.0</OrderAmount>
            <Currency>EUR</Currency>
            <PayerEmail>simos.siatis@worldline.com</PayerEmail>
            <BillingAddress>
            <country>GR</country>
            <state>
            </state>
            <zip>12345</zip>
            <city>Athens</city>
            <address>Test</address>
            </BillingAddress>
        </OrderInfo>
        <PaymentInfo>
        </PaymentInfo>
        <TxType>PAYMENT</TxType>
        <LinkValidityDays>5</LinkValidityDays>
        <MailLinkIfValidMail>true</MailLinkIfValidMail>
    </PaymentLinkRequest>
</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="M1728981255715" timeStamp="2024-10-15T11:34:15.975+03:00">
        <PaymentLinkResponse>
            <OrderId>1728981205998</OrderId>
            <OrderAmount>3.0</OrderAmount>
            <Currency>EUR</Currency>
            <PaymentTotal>3.0</PaymentTotal>
            <Status>EXECWAIT</Status>
            <TxId>92639555657341</TxId>
            <Description>OK, link created mailed</Description>
            <PaymentLink>https://eurocommerce-test.cardlink.gr/vpos/Paylink/b033573194386268462f9034e0391f36</PaymentLink>
            <LinkMailed>true</LinkMailed>
        </PaymentLinkResponse>
    </Message>
    <Digest>IwQfgRMoiKvklLjzFBD+GphxTJDewH1beTcxNf+no6Y=</Digest>
</VPOS>