Services


Click here for a complete list of operations.

MomasRequeryTransaction

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
username:
password:
transactionReference:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Services.asmx HTTP/1.1
Host: services.tranzgate.com.ng
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://services.tranzgate.com.ng/MomasRequeryTransaction"

<?xml version="1.0" encoding="utf-8"?>
<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>
    <MomasRequeryTransaction xmlns="https://services.tranzgate.com.ng/">
      <username>string</username>
      <password>string</password>
      <transactionReference>string</transactionReference>
    </MomasRequeryTransaction>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<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>
    <MomasRequeryTransactionResponse xmlns="https://services.tranzgate.com.ng/">
      <MomasRequeryTransactionResult>
        <type>string</type>
        <responsecode>string</responsecode>
        <responsedesc>string</responsedesc>
        <transactionReference>string</transactionReference>
        <merchantId>string</merchantId>
        <recieptNumber>string</recieptNumber>
        <paidamount>decimal</paidamount>
        <costOfUnit>decimal</costOfUnit>
        <unit>decimal</unit>
        <vat>decimal</vat>
        <transactionDate>string</transactionDate>
        <transactionStatus>string</transactionStatus>
        <customer>
          <responsecode>string</responsecode>
          <responsedesc>string</responsedesc>
          <customerName>string</customerName>
          <meterNumber>string</meterNumber>
          <accountNumber>string</accountNumber>
          <address>string</address>
          <businessUnit>string</businessUnit>
          <undertaking>string</undertaking>
          <phoneNumber>string</phoneNumber>
          <lastTransactionDate>string</lastTransactionDate>
          <minimumPurchase>decimal</minimumPurchase>
          <customerArrears>decimal</customerArrears>
          <tariff>string</tariff>
          <fc>decimal</fc>
          <sgc>string</sgc>
          <tariffId>string</tariffId>
          <oldTariff>string</oldTariff>
          <oldSgc>string</oldSgc>
          <krn1>string</krn1>
          <krn2>string</krn2>
          <isDual>boolean</isDual>
        </customer>
        <kct1>string</kct1>
        <kct2>string</kct2>
      </MomasRequeryTransactionResult>
    </MomasRequeryTransactionResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Services.asmx HTTP/1.1
Host: services.tranzgate.com.ng
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <MomasRequeryTransaction xmlns="https://services.tranzgate.com.ng/">
      <username>string</username>
      <password>string</password>
      <transactionReference>string</transactionReference>
    </MomasRequeryTransaction>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <MomasRequeryTransactionResponse xmlns="https://services.tranzgate.com.ng/">
      <MomasRequeryTransactionResult>
        <type>string</type>
        <responsecode>string</responsecode>
        <responsedesc>string</responsedesc>
        <transactionReference>string</transactionReference>
        <merchantId>string</merchantId>
        <recieptNumber>string</recieptNumber>
        <paidamount>decimal</paidamount>
        <costOfUnit>decimal</costOfUnit>
        <unit>decimal</unit>
        <vat>decimal</vat>
        <transactionDate>string</transactionDate>
        <transactionStatus>string</transactionStatus>
        <customer>
          <responsecode>string</responsecode>
          <responsedesc>string</responsedesc>
          <customerName>string</customerName>
          <meterNumber>string</meterNumber>
          <accountNumber>string</accountNumber>
          <address>string</address>
          <businessUnit>string</businessUnit>
          <undertaking>string</undertaking>
          <phoneNumber>string</phoneNumber>
          <lastTransactionDate>string</lastTransactionDate>
          <minimumPurchase>decimal</minimumPurchase>
          <customerArrears>decimal</customerArrears>
          <tariff>string</tariff>
          <fc>decimal</fc>
          <sgc>string</sgc>
          <tariffId>string</tariffId>
          <oldTariff>string</oldTariff>
          <oldSgc>string</oldSgc>
          <krn1>string</krn1>
          <krn2>string</krn2>
          <isDual>boolean</isDual>
        </customer>
        <kct1>string</kct1>
        <kct2>string</kct2>
      </MomasRequeryTransactionResult>
    </MomasRequeryTransactionResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /Services.asmx/MomasRequeryTransaction?username=string&password=string&transactionReference=string HTTP/1.1
Host: services.tranzgate.com.ng
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<MomasVendingResult xmlns="https://services.tranzgate.com.ng/">
  <type>string</type>
  <responsecode>string</responsecode>
  <responsedesc>string</responsedesc>
  <transactionReference>string</transactionReference>
  <merchantId>string</merchantId>
  <recieptNumber>string</recieptNumber>
  <paidamount>decimal</paidamount>
  <costOfUnit>decimal</costOfUnit>
  <unit>decimal</unit>
  <vat>decimal</vat>
  <transactionDate>string</transactionDate>
  <transactionStatus>string</transactionStatus>
  <customer>
    <responsecode>string</responsecode>
    <responsedesc>string</responsedesc>
    <customerName>string</customerName>
    <meterNumber>string</meterNumber>
    <accountNumber>string</accountNumber>
    <address>string</address>
    <businessUnit>string</businessUnit>
    <undertaking>string</undertaking>
    <phoneNumber>string</phoneNumber>
    <lastTransactionDate>string</lastTransactionDate>
    <minimumPurchase>decimal</minimumPurchase>
    <customerArrears>decimal</customerArrears>
    <tariff>string</tariff>
    <fc>decimal</fc>
    <sgc>string</sgc>
    <tariffId>string</tariffId>
    <oldTariff>string</oldTariff>
    <oldSgc>string</oldSgc>
    <krn1>string</krn1>
    <krn2>string</krn2>
    <isDual>boolean</isDual>
  </customer>
  <kct1>string</kct1>
  <kct2>string</kct2>
</MomasVendingResult>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /Services.asmx/MomasRequeryTransaction HTTP/1.1
Host: services.tranzgate.com.ng
Content-Type: application/x-www-form-urlencoded
Content-Length: length

username=string&password=string&transactionReference=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<MomasVendingResult xmlns="https://services.tranzgate.com.ng/">
  <type>string</type>
  <responsecode>string</responsecode>
  <responsedesc>string</responsedesc>
  <transactionReference>string</transactionReference>
  <merchantId>string</merchantId>
  <recieptNumber>string</recieptNumber>
  <paidamount>decimal</paidamount>
  <costOfUnit>decimal</costOfUnit>
  <unit>decimal</unit>
  <vat>decimal</vat>
  <transactionDate>string</transactionDate>
  <transactionStatus>string</transactionStatus>
  <customer>
    <responsecode>string</responsecode>
    <responsedesc>string</responsedesc>
    <customerName>string</customerName>
    <meterNumber>string</meterNumber>
    <accountNumber>string</accountNumber>
    <address>string</address>
    <businessUnit>string</businessUnit>
    <undertaking>string</undertaking>
    <phoneNumber>string</phoneNumber>
    <lastTransactionDate>string</lastTransactionDate>
    <minimumPurchase>decimal</minimumPurchase>
    <customerArrears>decimal</customerArrears>
    <tariff>string</tariff>
    <fc>decimal</fc>
    <sgc>string</sgc>
    <tariffId>string</tariffId>
    <oldTariff>string</oldTariff>
    <oldSgc>string</oldSgc>
    <krn1>string</krn1>
    <krn2>string</krn2>
    <isDual>boolean</isDual>
  </customer>
  <kct1>string</kct1>
  <kct2>string</kct2>
</MomasVendingResult>