Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleAn example of request result of payment cancellation or refund with bonus points:
Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.paysecure.ru/ws/">
    <soapenv:Body><ws:WSCancelResponseParams>
        <order>
            <billnumber>5774168101038147</billnumber>
            <ordernumber>14092012-002</ordernumber>
            <testmode>0</testmode>
            <ordercomment>test payment</ordercomment>
            <orderamount>4010.00</orderamount>
            <ordercurrency>RUB</ordercurrency>
            <rate>1</rate>
            <orderdate>14.09.2012 09:29:38</orderdate>
            <orderstate>Canceled</orderstate>
            <customer>
                <firstname>Ivan</firstname>
                <lastname>Ivanov</lastname>
                <middlename>Ivanovich</middlename>
                <email>iivanov@mail.test</email>
            </customer>
            <operation>
                <billnumber>5774168101038147.3</billnumber>
                <operationtype>300</operationtype>
                <operationstate>Success</operationstate>
                <amount>4010.00</amount>
                <currency>RUB</currency>
                <ipaddress>10.10.10.10</ipaddress>
                <meantype_id>1</meantype_id>
                <meansubtype></meansubtype>
                <meannumber>427683****3018</meannumber>
                <cardholder>TEST</cardholder>
                <cardexpirationdate>12/20</cardexpirationdate>
                <issuebank>SBERBANK OF RUSSIA</issuebank>
                <bankcountry>Russia</bankcountry>
                <responsecode>AS000</responsecode>
                <message></message>
                <customermessage></customermessage>
                <recommendation></recommendation>
                <approvalcode>X34209</approvalcode>
                <protocoltypename></protocoltypename>
                <processingname>UCS</processingname>
                <operationdate>14.09.2012 09:33:51</operationdate>
                <slipno></slipno>
            </operation>
            <operation>
                <billnumber>5774168101038147.4</billnumber>
                <operationtype>600</operationtype>
                <operationstate>Success</operationstate>
                <amount>401.00</amount>
                <currency>RUB</currency>
                <ipaddress>10.10.10.10</ipaddress>
                <meantype_id>12</meantype_id>
                <meansubtype></meansubtype>
                <meannumber>427683****3018</meannumber>
                <cardholder>TEST</cardholder>
                <cardexpirationdate>12/20</cardexpirationdate>
                <issuebank>SBERBANK OF RUSSIA</issuebank>
                <bankcountry>Россия</bankcountry>
                <responsecode>AS000</responsecode>
                <message></message>
                <customermessage></customermessage>
                <recommendation></recommendation>
                <approvalcode></approvalcode>                    
                <protocoltypename></protocoltypename>
                <processingname>SberLo</processingname>
                <operationdate>14.09.2012 09:33:51</operationdate>
                <slipno></slipno>
            </operation>
        </order>
        <packetdate>14.09.2012 09:33:57</packetdate>
        <signature>kA0DAAIRzfHw5YyCW...bQnThrGPVGBK6gh9bxUl1w==</signature>
    </ws:WSCancelResponseParams></soapenv:Body>
</soapenv:Envelope> 

An example of request result, returning the error (wrong amount):