Check Status
This functionality will perform check purchase Game Voucher status
checkPurchase
WsbgRequest object:
bankId
M
text
bank id at BG system
bankChannel
O
text
payment channel
custId
O
text
bill number to be paid
custRefNo
M
text
reference no from BG
payeeCode
M
text
payee code
productCode
M
text
product code
WsbgResponse object:
adminFee
O
numeric
admin fee
bankChannel
M
text
payment channel copy from request
bankId
M
text
bank id at BG system (copy from request)
bankRefNo
O
text
reference no from bank/merchant (copy from request)
billAmt
O
numeric
bill amount
billPeriod
O
text
bill period
billRefNo
O
text
reference no from biller
code
M
numeric
status code : 0 = success 1 = failed 2 = pending
custAccNo
O
text
cust account no at bank / merchant (copy from request)
custId
M
text
bill number to be paid (copy from request)
custName
O
text
customer's name
custRefNo
M
text
reference no from BG
date Trx
M
date
date transaction (response)
description
O
text
product description
kwh
O
text
unit of energy
message
O
text
error message from BG
meterNumber
O
text
meter number
meterStandCubication
O
text
meter stand and cubication
nominalVoucher
M
text
nominal voucher
paidAmt
O
numeric
paid amount (to be debeted = billAmt + adminFee)
payeeCode
M
text
payee code
priceCategorypower
O
text
prices category and power
pricesCategory
O
text
prices category and power
productCode
M
text
product code
resultCode
O
text
2 digit result code
secretCode
M
text
secret code
serialNumber
M
text
serial number
standMeter
O
text
stand meter
tenor
O
text
tenor
token
O
text
token
Use the nominalVoucher as base for charging your customer
Use the secretCode as token/voucher game
Request
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:exp="http://exposed.webservice.pacarana.infinetworks.com">
<soapenv:Header />
<soapenv:Body>
<exp:checkPurchase soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<req xsi:type="pac:WsbgRequest" xmlns:pac="http://pacarana.infinetworks.com">
<bankId xsi:type="xsd:string">10000001</bankId>
<custId xsi:type="xsd:string">081298710737</custId>
<custRefNo xsi:type="xsd:string">000000094867</custRefNo>
<payeeCode xsi:type="xsd:string">10014</payeeCode>
<productCode xsi:type="xsd:string">1050</productCode>
</req>
</exp:checkPurchase>
</soapenv:Body>
</soapenv:Envelope>
Response
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
x mlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:checkPurchaseResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://exposed.webservice.pacarana.infinetworks.com">
<checkPurchaseReturn href="#id0" />
</ns1:checkPurchaseResponse>
<multiRef id="id0" soapenc:root="0" soapenv:encodingS tyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:WsbgResponse" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="http://pacarana.infinetworks.com">
<adminFee xsi:type="xsd:decimal" xsi:nil="true" />
<bankChannel xsi:type="xsd:string">6010</bankChannel>
<bankId xsi:type="xsd:string">10000001</bankId>
<bankRefNo xsi:type="xsd:string">201803070006</bankRefNo>
<billAmt xsi:type="xsd:decimal" xsi:nil="true" />
<billPeriod xsi:type="xsd:string" xsi:nil="true" />
<billRefNo xsi:type="xsd:string" xsi:nil="true" />
<code xsi:type="xsd:byte">0</code>
<custAccNo xsi:type="xsd:string" xsi:nil="true" />
<custId xsi:type="xsd:string">081298710737</custId>
<custName xsi:type="xsd:string" xsi:nil="true" />
<custRefNo xsi:type="xsd:string">000000094867</custRefNo>
<dateTrx xsi:type="xsd:dateTime" xsi:nil="true" />
<description xsi:type="xsd:string" xsi:nil="true" />
<kwh xsi:type="xsd:string" xsi:nil="true" />
<message xsi:type="xsd:string" xsi:nil="true" />
<meterNumber xsi:type="xsd:string" xsi:nil="true" />
<meterStandCubication xsi:type="xsd:string" xsi:nil="true" />
<nominalVoucher xsi:type="xsd:string">17630.00</nominalVoucher>
<paidAmt xsi:type="xsd:decimal" xsi:nil="true" />
<payeeCode xsi:type="xsd:string">10014</payeeCode>
<priceCategoryPower xsi:type="xsd:string" xsi:nil="true" />
<pricesCategory xsi:type="xsd:string" xsi:nil="true" />
<productCode xsi:type="xsd:string">1050</productCode>
<resultCode xsi:type="xsd:string" xsi:nil="true" />
<secretCode xsi:type="xsd:string">8NYPZ-B2PYL-Q37GM</secretCode>
<serialNumber xsi:type="xsd:string">SW12191106- 099</serialNumber>
<standMeter xsi:type="xsd:string" xsi:nil="true" />
<tenor xsi:type="xsd:string" xsi:nil="true" />
<token xsi:type="xsd:string" xsi:nil="true" />
</multiRef>
</soapenv:Body>
</soapenv:Envelope>
Last updated