# BNI VA Static Integration

## **POST Data**

The services API is the same as the existing post-data API in Debit Integration. However, there are differences in the bill\_expired parameter.

**Endpoint URL Post Data**

{% tabs %}
{% tab title="XML" %}

<table><thead><tr><th width="158">Environment</th><th>URL</th></tr></thead><tbody><tr><td>Development</td><td><a href="https://debit-sandbox.faspay.co.id/pws/300011/183xx00010100000">https://debit-sandbox.faspay.co.id/pws/300011/183xx00010100000</a></td></tr></tbody></table>
{% endtab %}

{% tab title="JSON" %}

<table><thead><tr><th width="162.5">Environment</th><th>URL</th></tr></thead><tbody><tr><td>Development</td><td><a href="https://debit-sandbox.faspay.co.id/cvr/300011/10">https://debit-sandbox.faspay.co.id/cvr/300011/10</a></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

**Method: HTTP POST**

#### Request Parameter POST Data

{% tabs %}
{% tab title="Request" %}

<table><thead><tr><th width="309">Parameter</th><th width="167">Data Type</th><th>M/O/C</th><th width="252">Description</th></tr></thead><tbody><tr><td>request</td><td>Alphanumeric (50)</td><td>M</td><td>Request Description</td></tr><tr><td>merchant_id</td><td>Numeric (5)</td><td>M</td><td>Merchant Code From Faspay = BOI</td></tr><tr><td>merchant</td><td>Alphanumeric (32)</td><td>M</td><td>Merchant Name</td></tr><tr><td>bill_no</td><td>Numeric (16)</td><td>M</td><td><p>Virtual Account Number from channel (BNI VA).</p><p>(prefix 3 + client id 5+ faspay id 2 + 6 free digits)</p></td></tr><tr><td>bill_reff</td><td>Alphanumeric (32)</td><td>O</td><td>Booking Number/reffrence (can fill same with order no)</td></tr><tr><td>bill_date</td><td>Datetime YYYY-MM-DD HH:MM:SS (6)</td><td>M</td><td>Transaction/ Order Date</td></tr><tr><td>bill_expired</td><td>Datetime YYYY-MM-DD HH:MM:SS (6)</td><td>M</td><td>Payment Expired Date (Merchant can set > 30 days or less, except past date).</td></tr><tr><td>bill_desc</td><td>Alfanumeric (128)</td><td>M</td><td>Transaction Description</td></tr><tr><td>bill_currency</td><td>Alphanumeric (3)</td><td>M</td><td>Currency, Must be 'IDR'</td></tr><tr><td>bill_gross</td><td>Numeric (15)</td><td>O</td><td>Order Nominal </td></tr><tr><td>bill_miscfee</td><td>Numeric (15)</td><td>O</td><td>Miscellaneous fee</td></tr><tr><td>bill_total</td><td>Numeric (15)</td><td>M</td><td>Open maximum amount. Amount maximum per transaction.</td></tr><tr><td>payment_channel</td><td>Numeric (32)</td><td>M</td><td>Payment Channel Code</td></tr><tr><td>pay_type</td><td>Alphanumeric (1)</td><td>M</td><td><p>Payment type : </p><p>1: Full Settlement </p><p>2: Installment  </p><p>3: Mixed 1 &#x26; 2 </p><p>Pay Type 2 &#x26; 3 only implement on BCA KlikPay channel</p></td></tr><tr><td>cust_no</td><td>Alphanumeric (32)</td><td>M</td><td>Customer Number</td></tr><tr><td>cust_name</td><td>Alphanumeric (128)</td><td>M</td><td>Customer Name</td></tr><tr><td>bank_user_id</td><td>Alphanumeric (128)</td><td>O</td><td>Customer User ID on bank’s services (ex : KlikBCA User Id)</td></tr><tr><td>msisdn</td><td>Numeric (64)</td><td>M</td><td>Customer Mobile Phone</td></tr><tr><td>email</td><td>Alphanumeric (128)</td><td>M</td><td>Customer Email</td></tr><tr><td>terminal</td><td>Numeric (16)</td><td>M</td><td>Always use 10 for Terminal</td></tr><tr><td>billing_name</td><td>Alphanumeric</td><td>C</td><td>Billing name  for OVO </td></tr><tr><td>billing_lastname</td><td>Billing name</td><td>O</td><td>biling last name</td></tr><tr><td>billing_address</td><td>Alphanumeric (200)</td><td>O</td><td>billing_address</td></tr><tr><td>billing_address_city</td><td>Alphanumeric (50)</td><td>O</td><td>Billing City</td></tr><tr><td>billing_address_region</td><td>Alphanumeric (100)</td><td>O</td><td>Billing Addres Region</td></tr><tr><td>billing_address_state</td><td>Alphanumeric (100)</td><td>O</td><td>Billing Address State</td></tr><tr><td>billing_address_poscode</td><td>Alphanumeric (10)</td><td>O</td><td>Billing Address Pos Code</td></tr><tr><td>billing_address_country_code</td><td>Alphanumeric (10)</td><td>O</td><td>Billing Address Country Code</td></tr><tr><td>receiver_name_for_shipping</td><td>Alphanumeric (100)</td><td>C</td><td>Receiver Name</td></tr><tr><td>shipping_lastname</td><td>Alphanumeric</td><td>O</td><td>Receiver last name</td></tr><tr><td>shipping_address</td><td>Alphanumeric (200)</td><td>O</td><td>Shipping Address</td></tr><tr><td>shipping_address_city</td><td>Alphanumeric (50)</td><td>O</td><td>Shipping Address City</td></tr><tr><td>shipping_address_region</td><td>Alphanumeric (100)</td><td>O</td><td>Shipping Address Region</td></tr><tr><td>shipping_address_state</td><td>Alphanumeric (100)</td><td>O</td><td>Shipping Address State</td></tr><tr><td>shipping_address_poscode</td><td>Alphanumeric (10)</td><td>O</td><td>Shipping Address Pos Code</td></tr><tr><td>shipping_address_country_code</td><td>Alphanumeric (10)</td><td>O</td><td>Shipping Address Country Code</td></tr><tr><td>shipping_msisdn</td><td>Numeric</td><td>C</td><td>Shipping phone number</td></tr><tr><td>product</td><td>Alphanumeric (50)</td><td>M</td><td>Item Name</td></tr><tr><td>amount</td><td>Numeric</td><td>M</td><td>Item Price</td></tr><tr><td>qty</td><td>Numeric (32)</td><td>M</td><td>Item Quantity</td></tr><tr><td>payment_plan</td><td>Numeric (1)</td><td>M</td><td><p>Payment plan </p><p>1: Full Settlement </p><p>2: Installement</p></td></tr><tr><td>tenor</td><td>Numeric (2)</td><td>M</td><td><p>Installment Tenor </p><p>00: Full Payment </p><p>03: 3 months </p><p>06: 6 months </p><p>12: 12 months </p><p>Tenor 03,06,12 only use on BCA KlikPay channel</p></td></tr><tr><td>merchant_id</td><td>Numeric (5)</td><td>M</td><td>Merchant Id From Payment Channel ex : MID from BCA KlikPay</td></tr><tr><td>reserve1</td><td>Alphanumeric (50)</td><td>O</td><td></td></tr><tr><td>reserve2</td><td>Alphanumeric (50)</td><td>C</td><td></td></tr><tr><td>signature</td><td>Alphanumeric (100)</td><td>M</td><td>sha1(md5(user_id merchant + password merchant + bill_no)</td></tr></tbody></table>
{% endtab %}

