Versions Compared

Key

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

...

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"
            }
        ]
    }

An example of a discount operation authorization result package sent to the merchant server

Code Block
languagexml
11.07.2022 07:15:55 Request Operation_ID:6000929 TO URL:https://<SERVER-NAME>/merchant-services/service
Params: merchant_id:732614;ordernumber:2022.07.11-5;billnumber:5732614256223415.2;testmode:0;ordercomment:;orderamount:100.00;ordercurrency:BYN;amount:10.00;currency:BYN;rate:1;firstname:Test;lastname:Testov;middlename:T.;email:null@assist.by;clientip:81.211.118.98;ipaddress:0.0.0.0;meantype_id:21;meantypename:Discount;meansubtype:;meannumber:;cardholder:;cardexpirationdate:;issuebank:UNKNOWN;bankcountry:UNKNOWN;orderdate:11.07.2022 07:15:46;orderstate:Approved;responsecode:AS000;message:;customermessage:;recommendation:SUCCESSFUL AUTHORIZATION;approvalcode:;protocoltypename:;processingname:Discount;operationtype:100;operationdate:11.07.2022 07:15:51;authresult:;authrequired:;slipno:;packetdate:11.07.2022 07:15:55;signature:;checkvalue:F0D84B730CCF85C264A9C2289EEC9113;token:;version:;alphaauthresult:;challenge:;eci:7;