BNC VA Static Integration
API Service
Post Data Static Transaction
Post-Data service in the static transaction is basically 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 BNC System.
EndPoint URL Post-Data
Type | Production | Development |
---|---|---|
XML | ||
JSON |
Static Transaction Request
Parameter | Data Type | M/O/C | Description |
---|---|---|---|
request | Alphanumeric (50) | M | Request description |
merchant_id | Numeric (5) | M | Merchant code from Faspay= BOI |
merchant | Alphanumeric (32) | M | Merchant name |
bill_no | Numeric (19) | M | VA format: Prefix from Faspay (11 digits) + free digits (8 digits) |
bill_reff | Alphanumeric (32) | O | Booking Number/reference (can fill same with order no) |
bill_date | Datetime YYYY-MM-DD HH:MM:SS | M | Transaction/ Order Date |
bill_expired | Datetime YYYY-MM-DD HH:MM:SS | M | Payment Expiring Date (max 30 days) |
bill_desc | Alphanumeric (128) | M | Transaction Description |
bill_currency | Char (3) | M | Currency, Must be 'IDR' |
bill_gross | Numeric (15) | O | Order Nominal without tax |
bill_tax | Numeric (15) | O | Tax (IDR) |
bill_miscfee | Numeric (15) | O | Miscellaneous fee |
bill_total | Numeric (15) | M | Total Nominal. If transaction is Open Amount, will be set to 0 |
cust_no | Alphanumeric (32) | M | Customer Number |
cust_name | Alphanumeric (128) | M | Customer Name |
cust_lastname | Alphanumeric (128) | M | Customer Last Name |
payment_channel | Numeric (3) | M | Payment Channel Code |
pay_type | Alphanumeric (1) | M | Payment code:
|
bank_user_id | Alphanumeric (128) | O | Customer User ID on bank’s services (ex : KlikBCA User Id) |
msisdn | Numeric (64) | M | Customer Mobile Phone |
Alphanumeric (128) | M | ||
terminal | Numeric (2) | M | Terminal Origin 10. Web 20. MobApp Blackberry 21. MobApp Android 22. MobAppiOS 23. MobApp Windows 24. MobApp Symbian 30. TabApp BlackBerry 31. TabApp Android 32. TabAppiOS 33. TabApp Windows |
billing_name | Alphanumeric | C | Billing name |
billing_lastname | Alphanumeric | C | Billing last name |
billing_address | Alphanumeric (200) | O | Billing address |
billing_address_city | Alphanumeric (50) | O | Billing City |
billing_address_region | Alphanumeric (100) | O | Billing Addres Region |
billing_address_state | Alphanumeric (100) | O | Billing Address State |
billing_address_poscode | Alphanumeric (10) | O | Billing Address Pos Code |
billing_msisdn | Alphanumeric (10) | O | Billing number phone |
billing_address_country_code | Alphanumeric (10) | O | Billing Address Country Code |
receiver_name_for_shipping | Alphanumeric (100) | O | Receiver Name |
shipping_lastname | Alphanumeric (100) | O | Shipping Last Name |
shipping_address | Alphanumeric (200) | O | Shipping Address |
shipping_address_city | Alphanumeric (50) | O | Shipping Address City |
shipping_address_region | Alphanumeric (100) | O | Shipping Address Region |
shipping_address_state | Alphanumeric (100) | O | Shipping Address State |
shipping_address_poscode | Alphanumeric (10) | O | Shipping Address Pos Code |
shipping_msisdn | Numeric | O | Shipping number phone |
shipping_address_country_code | Alphanumeric (10) | O | Shipping Address Country Code |
reserve1 | Alphanumeric (50) | O | |
reserve2 | Alphanumeric (50) | C | |
signature | Alphanumeric (100) | M | sha1(md5(user_id merchant + password merchant + bill_no)) |
Static Transaction Response
Parameter | Data Type | M/O/C | Description |
---|---|---|---|
response | Alphanumeric (50) | O | Response description |
trx_id | Numeric (16) | M | Transaction ID (generated by Faspay) |
merchant_id | Numeric (5) | M | Merchant Code From Faspay = BOI |
merchant | Alphanumeric (32) | M | Merchant’s name |
bill_no | Numeric (19) | M | Virtual account number |
bill_items | Object | O | Billing items / purchase items |
product | Alphanumeric (50) | M | Item Name |
amount | Numeric | M | Item Price |
qty | Numeric | M | Item Quantity |
response_code | Numeric (2) | M | Response code 00 : Success 01 : Failed |
response_desc | Alphanumeric (32) | M | Response decription of code |
redirect_url | Alphanumeric | M | Direct to BNC's Payment Page |
Last updated