# Get prepaid product list

{% tabs %}
{% tab title="Description" %}
This functionality will show list of prepaid product
{% endtab %}

{% tab title="API Name" %}
prepaidProduct
{% endtab %}

{% tab title="Input" %}
WsbgRequest object:

| Field       | Status | Format  | Description                                 |
| ----------- | ------ | ------- | ------------------------------------------- |
| bankId      | M      | text    | bank id at BG system                        |
| bankChannel | M      | text    | payment channel                             |
| dateTrx     | M      | date    | date transaction (request)                  |
| payeeCode   | O      | text    | payee code                                  |
| type        | O      | numeric | 1 = pulsa prepaid 2 = internet data package |

{% endtab %}

{% tab title="Response Parameter" %}
WsbgPrepaidProductResponse object:

| Field      | Status | Format  | Description                                                         |
| ---------- | ------ | ------- | ------------------------------------------------------------------- |
| code       | M      | numeric | <p>status code : <br>0 = success <br>1 = failed <br>2 = pending</p> |
| data       | M      | object  | list of Prepaid Product nominal object                              |
| dateTrx    | M      | date    | date transaction (response)                                         |
| message    | O      | text    | error message from BG                                               |
| resultCode | M      | text    | 2 digit result code                                                 |

\
BgPrepaidProductNominal object:

| Field       | Status | Format  | Description                                            |
| ----------- | ------ | ------- | ------------------------------------------------------ |
| clientPrice | M      | numeric | price (not include Client Fee)                         |
| description | O      | text    | product description                                    |
| name        | M      | text    | product name                                           |
| nominal     | M      | numeric | sales Price                                            |
| payeeCode   | M      | text    | payee code                                             |
| productCode | M      | text    | product code                                           |
| status      | M      | numeric | <p>0 = deactivated <br>1 = active</p>                  |
| type        | M      | numeric | <p>1 = pusla prepaid <br>2 = internet data package</p> |

{% endtab %}

{% tab title="Example" %}
**Request**

```xml
<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">jhWIEwj/mLJgjYMSKmhDE8mHsAdBGo+0RLRGriELBGc=</authorization>
        <date xsi:type="xsd:dateTime">Thu, 10 OCT 2019 12:53:03 ICT</date>
    </soapenv:Header>
    <soapenv:Body>
        <exp:prepaidProduct 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>
                <bankChannel xsi:type="xsd:string">6017</bankChannel>
                <dateTrx xsi:type="xsd:dateTime">2019-10-10T12:53:00.000Z</dateTrx>
                <payeeCode xsi:type="xsd:string"></payeeCode>
                <type xsi:type="xsd:byte"></type>
            </req>
        </exp:prepaidProduct>
    </soapenv:Body>
</soapenv:Envelope>
```

\
**Response**

