Page History
...
Examples of responses to a request to receive operations results by order number
In XML format:
Code Block | ||
---|---|---|
| ||
<?xml version='1.0' encoding='utf-8' standalone='yes'?>
<!DOCTYPE result [
<!ATTLIST result
firstcode CDATA #REQUIRED
secondcode CDATA #REQUIRED
count CDATA #REQUIRED>
<!ELEMENT result (order*)>
<!ELEMENT order (ordernumber?,billnumber?,testmode?,ordercomment?,orderamount?,ordercurrency?,firstname?,lastname?,middlename?,email?,orderdate?,orderstate?,packetdate?,signature?,checkvalue?,operation*)>
<!ELEMENT ordernumber (#PCDATA)>
<!ELEMENT billnumber (#PCDATA)>
<!ELEMENT testmode (#PCDATA)>
<!ELEMENT ordercomment (#PCDATA)>
<!ELEMENT orderamount (#PCDATA)>
<!ELEMENT ordercurrency (#PCDATA)>
<!ELEMENT firstname (#PCDATA)>
<!ELEMENT lastname (#PCDATA)>
<!ELEMENT middlename (#PCDATA)>
<!ELEMENT email (#PCDATA)>
<!ELEMENT orderdate (#PCDATA)>
<!ELEMENT orderstate (#PCDATA)>
<!ELEMENT packetdate (#PCDATA)>
<!ELEMENT signature (#PCDATA)>
<!ELEMENT checkvalue (#PCDATA)>
<!ELEMENT operation
(billnumber?,operationtype?,operationstate?,amount?,currency?,clientip?,ipaddress?,meantype_id?,meantypename?,meansubtype?,meannumber?,cardholder?,issuebank?,bankcountry?,responsecode?,message?,customermessage?,recommendation?,approvalcode?,protocoltypename?,processingname?,operationdate?,authresult?,authrequired?,rrn?,extrrn?)>
<!ELEMENT operationtype (#PCDATA)>
<!ELEMENT operationstate (#PCDATA)>
<!ELEMENT amount (#PCDATA)>
<!ELEMENT currency (#PCDATA)>
<!ELEMENT clientip (#PCDATA)>
<!ELEMENT ipaddress (#PCDATA)>
<!ELEMENT meantype_id (#PCDATA)>
<!ELEMENT meantypename (#PCDATA)>
<!ELEMENT meansubtype (#PCDATA)>
<!ELEMENT meannumber (#PCDATA)>
<!ELEMENT cardholder (#PCDATA)>
<!ELEMENT issuebank (#PCDATA)>
<!ELEMENT bankcountry (#PCDATA)>
<!ELEMENT responsecode (#PCDATA)>
<!ELEMENT message (#PCDATA)>
<!ELEMENT customermessage (#PCDATA)>
<!ELEMENT recommendation (#PCDATA)>
<!ELEMENT approvalcode (#PCDATA)>
<!ELEMENT protocoltypename (#PCDATA)>
<!ELEMENT processingname (#PCDATA)>
<!ELEMENT operationdate (#PCDATA)>
<!ELEMENT authresult (#PCDATA)>
<!ELEMENT authrequired (#PCDATA)>
<!ELEMENT rrn (#PCDATA)>
<!ELEMENT extrrn (#PCDATA)>]>
<result firstcode='0' secondcode='0' count='1'>
<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:41</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>
</result> |