{% tab title="Sample XML Request" %}

```xml
<faspay>    
    <request>Post Data Transaction</request>
    <merchant_id>99999</merchant_id>
    <merchant>Sophia Store</merchant>
    <bill_no>9881236312345697</bill_no>
    <bill_reff>9881236312345697</bill_reff>
    <bill_date>2021-10-28 00:19:00</bill_date>
    <bill_expired>2021-10-29 00:19:00</bill_expired>
    <bill_desc>BNI Virtual Account Method</bill_desc>
    <bill_currency>IDR</bill_currency>
    <bill_gross>0</bill_gross>
    <bill_tax>0</bill_tax>
    <bill_miscfee>0</bill_miscfee>
    <bill_total>1000000</bill_total>
    <cust_no>5002</cust_no>
    <cust_name>John Doe</cust_name>
    <cust_lastname>Doe/cust_lastname>
    <payment_channel>801</payment_channel>
    <pay_type>1</pay_type>
    <bank_userid/>
    <msisdn/>
    <email>john@gmail.com</email>
    <terminal>10</terminal>
    <billing_name>John Doe</billing_name>
    <billing_lastname>Doe</billing_lastname>
    <billing_address>jalan pintu air raya</billing_address>
    <billing_address_city>Jakarta Pusat</billing_address_city>
    <billing_address_region>DKI Jakarta</billing_address_region>
    <billing_address_state>Indonesia</billing_address_state>
    <billing_address_poscode>10710</billing_address_poscode>
    <billing_msisdn>0856123456789</billing_msisdn>
    <billing_address_country_code>ID</billing_address_country_code>
    <receiver_name_for_shipping>John Doe</receiver_name_for_shipping>
    <shipping_lastname>Doe</shipping_lastname>
    <shipping_address>jalan pintu air raya</shipping_address>
    <shipping_address_city>Jakarta Pusat</shipping_address_city>
    <shipping_address_region>DKI Jakarta</shipping_address_region>
    <shipping_address_state></shipping_address_state>
    <shipping_address_poscode>10710</shipping_address_poscode>
    <shipping_msisdn>0856123456789</shipping_msisdn>
    <shipping_address_country_code>ID</shipping_address_country_code>
    <item>
        <qty>8</qty>
        <amount>500000</amount>
        <type>Smartphone</type>
    </item>
    <item>
        <qty>1</qty>
        <amount>500000</amount>
        <type>Smartphone</type>
    </item>
    <reserve1/>
    <reserve2/>
    <signature>d848063d9836c20cf0055d70bd7e862e5f991688</signature>
</faspay>
```

