SOAP Examples

Backend2Backend

Direct Debit

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>12081</tid>
         <pType>ELV</pType>
         <payment xsi:type="etp:PaymentELV">
            <amount>1000</amount>
            <currency>EUR</currency>
            <brand>HOBEX-AT</brand>
            <iban>AT771400000123456789</iban>
            <bic>BAWAATWWXXX</bic>
            <mandateID>ID-12751-2014-08-14</mandateID>
            <dateOfSignature>2016-01-07</dateOfSignature>
         </payment>
         <order>
            <clientIP>131.130.70.8</clientIP>
            <billing>
               <name>John Doe</name>
               <gender>MALE</gender>
               <birthday>1980-01-01</birthday>
               <street>Mainstreet 1</street>
               <zip>1010</zip>
               <city>Vienna</city>
               <countryCode>AT</countryCode>
               <email>[email protected]</email>
               <phone>+4368012345678</phone>
            </billing>
         </order>
      </etp:AcceptPayment>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <soapenv:Header />
   <soapenv:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>3176</tid>
         <pType>ELV</pType>
         <payment xsi:type="etp:PaymentELV">
            <amount>1000</amount>
            <currency>EUR</currency>
            <brand>B4P</brand>
            <iban>DE09100100101234567893</iban>
            <bic>PBNKDEFFXXX</bic>
            <mandateID>ID-12751-2017-01-03</mandateID>
            <dateOfSignature>2017-01-03</dateOfSignature>
            <useProfile>true</useProfile>
         </payment>
         <customerName>John Doe</customerName>
         <customerID>B4P20161216</customerID>
         <order>
            <clientIP>131.130.70.8</clientIP>
            <desciption>Direct debit example</desciption>
         </order>
      </etp:AcceptPayment>
   </soapenv:Body>
</soapenv:Envelope>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <soapenv:Header />
   <soapenv:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>3176</tid>
         <pType>ELV</pType>
         <payment xsi:type="etp:PaymentELV">
            <amount>1000</amount>
            <currency>EUR</currency>
            <brand>BILLPAY</brand>
            <iban>DE09100100101234567893</iban>
            <bic>PBNKDEFFXXX</bic>
            <mandateID>ID-12751-2017-01-03</mandateID>
            <dateOfSignature>2017-01-03</dateOfSignature>
            <useProfile>true</useProfile>
         </payment>
         <customerName>John Doe</customerName>
         <customerID>B4P20161216</customerID>
         <order>
            <clientIP>131.130.70.8</clientIP>
            <desciption>Direct debit example</desciption>
         </order>
      </etp:AcceptPayment>
   </soapenv:Body>
