课程内容

Delete Code 

Function: Delete a code that has been created

Delete Code Parameters

Request Parameter

Description

MasterPassAction

Mandatory, The action to perform.

MasterPassMerchantID

Mandatory, The merchant id as captured on MasterPass.

MasterPassCode

Mandatory, The result code that must be deleted


Response Parameter

Description

MasterPassAction

The action that was performed


REST Example:

Request:
{
    "Version""2.0",
    "CertificateID""{xxxxxxxx-71dd-4044-802d-xxxxxxxxxxxx}",
    "ProductType""Enterprise",
    "Direction""Request",
    "Enquiry": {
      "ApplicationID""{xxxxxxxx-68e0-42eb-aba9-xxxxxxxxxxxx}",
      "Mode""Live",
      "command":"MasterPassQuickResponseCode",
      "MasterPassMerchantID""xxxxx",
      "MasterPassAction""DeleteCode",
      "MerchantReference""Ref_001",
      "MasterPassCode":"0790455080"
   }
}

Response:
{
    "Version""2.0",
    "Direction""Response",
    "Enquiry": {
        "MasterPassAction""DeleteCode",
        "ApplicationID""{xxxxxxxx-68E0-42EB-ABA9-xxxxxxxxxxxx}",
        "Command""MasterPassQuickResponseCode",
        "Mode""Live",
        "RequestID""{xxxxxxxx-1DC1-4D06-A632-xxxxxxxxxxxx}",
        "Result": {
            "Status""0",
            "Code""0",
            "Description""",
            "AppServer""QAGW2012APP1",
            "DBServer""QAGW2012DB2",
            "Gateway""QA"
        }
    }
}

SOAP Example:

Request:

<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="xxxxxxxx-71dd-4044-802d-xxxxxxxxxxxx" ProductType="Enterprise"
ProductVersion="iVeriWebService" Direction="Request"&gt;
&lt;Enquiry ApplicationID="xxxxxxxx-68e0-42eb-aba9-xxxxxxxxxxxx" Command="MasterPassQuickResponseCode" Mode="LIVE"&gt;
&lt;MerchantReference&gt;Ref_002&lt;/MerchantReference&gt;
&lt;MasterPassMerchantID&gt;xxxxx&lt;/MasterPassMerchantID&gt;
&lt;MasterPassAction&gt;DeleteCode&lt;/MasterPassAction&gt;
&lt;MasterPassCode&gt;xxx5104xxx&lt;/MasterPassCode&gt;
&lt;/Enquiry&gt;
&lt;/V_XML&gt;
</request>
  </Execute>
  </soap:Body>
  </soap:Envelope>

Response:

<?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;Enquiry ApplicationID="{xxxxxxxx-68E0-42EB-ABA9-xxxxxxxxxxxx}" Command="MasterPassQuickResponseCode" Mode="Live" RequestID="{xxxxxxxx-304D-4EB0-882D-xxxxxxxxxxxx}"&gt; &lt;Result Status="0" Code="0" Description="" AppServer="QAGW2012APP1" DBServer="QAGW2012DB2" Gateway="QA" /&gt; &lt;MasterPassAction&gt;DeleteCode&lt;/MasterPassAction&gt; &lt;/Enquiry&gt; &lt;/V_XML&gt;</ExecuteResult></ExecuteResponse></soap:Body></soap:Envelope>




视图
540 总浏览
2 成员的观点
724 公众浏览
操作
0 喜爱
0 不喜欢
0 注释
分享到社交网络
分享链接
通过邮件分享

登录 分享这个 webpage 通过电子邮件。