BNC VA Static Integration
API Service
POST Data Static Transaction
POST data service in the static transaction is the same as dynamic Post-Data. However, there are differences in bill_no
parameter.
If the static transaction, Faspay will generate a Virtual Account number when sending POST data to the BNC System.
EndPoint URL Post-Data
Static Transaction Request
<faspay>
<request>Transmission of Purchase Detail Info</request>
<merchant_id>99999</merchant_id>
<merchant>Sophia Store</merchant>
<bill_no>9022222298758909234</bill_no>
<bill_reff>fspytrx</bill_reff>
<bill_date>2022-07-01 10:00:00</bill_date>
<bill_expired>2022-07-21 06:04:10</bill_expired>
<bill_desc>Payment #12345678</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>1</cust_no>
<cust_name>John Doe</cust_name>
<cust_lastname>Doe</cust_lastname>
<payment_channel>718</payment_channel>
<pay_type>1</pay_type>
<bank_userid></bank_userid>
<msisdn></msisdn>
<email></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>08766688686</billing_msisdn>
<billing_address_country_code>ID</billing_address_country_code>
<receiver_name_for_shipping>John Doe</receiver_name_for_shipping>
<shipping_lastname></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>Indonesia</shipping_address_state>
<shipping_address_poscode>10710</shipping_address_poscode>
<shipping_msisdn>08766688686</shipping_msisdn>
<shipping_address_country_code>ID</shipping_address_country_code>
<reserve1>0</reserve1>
<reserve2></reserve2>
<signature>053c77aa2341feb7df385b0efdde1e7a42a5a238</signature>
</faspay>
{
"faspay": {
"request": "Transmission of Purchase Detail Info",
"merchant_id": "99999",
"merchant": "Sophia Store",
"bill_no": "9022222298758909234",
"bill_reff": "fspytrx",
"bill_date": "2022-07-01 10:00:00",
"bill_expired": "2022-07-21 06:04:10",
"bill_desc": "Payment #12345678",
"bill_currency": "IDR",
"bill_gross": "0",
"bill_tax": "0",
"bill_miscfee": "0",
"bill_total": "1000000",
"cust_no": "1",
"cust_name": "John Doe",
"cust_lastname": "Doe",
"payment_channel": "718",
"pay_type": "1",
"bank_userid": "",
"msisdn": "",
"email": "",
"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": "08766688686",
"billing_address_country_code": "ID",
"receiver_name_for_shipping": "John Doe",
"shipping_lastname": "",
"shipping_address": "jalan pintu air raya",
"shipping_address_city": "Jakarta Pusat",
"shipping_address_region": "DKI Jakarta",
"shipping_address_state": "Indonesia",
"shipping_address_poscode": "10710",
"shipping_msisdn": "08766688686",
"shipping_address_country_code": "ID",
"reserve1": "0",
"reserve2": "",
"signature": "053c77aa2341feb7df385b0efdde1e7a42a5a238"
}
}
Static Transaction Response
<faspay>
<response>Transmission of Purchase Detail Info</response>
<trx_id>9999971887488335</trx_id>
<merchant_id>99999</merchant_id>
<merchant>Sophia Store</merchant>
<bill_no>9022222298758909234</bill_no>
<bill_items></bill_items>
<response_code>00</response_code>
<response_desc> Success</response_desc>
</faspay>
{
"response": "Transmission of Purchase Detail Info",
"trx_id": "9999971887488335",
"merchant_id": "99999",
"merchant": "Sophia Store",
"bill_no": "9022222298758909234",
"bill_items": [
{
"product": "Cooking Oil",
"amount": "5000000",
"qty": "1"
},
{
"product": "Children's Books",
"amount": "5000000",
"qty": "1"
}
],
"response_code": "00",
"response_desc": "Success",
"redirect_url": "https://debit-dev.faspay.co.id/pws/100003/0830000010100000/09b2a8ed8e6bfe936cd24e69c12f675779ea240d?trx_id=9999972133133756&merchant_id=99999&bill_no=84938942"
}
Last updated