{% endtab %}

{% tab title="Sample JSON Request" %}

```json
{
  "request": "Post Data Transaction",
  "merchant_id": 99999,
  "merchant": "Sophia Store",
  "bill_no": "9881236312345696",
  "bill_reff": "9881236312345696",
  "bill_date": "2021-10-28 00:19:00",
  "bill_expired": "2021-10-29 00:19:00",
  "bill_desc": "BNI Virtual Account Method",
  "bill_currency": "IDR",
  "bill_gross": "0",
  "bill_tax": "0",
  "bill_miscfee": "0",
  "bill_total": 1000000,
  "cust_no": "5002",
  "cust_name": "John Doe",
  "cust_lastname": "Doe",
  "payment_channel": "801",
  "pay_type": "1",
  "bank_userid": "",
  "msisdn": ""
  "email": "john@gmail.com",
  "terminal": "10",
  "billing_name": "John Doe",
  "billing_lastname": "Doe",
  "billing_address": "jalan pintu air raya",
  "billing_address_city": "Jakarta Pusat",
  "billing_address_region": "DKI Jakarta"
   "billing_address_state": "Indonesia",
  "billing_address_poscode": "10710",
  "billing_msisdn": "856123456789",
  "billing_address_country_code": "ID",
  "receiver_name_for_shipping": "Andreas Wira",
  "shipping_lastname": "Wira",
  "shipping_address": "jalan pintu air raya",
  "shipping_address_city": "Jakarta Pusat",
  "shipping_address_region": "DKI Jakarta",
  "shipping_address_state": "",
  "shipping_address_poscode": "10710",
  "shipping_msisdn": "856123456789",
  "shipping_address_country_code": "ID"
  "item": [
    {
     "qty": "8",
     "amount": "500000",
      "type": "Smartphone"
    },
    {		     
      "qty": "1",
      "amount": "500000",
      "type": "Smartphone"
    }
  ],
  "reserve1": "",
  "reserve2": "",
  "signature": "d848063d9836c20cf0055d70bd7e862e5f991688"
},
}
```

{% endtab %}
{% endtabs %}

#### Response Parameter POST Data

{% tabs %}
{% tab title="Response" %}

<table><thead><tr><th>Parameter</th><th>Data Type</th><th width="127">M/O/C</th><th>Description</th></tr></thead><tbody><tr><td>response</td><td>Alphanumeric (50)</td><td>O</td><td>Response Name</td></tr><tr><td>trx_id</td><td>Numeric (16)</td><td>M</td><td>Transaction ID (Issued/generated by Faspay (Media Indonusa)) Notes: Unique Transaction ID for 1 day or as long as it hasn't been paid and hasn't expired</td></tr><tr><td>merchant_id</td><td>Numeric (5)</td><td>M</td><td>Merchant Code</td></tr><tr><td>merchant</td><td>Alphanumeric (32)</td><td><strong>M</strong></td><td>Merchant Name</td></tr><tr><td>bill_no</td><td>Numeric (16)</td><td>M</td><td><p>Virtual Account Number from channel (BNI VA).</p><p>(prefix 3 + client id 5+ faspay id 2 + 6 free digits)</p></td></tr><tr><td>response_code</td><td>Numeric (2)</td><td>M</td><td>Response Code 00 Success</td></tr><tr><td>response_desc</td><td>Alphanumeric (32)</td><td>M</td><td>Response Code Description</td></tr><tr><td>redirect_url</td><td>Alphanumeric</td><td>O</td><td>the redirect url for the next process, available only on JSON format</td></tr></tbody></table>
{% endtab %}

