Biller Gateway
  • Introduction
  • Reference
    • Functional Requirements
  • API Specification
    • Postpaid
      • Get Postpaid Product List
      • PLN Postpaid
        • Inquiry
        • Payment
        • Check Status
      • Telkom
        • Inquiry
        • Payment
        • Check Status
      • Mobile Postpaid
        • Inquiry
        • Payment
        • Check Status
      • PDAM
        • Inquiry
        • Payment
        • Check Status
      • BPJS
        • Inquiry
        • Payment
        • Check Status
      • PBB
        • Inquiry
        • Payment
        • Check Status
    • Prepaid
      • Get prepaid product list
      • Mobile Prepaid
        • Purchase
        • Check Status
      • PLN Prepaid
        • Inquiry
        • Purchase
        • Check Status
      • Game Voucher
        • Purchase
        • Check Status
    • General
      • GetDepositBalance
      • GetAccountLedger
    • Digital Signature
    • List of Error Code
Powered by GitBook
On this page
  1. API Specification
  2. Prepaid
  3. PLN Prepaid

Check Status

This functionality will perform check purchase PLN Prepaid status

checkPurchase

Field
Status
Format
Description

bankId

M

text

bank id at BG system

bankRefNo

O

text

reference no from bank/merchant

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

Field
Status
Format
Description

adminFee

M

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

M

text

unit of energy

message

O

text

error message from BG

meterNumber

M

text

meter number

meterStandCubication

O

text

meter stand and cubication

nominalVoucher

O

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

M

text

prices category and power

productCode

M

text

product code

resultCode

O

text

2 digit result code

secretCode

O

text

secret code

serialNumber

O

text

serial number

standMeter

O

text

stand meter

tenor

O

text

tenor

token

M

text

token

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>
        <authorization xsi:type="xsd:string">/uIQVfUJdwcBYQVmLJvSOVhiiVZKYgKKihY5A6MmrRc=</authorization>
        <date xsi:type="xsd:dateTime">Thu, 10 OCT 2019 12:53:03 ICT</date>
    </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">01428800700</custId>
                <custRefNo xsi:type="xsd:string">000000199383</custRefNo>
                <payeeCode xsi:type="xsd:string">10011</payeeCode>
                <productCode xsi:type="xsd:string">1051</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"
    xmlns: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:encodingStyle="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">6017</bankChannel>
            <bankId xsi:type="xsd:string">10000001</bankId>
            <bankRefNo xsi:type="xsd:string">201910100001</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">01428800700</custId>
            <custName xsi:type="xsd:string">SEPULSAWATI</custName>
            <custRefNo xsi:type="xsd:string">000000199383</custRefNo>
            <dateTrx xsi:type="xsd:dateTime" xsi:nil="true" />
            <description xsi:type="xsd:string" xsi:nil="true" />
            <kwh xsi:type="xsd:string">40.52</kwh>
            <message xsi:type="xsd:string" xsi:nil="true" />
            <meterNumber xsi:type="xsd:string">01428800700</meterNumber>
            <meterStandCubication xsi:type="xsd:string" xsi:nil="true" />
            <nominalVoucher xsi:type="xsd:string" xsi:nil="true" />
            <paidAmt xsi:type="xsd:decimal" xsi:nil="true" />
            <payeeCode xsi:type="xsd:string">10011</payeeCode>
            <priceCategoryPower xsi:type="xsd:string" xsi:nil="true" />
            <pricesCategory xsi:type="xsd:string">R1/1300</pricesCategory>
            <productCode xsi:type="xsd:string">1051</productCode>
            <resultCode xsi:type="xsd:string" xsi:nil="true" />
            <secretCode xsi:type="xsd:string" xsi:nil="true" />
            <serialNumber xsi:type="xsd:string" xsi:nil="true" />
            <standMeter xsi:type="xsd:string" xsi:nil="true" />
            <tenor xsi:type="xsd:string" xsi:nil="true" />
            <token xsi:type="xsd:string">98797784514987654323 </token>
        </multiRef>
    </soapenv:Body>
</soapenv:Envelope>
PreviousPurchaseNextGame Voucher

Last updated 3 years ago