</soapenv:Envelope>
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>12081</tid>
         <pType>ELV</pType>
         <payment xsi:type="etp:PaymentELV">
            <amount>1000</amount>
            <currency>EUR</currency>
            <brand>PAYOLUTION</brand>
            <iban>DE75700131000000150398</iban>
            <bic>BVWBDE2WXXX</bic>
            <mandateID>ID-12751-2014-08-14</mandateID>
            <dateOfSignature>2016-01-07</dateOfSignature>
         </payment>
         <order>
            <clientIP>131.130.70.8</clientIP>
            <billing>
               <name>John Doe</name>
               <gender>MALE</gender>
               <birthday>1980-01-01</birthday>
               <street>Mainstreet 1</street>
               <zip>1010</zip>
               <city>Vienna</city>
               <countryCode>AT</countryCode>
               <email>[email protected]</email>
               <phone>+4368012345678</phone>
            </billing>
         </order>
      </etp:AcceptPayment>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Invoice

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>12009</tid>
         <pType>KLARNA</pType>
         <payment xsi:type="etp:PaymentKLARNA">
            <amount>29400</amount>
            <currency>EUR</currency>
            <brand>INVOICE</brand>
            <personalNumber>14041960</personalNumber>
         </payment>
         <order>
            <clientIP>131.130.70.8</clientIP>
            <desciption>Hire purchase example</desciption>
            <shoppingCart>
               <item>
                  <productNr>1</productNr>
                  <desciption>Test product A</desciption>
                  <quantity>2</quantity>
                  <tax>2400</tax>
                  <amount>14400</amount>
               </item>
               <shippingCosts>600</shippingCosts>
               <shippingTax>100</shippingTax>
               <tax>4800</tax>
            </shoppingCart>
            <billing>
               <name>Testperson-at Approved</name>
               <gender>MALE</gender>
               <birthday>1960-04-14</birthday>
               <street>Klarna-Straße 1/2/3</street>
               <zip>8071</zip>
               <city>Hausmannstätten</city>
               <countryCode>AT</countryCode>
               <email>[email protected]</email>
               <phone>0676 2600000</phone>
            </billing>
         </order>
      </etp:AcceptPayment>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>12081</tid>
         <pType>BILLPAY</pType>
         <payment xsi:type="etp:PaymentBILLPAY">
            <amount>29400</amount>
            <currency>EUR</currency>
            <brand>INVOICE</brand>
         </payment>
         <order>
            <clientIP>131.130.70.8</clientIP>
            <desciption>Invoice example</desciption>
            <shoppingCart>
               <item>
                  <productNr>1</productNr>
                  <desciption>Test product A</desciption>
                  <quantity>2</quantity>
                  <tax>2400</tax>
                  <amount>14400</amount>
               </item>
               <shippingCosts>600</shippingCosts>
               <shippingTax>100</shippingTax>
               <tax>4800</tax>
            </shoppingCart>
            <billing>
               <name>John Doe</name>
               <gender>MALE</gender>
               <birthday>1980-01-01</birthday>
               <street>Mainstreet 1</street>
               <zip>1010</zip>
               <city>Vienna</city>
               <countryCode>AT</countryCode>
               <email>[email protected]</email>
               <phone>+4368012345678</phone>
            </billing>
            <successURL>https://www.domain.at/success.php</successURL>
            <errorURL>https://www.domain.at/error.php</errorURL>
            <confirmationURL>http://www.domain.at/confirmation.php</confirmationURL>
            <cancelURL>http://www.domain.at/cancel.php</cancelURL>
         </order>
      </etp:AcceptPayment>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>12081</tid>
         <pType>INVOICE</pType>
         <payment xsi:type="PaymentINVOICE">
            <amount>1000</amount>
            <currency>EUR</currency>
            <brand>INVOICE</brand>
         </payment>
         <customerName>Max Mustermann</customerName>
         <order>
            <shoppingCart></shoppingCart>
            <billing mode='READONLY'>
               <name>Max Mustermann</name>
               <street>Street 1</street>
               <zip>1234</zip>
               <city>CITY</city>
               <countryCode>AT</countryCode>
               <email>[email protected]</email>
            </billing>
         </order>
         <language>EN</language>
      </etp:AcceptPayment>
   </soapenv:Body>
</soapenv:Envelope>

Paysafecard

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>12081</tid>
         <pType>PSC</pType>
         <payment xsi:type="etp:Payment">
            <amount>1000</amount>
            <currency>EUR</currency>
         </payment>
         <order>
            <clientIP>131.130.70.8</clientIP>
            <shoppingCart>
               <item>
                  <productNr>1</productNr>
                  <desciption>Test product A</desciption>
                  <quantity>3</quantity>
                  <tax>4800</tax>
                  <amount>28800</amount>
               </item>
               <shippingCosts>600</shippingCosts>
               <shippingTax>100</shippingTax>
               <tax>14500</tax>
            </shoppingCart>
            <billing>
               <name>John Doe</name>
               <gender>MALE</gender>
               <birthday>1980-01-01</birthday>
               <street>Mainstreet 1</street>
               <zip>1010</zip>
               <city>Vienna</city>
               <countryCode>AT</countryCode>
               <email>[email protected]</email>
               <phone>+4368012345678</phone>
            </billing>
            <successURL>https://www.domain.at/success.php</successURL>
            <errorURL>https://www.domain.at/error.php</errorURL>
            <confirmationURL>http://www.domain.at/confirmation.php</confirmationURL>
            <cancelURL>http://www.domain.at/cancel.php</cancelURL>
         </order>
      </etp:AcceptPayment>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Paysafecash

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>12081</tid>
         <pType>PSC</pType>
         <payment xsi:type="etp:PaymentPSC">
            <amount>1000</amount>
            <currency>EUR</currency>
            <brand>PAYSAFECASH</brand>
         </payment>
         <order>
            <clientIP>131.130.70.8</clientIP>
            <shoppingCart>
               <item>
                  <productNr>1</productNr>
                  <desciption>Test product A</desciption>
                  <quantity>3</quantity>
                  <tax>4800</tax>
                  <amount>28800</amount>
               </item>
               <shippingCosts>600</shippingCosts>
               <shippingTax>100</shippingTax>
               <tax>14500</tax>
            </shoppingCart>
            <billing>
               <name>John Doe</name>
               <gender>MALE</gender>
               <birthday>1980-01-01</birthday>
               <street>Mainstreet 1</street>
               <zip>1010</zip>
               <city>Vienna</city>
               <countryCode>AT</countryCode>
               <email>[email protected]</email>
               <phone>+4368012345678</phone>
            </billing>
            <successURL>https://www.domain.at/success.php</successURL>
            <errorURL>https://www.domain.at/error.php</errorURL>
            <confirmationURL>http://www.domain.at/confirmation.php</confirmationURL>
            <cancelURL>http://www.domain.at/cancel.php</cancelURL>
         </order>
      </etp:AcceptPayment>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