{% tab title="Sample XML Response" %}

```xml
<?xml version="1.0" encoding="UTF-8"?>
<faspay>
	<response>Transmission of Purchase Detail Info </response>
	<trx_id>1635384937045906</trx_id>
	<merchant_id>99999</merchant_id>
	<merchant>Sophia Store</merchant>
	<bill_no>9881236312345697</bill_no>
	<bill_items>
		<id>101</id>
		<qty>8</qty>
		<amount>500000</amount>
		<type>Smartphone</type>
	</bill_items>
	<bill_items>
		<id>102</id>
		<qty>1</qty>
		<amount>500000</amount>
		<type>Smartphone</type>
	</bill_items>
	<response_code>00</response_code>
	<response_desc>Success</response_desc>
</faspay>
```

{% endtab %}

{% tab title="Sample JSON reponse" %}

```json
{
  "response": "Transmission of Purchase Detail Info ",
  "trx_id": 1635384937045906,
  "merchant_id": 99999,
  "merchant": "Sophia Store",
  "bill_no": 9881236312345696,
  "bill_items": [
    {
    	 "qty": 8,
   	  "amount": 500000,
    	  "type": "Smartphone"
    },
    {
    	  "qty": 1,
    	  "amount": 500000,
     	 "type": "Smartphone"
    }
  ],
  "response_code": 00,
  "response_desc": "Success"
}
```

{% endtab %}
{% endtabs %}

## Inquiry Payment Status Request

In this API service, the Inquiry Payment Status parameter is the same as the existing one. The difference is that when hit, the response received is a list of several transactions using that VA number.

#### Endpoint URL Inquiry Payment Status

{% tabs %}
{% tab title="XML" %}

<table><thead><tr><th width="164">Environment</th><th>URL</th></tr></thead><tbody><tr><td>Development</td><td><a href="https://debit-sandbox.faspay.co.id/pws/100004/183xx00010100000">https://debit-sandbox.faspay.co.id/pws/100004/183xx00010100000</a></td></tr></tbody></table>
{% endtab %}

{% tab title="JSON" %}

<table><thead><tr><th width="162">Environment</th><th>URL</th></tr></thead><tbody><tr><td>Development</td><td><a href="https://debit-sandbox.faspay.co.id/cvr/100004/10">https://debit-sandbox.faspay.co.id/cvr/100004/10</a></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

#### Inquiry Payment Status Request

The parameters that the merchant system must provide to be able to integrate with the Faspay system are as follows:

{% tabs %}
{% tab title="Request" %}

