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. General

GetAccountLedger

This functionality will perform to get account ledger Information

getAccountLedger

WsbgAccountLedgerRequest object:

Field
Status
Format
Description

bankId

M

text

bank id at BG system

bankChannel

M

text

payment channel

page

M

numeric

startDate

M

date

example: 2018-03-01T00:00:00.000Z

endDate

M

date

example: 2018-03-31T23:59:00.000Z

WsbgAccountLedgerResponse object:

Field
Status
Format
Description

bankId

M

text

bank id at BG system

code

M

numeric

status code: 0 = success 1 = failed 2 = pending

countData

M

text

number of data row for respective page

message

O

text

error message

page

M

text

page number

resultCode

M

text

2 digit result code

totalData

M

text

total number of data row

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">0FDBIek8pYx57297b4Rv9P8RZfF2NZ8mWKcNnrfiYPk=</authorization>
        <date xsi:type="xsd:dateTime">Thu, 10 OCT 2019 12:53:03 ICT</date>
    </soapenv:Header>
    <soapenv:Body>
        <exp:getAccountLedger soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
            <req xsi:type="pac:WsbgAccountLedgerRequest" xmlns:pac="http://pacarana.infinetworks.com">
                <bankId xsi:type="xsd:string">10000001</bankId>
                <bankChannel xsi:type="xsd:string">6017</bankChannel>
                <page xsi:type="xsd:string">1</page>
                <startDate xsi:type="xsd:dateTime">2019-10-10T00:00:00.000Z</startDate>
                <endDate xsi:type="xsd:dateTime">2019-10-10T23:59:00.000Z</endDate>
            </req>
        </exp:getAccountLedger>
    </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:getAccountLedgerResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xmlns:ns1="http://exposed.webservice.pacarana.infinetworks.com">
            <getAccountLedgerReturn href="#id0" />
        </ns1:getAccountLedgerResponse>
        <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns2:WsbgAccountLedgerResponse" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
            xmlns:ns2="http://pacarana.infinetworks.com">
            <bankId xsi:type="xsd:string">10000001</bankId>
            <code xsi:type="xsd:byte">0</code>
            <countData xsi:type="xsd:string">1</countData>
            <data href="#id1" />
            <message xsi:type="xsd:string" xsi:nil="true" />
            <page xsi:type="xsd:string">1</page>
            <resultCode xsi:type="xsd:string">00</resultCode>
            <totalData xsi:type="xsd:string">1</totalData>
        </multiRef>
        <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <multiRef href="#id2" />
        </multiRef>
        <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns3:BgAccountLedger" xmlns:ns3="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <balance xsi:type="xsd:decimal">4539168</balance>
            <credit xsi:type="xsd:decimal" xsi:nil="true" />
            <date xsi:type="xsd:dateTime">2019-10-10T16:21:01.000Z</date>
            <debit xsi:type="xsd:decimal">99450.00</debit>
            <depositLogId xsi:type="xsd:string">122774</depositLogId>
            <description xsi:type="xsd:string">TSEL SimPATI 100</description>
            <referenceNo xsi:type="xsd:string">201910100001</referenceNo>
            <totalData xsi:type="xsd:string" xsi:nil="true" />
            <transactionId xsi:type="xsd:string">000000199315 </transactionId>
        </multiRef>
    </soapenv:Body>
</soapenv:Envelope>
PreviousGetDepositBalanceNextDigital Signature

Last updated 3 years ago