EPS

EPS with banking brand (obsolete)

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>12099</tid>
         <pType>EPS</pType>
         <payment xsi:type="etp:PaymentEPS">
            <amount>1000</amount>
            <currency>EUR</currency>
            <brand>ERSTE</brand>
         </payment>
         <successURL>https://www.domain.at/success.php</successURL>
         <errorURL>https://www.domain.at/error.php</errorURL>
         <confirmationURL>http://www.domain.at/confirmation.php</confirmationURL>
         <cancelURL>http://www.domain.at/cancel.php</cancelURL>
      </etp:AcceptPayment>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

EPS with bankID

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>12099</tid>
         <pType>EPS</pType>
         <payment xsi:type="etp:PaymentEPS">
            <amount>1000</amount>
            <currency>EUR</currency>
            <brand>EPS</brand>
            <bankID>500</bankID>
         </payment>
         <successURL>https://www.domain.at/success.php</successURL>
         <errorURL>https://www.domain.at/error.php</errorURL>
         <confirmationURL>http://www.domain.at/confirmation.php</confirmationURL>
         <cancelURL>http://www.domain.at/cancel.php</cancelURL>
      </etp:AcceptPayment>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

EPS with "STUZZA Bankenauswahl"

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>12099</tid>
         <pType>EPS</pType>
         <payment xsi:type="etp:PaymentEPS">
            <amount>1000</amount>
            <currency>EUR</currency>
            <brand>INTERNATIONAL</brand>
         </payment>
         <successURL>https://www.domain.at/success.php</successURL>
         <errorURL>https://www.domain.at/error.php</errorURL>
         <confirmationURL>http://www.domain.at/confirmation.php</confirmationURL>
         <cancelURL>http://www.domain.at/cancel.php</cancelURL>
      </etp:AcceptPayment>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

giropay

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>12099</tid>
         <pType>GIROPAY</pType>
         <payment xsi:type="etp:PaymentGIROPAY">
            <amount>1000</amount>
            <currency>EUR</currency>
            <bic></bic>
         </payment>
         <successURL>https://www.domain.at/success.php</successURL>
         <errorURL>https://www.domain.at/error.php</errorURL>
         <confirmationURL>http://www.domain.at/confirmation.php</confirmationURL>
         <cancelURL>http://www.domain.at/cancel.php</cancelURL>
      </etp:AcceptPayment>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Paypal

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:etp="https://www.mpay24.com/soap/etp/1.5/ETP.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AcceptPayment">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <etp:AcceptPayment>
         <merchantID>92883</merchantID>
         <tid>12081</tid>
         <pType>PAYPAL</pType>
         <payment xsi:type="etp:PaymentPAYPAL">
            <amount>180</amount>
            <currency>EUR</currency>
         </payment>
         <successURL>https://www.domain.at/success.php</successURL>
         <errorURL>https://www.domain.at/error.php</errorURL>
         <confirmationURL>http://www.domain.at/confirmation.php</confirmationURL>
         <cancelURL>http://www.domain.at/cancel.php</cancelURL>
      </etp:AcceptPayment>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>