<table><thead><tr><th>Parameter</th><th>Data Type</th><th width="140">M/O/C</th><th>Description</th></tr></thead><tbody><tr><td>request</td><td>Alphanumeric</td><td>O</td><td>Request Description</td></tr><tr><td>trx_id</td><td>Numeric</td><td>M</td><td>Transaction ID (Issued/generated by Faspay (Media Indonusa)) Notes: Unique Transaction ID for 1 day or as long as it hasn't been paid and hasn't expired.</td></tr><tr><td>bill_no</td><td>Numeric</td><td>M</td><td><p>Virtual Account Number from channel (BNI VA).</p><p>(prefix 3 + client id 5+ faspay id 2 + 6 free digits)</p></td></tr><tr><td>merchant_id</td><td>Numeric</td><td>M</td><td>Merchant Code.</td></tr><tr><td>signature</td><td>Numeric</td><td>M</td><td>sha1(md5((user_id + password + bill_no))</td></tr></tbody></table>
{% endtab %}

{% tab title="Sample XML Request" %}

```xml
<faspay>
<request>Inquiry Status Payment</request>
<trx_id>1634624112045887</trx_id>
<bill_no>9881236312345694</bill_no>
<merchant_id>99999</merchant_id>
<signature>c71c38790836479377713395117bbc9e70dadd17</signature>
</faspay>
```

{% endtab %}

{% tab title="Sample JSON Request" %}

```json
{
"request": "Inquiry Status Payment",
"trx_id": "1634624112045887",
"bill_no": "9881236312345694",
"merchant_id": "99999",
"signature": "c71c38790836479377713395117bbc9e70dadd17"
}
```

{% endtab %}
{% endtabs %}

#### Inquiry Payment Status Response

{% tabs %}
{% tab title="Response" %}

<table><thead><tr><th width="227">Parameter</th><th>Data Type</th><th width="95">M/O/C</th><th>Description</th></tr></thead><tbody><tr><td>response</td><td>Alphanumeric (50)</td><td>M</td><td>Response description</td></tr><tr><td>merchant_id</td><td>Numeric (6)</td><td>M</td><td>Merchant Code</td></tr><tr><td>merchant</td><td>Alphanumeric (32)</td><td>M</td><td>Merchant name</td></tr><tr><td>bill_no</td><td>Numeric (16)</td><td>M</td><td><p>Virtual Account Number from channel (BNI VA).</p><p>(prefix 3 + client id 5+ faspay id 2 + 6 free digits)</p></td></tr><tr><td>transaction</td><td></td><td>M</td><td>collection of all transaction data status used</td></tr><tr><td> trx_id</td><td>Numeric (16)</td><td>M</td><td>Transaction ID (Issued/generated by Faspay (Media Indonusa)) Notes: Unique Transaction ID for 1 day or as long as it hasn't been paid and hasn't expired</td></tr><tr><td> payment_reff</td><td>Numeric (16)</td><td>M</td><td>Payment Reff (from Payment Channel)</td></tr><tr><td> payment_date</td><td>DateTime</td><td>M</td><td>Payment Date (from Payment Channel)</td></tr><tr><td> paymnet_status_code</td><td>Numeric</td><td>M</td><td><p>Status Code</p><p>0 Unprocessed</p><p>1 In Process</p><p>2 Payment Success</p><p>4 Payment Reserval</p><p>5 No bills found</p><p>8 Payment Cancelled</p><p>9 Unknown</p></td></tr><tr><td> payment_status_desc</td><td>Alphanumeric</td><td>M</td><td>Description status of Payment</td></tr><tr><td>response_code</td><td>Numeric</td><td>M</td><td>Response Code 00 Success</td></tr><tr><td>response_desc</td><td>Alphanumeric</td><td>M</td><td>Response Description</td></tr></tbody></table>
{% endtab %}

{% tab title="Sample XML Response" %}

```xml
<?xml version="1.0" encoding="UTF-8"?>
<faspay>
	<response>Inquiry Payment Status</response>
	<merchant_id>99999</merchant_id>
	<merchant>Sophia Store</merchant>
	<bill_no>9881236312345600</bill_no>
	<transaction>
		<transaction_1>
			<trx_id>1634091930000913</trx_id>
			<payment_reff>377798</payment_reff>
			<payment_date>2021-10-13 09:26:16</payment_date>
			<payment_status_code>2</payment_status_code>
			<payment_status_desc>Payment Success</payment_status_desc>
		</transaction_1>
		<transaction_2>
			<trx_id>1634091930000914</trx_id>
			<payment_reff>715524</payment_reff>
			<payment_date>2021-10-13 16:08:31</payment_date>
			<payment_status_code>8</payment_status_code>
			<payment_status_desc>Payment Cancelled</payment_status_desc>
		</transaction_2>
	</transaction>
	<response_code>00</response_code>
	<response_desc>Success</response_desc>
</faspay>
```

{% endtab %}

{% tab title="Sample JSON Response" %}

```json
{
  "faspay": {
    "response": "Inquiry Payment Status",
    "merchant_id": 99999,
    "merchant": "Sophia Store",
    "bill_no": 9881236312345600,
    "transaction": {
      "transaction_1": {
        "trx_id": 1634091930000913,
        "payment_reff": 377798,
        "payment_date": "2021-10-13 09:26:16",
        "payment_status_code": 2,
        "payment_status_desc": "Payment Success"
      },
      "transaction_2": {
        "trx_id": 1634091930000914,
        "payment_reff": 715524,
        "payment_date": "2021-10-13 16:08:31",
        "payment_status_code": 8,
        "payment_status_desc": "Payment Cancelled"
      }
    },
    "response_code": 0,
    "response_desc": "Success"
  }
}

```

{% endtab %}
{% endtabs %}

## Update Transaction

This service aims to update static transactions, transaction updates can be done before or after making payments.

#### Endpoint URL Inquiry Update Transaction

{% tabs %}
{% tab title="XML" %}

<table><thead><tr><th width="155.5">Environment</th><th>URL</th></tr></thead><tbody><tr><td>Development</td><td><a href="https://debit-sandbox.faspay.co.id/pws/100036/183xx00010100000">https://debit-sandbox.faspay.co.id/pws/100036/183xx00010100000</a></td></tr></tbody></table>
{% endtab %}

{% tab title="JSON" %}

<table><thead><tr><th width="153.5">Environment</th><th>URL</th></tr></thead><tbody><tr><td>Development</td><td><a href="https://debit-sandbox.faspay.co.id/cvr/100036/10">https://debit-sandbox.faspay.co.id/cvr/100036/10</a></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

#### Update Transaction Request

the merchant system must provide the parameters that must be provided by the merchant system to be able to integrate with the Faspay system are as follows:

{% tabs %}
{% tab title="Request" %}

<table><thead><tr><th>Parameter</th><th>Data Type</th><th width="116">M/O/C</th><th>Description</th></tr></thead><tbody><tr><td>request</td><td>Alphanumeric</td><td>M</td><td>Request Description</td></tr><tr><td>bill_no</td><td>Numeric</td><td>M</td><td><p>Virtual Account Number from channel (BNI VA).</p><p>(prefix 3 + client id 5+ faspay id 2 + 6 free digits)</p></td></tr><tr><td>merchant_id</td><td>Numeric</td><td>M</td><td>Merchant code</td></tr><tr><td>bill_total</td><td>Numeric</td><td>M</td><td>Open maximum amount. Amount maximum per transaction.</td></tr><tr><td>cust_name</td><td>Alphanumeric</td><td>M</td><td>Custumer name</td></tr><tr><td>bill_expired</td><td>DateTime (YYYY:MM:DD HH:MM:SS)</td><td>M</td><td>Payment Expired Date (Merchant can set > 30 days or less, except past date).</td></tr><tr><td>signature</td><td>Alphanumeric</td><td>M</td><td>sha1(md5((merchant_id + passwd + bill_no))</td></tr></tbody></table>
{% endtab %}

{% tab title="Sample XML request" %}

```xml
<faspay>
<request>Update Transaction BNI VA Static</request>
<bill_no>9881236398989898</bill_no>
<merchant_id>99999</merchant_id>
<bill_total>1000000</bill_total>
<cust_name>John Doe</cust_name>
<bill_expired>2021-10-31 15:04:10</bill_expired>
<signature>1ac4d5a611ec5376d8da43bbe33aaea1719076b6</signature>
</faspay>
```

{% endtab %}

{% tab title="Sample JSON Request" %}

```json
{
  "request": "Update Transaction BNI VA Static",
  "bill_no": 9881236398989898,
  "merchant_id": 99999,
  "bill_total": 1000000,
  "cust_name": "John Doe",
  "bill_expired": "2021-10-31 15:04:10",
  "signature": "1ac4d5a611ec5376d8da43bbe33aaea1719076b6"
}
```

{% endtab %}
{% endtabs %}

#### Update Transaction Response

{% tabs %}
{% tab title="Response" %}

| Parameter      | Data Type    | M/O/C | Description                                                                                                      |
| -------------- | ------------ | ----- | ---------------------------------------------------------------------------------------------------------------- |
| response\_code | Numeric      | M     | Response code                                                                                                    |
| response\_desc | Alphanumeric | M     | Response description                                                                                             |
| bill\_no       | Numeric      | M     | <p>Virtual Account Number from channel (BNI VA).</p><p>(prefix 3 + client id 5+ faspay id 2 + 6 free digits)</p> |
| {% endtab %}   |              |       |                                                                                                                  |

{% tab title="Sample XML Response" %}

```xml
<?xml version="1.0" encoding="UTF-8"?>
<faspay>
    <response_code>00</response_code>
    <response_desc>Successfully updated transaction</response_desc>
    <bill_no>9881236312345697</bill_no>
</faspay>
```

{% endtab %}

{% tab title="Sample JSON response" %}

```json
{
  "response_code": “00”,
  "response_desc": "Successfully updated transaction",
  "bill_no": “9881236312345696”
}
```

{% endtab %}
{% endtabs %}

## Payment Notification

Payment notification from Faspay to the Merchant backend will also be triggered in the event of transaction status getting updated, to ensure the merchant is securely informed. Please provide the URL and make sure it's already registered on the Faspay system.

The detailed API reference can be found [here](https://docs.faspay.co.id/merchant-integration/api-reference-1/debit-transaction/payment-notification)
