Versions Compared

Key

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

...

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.paysecure.ru/ws/">
    <soapenv:Body>
        <ws:orderresultResponse>
            <orderresult>
                <order>
                    <ordernumber>2022.07.11-6</ordernumber>
                    <billnumber>5732614256223423</billnumber>
                    <testmode>0</testmode>
                    <ordercomment></ordercomment>
                    <orderamount>100.00</orderamount>
                    <ordercurrency>BYN</ordercurrency>
                    <firstname>Test</firstname>
                    <lastname>Testov</lastname>
                    <middlename>T.</middlename>
                    <email>test@assist.by</email>
                    <orderdate>11.07.2022 07:23:02</orderdate>
                    <orderstate>Approved</orderstate>
                    <packetdate>11.07.2022 07:42</packetdate>
                    <signature></signature>
                    <checkvalue>65A46731208432C4018D42091E8E4F35</checkvalue>
                    <operation>
                        <billnumber>5732614256223423.1</billnumber>
                        <operationtype>100</operationtype>
                        <operationstate>Success</operationstate>
                        <amount>90.00</amount>
                        <currency>BYN</currency>
                        <clientip>81.211.118.98</clientip>
                        <ipaddress>0.0.0.0</ipaddress>
                        <meantype_id>1</meantype_id>
                        <meantypename>VISA</meantypename>
                        <meansubtype>Classic</meansubtype>
                        <meannumber>411111****1111</meannumber>
                        <cardholder>TEST TESTOV</cardholder>
                        <cardexpirationdate>12/25</cardexpirationdate>
                        <issuebank>New Assist Bank</issuebank>
                        <bankcountry>Russia</bankcountry>
                        <responsecode>AS000</responsecode>
                        <message> </message>
                        <customermessage> </customermessage>
                        <recommendation></recommendation>
                        <approvalcode>X26591</approvalcode>
                        <protocoltypename>NET</protocoltypename>
                        <processingname>BPCBel</processingname>
                        <operationdate>11.07.2022 07:23:02</operationdate>
                        <authresult>Y</authresult>
                        <authrequired>1</authrequired>
                        <slipno></slipno>
                        <threedsdata>
                            <version>1.0</version>
                            <alphaauthresult>Y</alphaauthresult>
                            <challenge>C</challenge>
                            <eci>5</eci>
                        </threedsdata>
                    </operation>
                    <operation>
                        <billnumber>5732614256223423.2</billnumber>
                        <operationtype>100</operationtype>
                        <operationstate>Success</operationstate>
                        <amount>10.00</amount>
                        <currency>BYN</currency>
                        <clientip>81.211.118.98</clientip>
                        <ipaddress>0.0.0.0</ipaddress>
                        <meantype_id>21</meantype_id>
                        <meantypename>Discount</meantypename>
                        <meansubtype></meansubtype>
                        <meannumber></meannumber>
                        <cardholder></cardholder>
                        <cardexpirationdate></cardexpirationdate>
                        <issuebank>UNKNOWN</issuebank>
                        <bankcountry>UNKNOWN</bankcountry>
                        <responsecode>AS000</responsecode>
                        <message> </message>
                        <customermessage> </customermessage>
                        <recommendation></recommendation>
                        <approvalcode></approvalcode>
                        <protocoltypename></protocoltypename>
                        <processingname>Disc</processingname>
                        <operationdate>11.07.2022 07:23:08</operationdate>
                        <authresult></authresult>
                        <authrequired></authrequired>
                        <slipno></slipno>
                        <threedsdata>
                            <version></version>
                            <alphaauthresult></alphaauthresult>
                            <challenge></challenge>
                            <eci>7</eci>
                        </threedsdata>
                    </operation>
                </order>
            </orderresult>
        </ws:orderresultResponse>
    </soapenv:Body>

In JSON format:

Code Block
languagexml
{
    "orderresult": {
        "orders": [
            {
                "operations": [
                    {
                        "customermessage": " ",
                        "message": " ",
                        "operationdate": "11.07.2022 07:23:02",
                        "operationtype": 100,
                        "authrequired": "1",
                        "cardexpirationdate": "12/25",
                        "operationstate": "Success",
                        "threedsdata": {
                            "version": "1.0",
                            "eci": "5",
                            "alphaauthresult": "Y",
                            "challenge": "C"
                        },
                        "recommendation": "",
                        "processingname": "BPCBel",
                        "meannumber": "411111****1111",
                        "meantype_id": 1,
                        "authresult": "Y",
                        "clientip": "81.211.118.98",
                        "ipaddress": "0.0.0.0",
                        "amount": 90,
                        "responsecode": "AS000",
                        "meantypename": "VISA",
                        "protocoltypename": "NET",
                        "bankcountry": "Russia",
                        "cardholder": "TEST TESTOV",
                        "approvalcode": "X26591",
                        "slipno": "",
                        "issuebank": "New Assist Bank",
                        "currency": "BYN",
                        "billnumber": "5732614256223423.1",
                        "meansubtype": "Classic"
                    },
                    {
                        "customermessage": " ",
                        "message": " ",
                        "operationdate": "11.07.2022 07:23:08",
                        "operationtype": 100,
                        "authrequired": "",
                        "cardexpirationdate": "",
                        "operationstate": "Success",
                        "threedsdata": {
                            "version": "",
                            "eci": "7",
                            "alphaauthresult": "",
                            "challenge": ""
                        },
                        "recommendation": "",
                        "processingname": "Disc",
                        "meannumber": "",
                        "meantype_id": 21,
                        "authresult": "",
                        "clientip": "81.211.118.98",
                        "ipaddress": "0.0.0.0",
                        "amount": 10,
                        "responsecode": "AS000",
                        "meantypename": "Discount",
                        "protocoltypename": "",
                        "bankcountry": "UNKNOWN",
                        "cardholder": "",
                        "approvalcode": "",
                        "slipno": "",
                        "issuebank": "UNKNOWN",
                        "currency": "RUB",
                        "billnumber": "5732614256223423.2",
                        "meansubtype": ""
                    }
                ],
                "testmode": 0,
                "customer": {
                    "lastname": "Testov",
                    "firstname": "Test",
                    "middlename": "T.",
                    "email": "test@assist.by"
                },
                "orderdate": "11.07.2022 07:23:02",
                "packetdate": "11.07.2022 07:29",
                "orderamount": 100,
                "ordercomment": "",
                "ordercurrency": "BYN",
                "orderstate": "Approved",
                "signature": "",
                "checkvalue": "65A46731208432C4018D42091E8E4F35",
                "billnumber": "5732614256223423",
                "ordernumber": "2022.07.11-6"
            }
        ]
    }