课程内容

Void should be performed on an event where transactions are not responded to or not completed to the merchant’s application which could be due to a timeout scenario. When used, the void message should be performed closer to the transaction it relates to. For more on the use of Void messages, refer to the Ensuring end to end Transaction Integrity

 
Void Business Rules
  • Must be performed on the same business day as the original transaction.
    • NB: Recommendation is that a Void should be performed closer to the transaction it relates to
  • Can only be used for Purchase/Sale transactions


REST

SOAP

Request

{

    "Version""2.0",

    "CertificateID""{5c4b9c74-0063-4240-9cff-f730675c5bd0}",

    "ProductType""Enterprise",

    "ProductVersion""WebAPI",

    "Direction""Request",

    "Transaction": {

        "ApplicationID""{d8d5a94-8fa0-428d-a539-3a5baf166f7f}",

        "Command""Void",

        "Mode""Test",

        "OriginalMerchantTrace""DIAAAY22734",

        "OriginalRequestID""{9667792F-635A-4121-AC85-E06856ADC3EF}"

 

    }

}

 

<soap:Envelope xmlns:xsi=

"http://www.w3.org/2001/XMLSchema-instance"

  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

  <Execute xmlns="http://iveri.com/">

  <validateRequest>false</validateRequest>

  <protocol>V_XML</protocol>

  <protocolVersion>7.0</protocolVersion>

  <request>

    &lt;V_XML Version="2.0" CertificateID=

"cf4b7e7a-4fec-43b4-a2cb-221263c0a34b" 

    ProductType="Enterprise" ProductVersion=

"iVeriWebService" Direction="Request"&gt;

    &lt;Transaction ApplicationID="7c523a4-7da7-4e59-b888-569fe65c535b" Command="Void" Mode="Test"&gt;

    &lt;MerchantTrace&gt;240X568BEEE&lt;/MerchantTrace

&gt;

    &lt;OriginalRequestID&gt;{B3C46039-5B4D-402A-82A7-A37BC0161167}&lt;/OriginalRequestID&gt;

    &lt;/Transaction&gt;&lt;/V_XML&gt;

</request>

  </Execute>

  </soap:Body>

  </soap:Envelope>

 

Response

 

{

    "Version""2.0",

    "Direction""Response",

    "Transaction": {

        "OriginalMerchantTrace""DIAAAY22734",

        "OriginalRequestID""{9667792F-635A-4121-AC85-E06856ADC3EF}",

        "ApplicationID""{D8D5A94-8FA0-428D-A539-3A5BAF166F7F}",

        "Command""Void",

        "Mode""Test",

        "RequestID""{F096A71F-75D0-4F0C-A150-0AF181A86445}",

        "Result": {

            "Status""0",

            "Code""0",

            "Description""",

            "AppServer""105IVERIAPPPR2N",

            "DBServer""105iveridbpr01n",

            "Gateway""Nedbank"

        }

    }

}

 

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap=

"http://schemas.xmlsoap.org/soap/envelope/" 

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=

"http://www.w3.org/2001/XMLSchema">

    <soap:Body>

        <ExecuteResponse xmlns=

"http://iveri.com/">

            <ExecuteResult>&lt;V_XML Version="2.0" 

Direction="Response"&gt;

  &lt;Transaction ApplicationID="{7C523A4-7DA7-4E59-B888-569FE65C535B}" Command="Void" Mode="Test" RequestID="{2EDCA6EC-0683-41C2-872B-CC5A01355EFD}"&gt;

    &lt;Result Status="0" Code="0" Description="" 

AppServer="105IVERIAPPPR2N" DBServer=

"105iveridbpr01n" Gateway="Nedbank" /&gt;

    &lt;OriginalMerchantTrace&gt;240X568BEEE

&lt;/OriginalMerchantTrace&gt;

    &lt;OriginalRequestID

&gt;{B3C46039-5B4D-402A-82A7-A37BC0161167}&lt;/OriginalRequestID&gt;

  &lt;/Transaction&gt;

&lt;/V_XML&gt;</ExecuteResult>

        </ExecuteResponse>

    </soap:Body>

</soap:Envelope>

 



额定值
0 0

目前没有任何评论。

成为第一个发表评论的人。