```xml
<?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:prepaidProductResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xmlns:ns1="http://exposed.webservice.pacarana.infinetworks.com">
            <prepaidProductReturn href="#id0" />
        </ns1:prepaidProductResponse>
        <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns2:WsbgPrepaidProductResponse" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
            xmlns:ns2="http://pacarana.infinetworks.com">
            <code xsi:type="xsd:byte">0</code>
            <data href="#id1" />
            <dateTrx xsi:type="xsd:dateTime">2019-10-11T08:55:07.296Z</dateTrx>
            <message xsi:type="xsd:string" xsi:nil="true" />
            <resultCode xsi:type="xsd:string">00</resultCode>
        </multiRef>
        <multiRef id="id1" soapenc:root="0" soapenv:encodingS tyle="http://schemas.xmlsoap.org/soap/encoding/"
            soapenc:arra yType="xsd:anyType[9]" xsi:type="soapenc:Array"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <multiRef href="#id2" />
            <multiRef href="#id3" />
            <multiRef href="#id4" />
            <multiRef href="#id5" />
            <multiRef href="#id6" />
            <multiRef href="#id7" />
            <multiRef href="#id8" />
            <multiRef href="#id9" />
            <multiRef href="#id10" />
        </multiRef>
        <multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns3:BgPrepaidProductNominal" xmlns:ns3="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">99450.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">TSEL SimPATI 100</name>
            <nominal xsi:type="xsd:decimal">100000.00</nominal>
            <payeeCode xsi:type="xsd:string">10002</payeeCode>
            <productCode xsi:type="xsd:string">1007</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id9" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns4:BgPrepaidProductNominal" xmlns:ns4="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">49700.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">SMAR 50</name>
            <nominal xsi:type="xsd:decimal">50000.00</nominal>
            <payeeCode xsi:type="xsd:string">10007</payeeCode>
            <productCode xsi:type="xsd:string">1005</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id4" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns5:BgPrepaidProductNominal" xmlns:ns5="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">49700.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">ISAT IM3 50</name>
            <nominal xsi:type="xsd:decimal">50000.00</nominal>
            <payeeCode xsi:type="xsd:string">10003</payeeCode>
            <productCode xsi:type="xsd:string">1006</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id8" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns6:BgPrepaidProductNominal" xmlns:ns6="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">99450.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">THRE 100</name>
            <nominal xsi:type="xsd:decimal">100000.00</nominal>
            <payeeCode xsi:type="xsd:string">10009</payeeCode>
            <productCode xsi:type="xsd:string">1006</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns7:BgPrepaidProductNominal" xmlns:ns7="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">50225.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">TSEL SimPATI 50</name>
            <nominal xsi:type="xsd:decimal">50500.00</nominal>
            <payeeCode xsi:type="xsd:string">10002</payeeCode>
            <productCode xsi:type="xsd:string">1006</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id10" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns8:BgPrepaidProductNominal" xmlns:ns8="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">99225.00</clientPrice>
            <description xsi:type="xsd:string">Internet 4G :12GB</description>
            <name xsi:type="xsd:string">Pulsa Internet Telkomsel Rp100.000</name>
            <nominal xsi:type="xsd:decimal">100000.00</nominal>
            <payeeCode xsi:type="xsd:string">10002</payeeCode>
            <productCode xsi:type="xsd:string">1202</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">2</type>
        </multiRef>
        <multiRef id="id6" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns9:BgPrepaidProductNominal" xmlns:ns9="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">49650.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">AXIS 50</name>
            <nominal xsi:type="xsd:decimal">50000.00</nominal>
            <payeeCode xsi:type="xsd:string">10008</payeeCode>
            <productCode xsi:type="xsd:string">1007</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id5" soapenc:root="0" soapenv:encodingS tyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns10:BgPrepaidProductNominal" xmlns:ns10="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">50096.50</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">XCEL 50</name>
            <nominal xsi:type="xsd:decimal">50500.00</nominal>
            <payeeCode xsi:type="xsd:string">10004</payeeCode>
            <productCode xsi:type="xsd:string">1005</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id7" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns11:BgPrepaidProductNominal" xmlns:ns11="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">99250.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">AXIS 100</name>
            <nominal xsi:type="xsd:decimal">100000.00</nominal>
            <payeeCode xsi:type="xsd:string">10008</payeeCode>
            <productCode xsi:type="xsd:string">1008</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
    </soapenv:Body>
</soapenv:Envelope><?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:prepaidProductResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xmlns:ns1="http://exposed.webservice.pacarana.infinetworks.com">
            <prepaidProductReturn href="#id0" />
        </ns1:prepaidProductResponse>
        <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns2:WsbgPrepaidProductResponse" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
            xmlns:ns2="http://pacarana.infinetworks.com">
            <code xsi:type="xsd:byte">0</code>
            <data href="#id1" />
            <dateTrx xsi:type="xsd:dateTime">2019-10-11T08:55:07.296Z</dateTrx>
            <message xsi:type="xsd:string" xsi:nil="true" />
            <resultCode xsi:type="xsd:string">00</resultCode>
        </multiRef>
        <multiRef id="id1" soapenc:root="0" soapenv:encodingS tyle="http://schemas.xmlsoap.org/soap/encoding/"
            soapenc:arra yType="xsd:anyType[9]" xsi:type="soapenc:Array"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <multiRef href="#id2" />
            <multiRef href="#id3" />
            <multiRef href="#id4" />
            <multiRef href="#id5" />
            <multiRef href="#id6" />
            <multiRef href="#id7" />
            <multiRef href="#id8" />
            <multiRef href="#id9" />
            <multiRef href="#id10" />
        </multiRef>
        <multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns3:BgPrepaidProductNominal" xmlns:ns3="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">99450.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">TSEL SimPATI 100</name>
            <nominal xsi:type="xsd:decimal">100000.00</nominal>
            <payeeCode xsi:type="xsd:string">10002</payeeCode>
            <productCode xsi:type="xsd:string">1007</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id9" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns4:BgPrepaidProductNominal" xmlns:ns4="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">49700.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">SMAR 50</name>
            <nominal xsi:type="xsd:decimal">50000.00</nominal>
            <payeeCode xsi:type="xsd:string">10007</payeeCode>
            <productCode xsi:type="xsd:string">1005</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id4" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns5:BgPrepaidProductNominal" xmlns:ns5="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">49700.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">ISAT IM3 50</name>
            <nominal xsi:type="xsd:decimal">50000.00</nominal>
            <payeeCode xsi:type="xsd:string">10003</payeeCode>
            <productCode xsi:type="xsd:string">1006</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id8" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns6:BgPrepaidProductNominal" xmlns:ns6="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">99450.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">THRE 100</name>
            <nominal xsi:type="xsd:decimal">100000.00</nominal>
            <payeeCode xsi:type="xsd:string">10009</payeeCode>
            <productCode xsi:type="xsd:string">1006</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns7:BgPrepaidProductNominal" xmlns:ns7="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">50225.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">TSEL SimPATI 50</name>
            <nominal xsi:type="xsd:decimal">50500.00</nominal>
            <payeeCode xsi:type="xsd:string">10002</payeeCode>
            <productCode xsi:type="xsd:string">1006</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id10" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns8:BgPrepaidProductNominal" xmlns:ns8="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">99225.00</clientPrice>
            <description xsi:type="xsd:string">Internet 4G :12GB</description>
            <name xsi:type="xsd:string">Pulsa Internet Telkomsel Rp100.000</name>
            <nominal xsi:type="xsd:decimal">100000.00</nominal>
            <payeeCode xsi:type="xsd:string">10002</payeeCode>
            <productCode xsi:type="xsd:string">1202</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">2</type>
        </multiRef>
        <multiRef id="id6" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns9:BgPrepaidProductNominal" xmlns:ns9="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">49650.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">AXIS 50</name>
            <nominal xsi:type="xsd:decimal">50000.00</nominal>
            <payeeCode xsi:type="xsd:string">10008</payeeCode>
            <productCode xsi:type="xsd:string">1007</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id5" soapenc:root="0" soapenv:encodingS tyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns10:BgPrepaidProductNominal" xmlns:ns10="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">50096.50</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">XCEL 50</name>
            <nominal xsi:type="xsd:decimal">50500.00</nominal>
            <payeeCode xsi:type="xsd:string">10004</payeeCode>
            <productCode xsi:type="xsd:string">1005</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
        <multiRef id="id7" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            xsi:type="ns11:BgPrepaidProductNominal" xmlns:ns11="http://pacarana.infinetworks.com"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <clientPrice xsi:type="xsd:string">99250.00</clientPrice>
            <description xsi:type="xsd:string" xsi:nil="true" />
            <name xsi:type="xsd:string">AXIS 100</name>
            <nominal xsi:type="xsd:decimal">100000.00</nominal>
            <payeeCode xsi:type="xsd:string">10008</payeeCode>
            <productCode xsi:type="xsd:string">1008</productCode>
            <status xsi:type="xsd:string">1</status>
            <type xsi:type="xsd:byte">1</type>
        </multiRef>
    </soapenv:Body>
</soapenv:Envelope>
```

{% endtab %}
{% endtabs %}
