Unicount

1. Unicount Static

Unicount is a Faspay feature that combines static transaction methods for multi-payment channels, Customers can switch between one payment method into another payment method without the need to create new transactions from the beginning.

For Unicount Static will use the same integration step as Static Transaction

2. Unicount Dinamis

Integration Step

  1. Post Data Transaction to Faspay

  2. Display UNIcount code/Payment Code

  3. Payment Notification

1. Post Data Transaction

Post data transactions should be done from merchant backend, the detailed API reference can be found here

For UNIcount use 410 as the payment_channel value

Post Data Transaction request

This is an example of post data transaction for UNIcount

{
   "request": "Post Data Transaction",
   "merchant_id": "99999",
   "merchant": "Sophia Store",
   "bill_no": "20201219060429",
   "bill_reff": "20200324_02-2286704_336",
   "bill_date": "2020-12-19 06:04:29",
   "bill_expired": "2020-12-19 07:04:29",
   "bill_desc": "Payment Online Via Faspay",
   "bill_currency": "IDR",
   "bill_gross": "100000",
   "bill_miscfee": "100000",
   "bill_total": "200000",
   "cust_no": "01",
   "cust_name": "John Doe",
   "payment_channel": "410",
   "pay_type": "01",
   "msisdn": "8562927907",
   "email": "john@gmail.com",
   "terminal": "10",
   "billing_address": "Jl Sabang 37",
   "billing_address_city": "Jakarta",
   "billing_address_region": "DKI Jakarta",
   "billing_address_state": "Indonesia",
   "billing_address_poscode": "10170",
   "billing_address_country_code": "ID",
   "receiver_name_for_shipping": "John Doe",
   "shipping_address": "Jl. Sabang 37",
   "shipping_address_city": "Jakarta",
   "shipping_address_region": "DKI Jakarta",
   "shipping_address_state": "Indonesia",
   "shipping_address_poscode": "10170",
   "item": {
      "id": "A001",
      "product": "Invoice #2286704",
      "qty": "1",
      "amount": "100000",
      "payment_plan": "01",
      "merchant_id":"99999",
      "tenor": "00"
   },
   "reserve1": "",
   "reserve2": "",
   "signature": "8a5fc4e99a402e94f107118ac5ea4abbfc60e1d4"
}

Post Data Transaction response

You will get the post data response like the following

{
   "response": "Transmission of Purchase Detail Info",
   "trx_id": "4100002071",
   "merchant_id": "99999",
   "merchant": "Sophia Store",
   "bill_no": "20201219062325",
   "bill_items": {
      "id": "A001",
      "product": "Invoice #2286704",
      "qty": "1",
      "amount": "100000",
      "payment_plan": "01",
      "merchant_id": "99999",
      "tenor": "00"
   },
   "response_code": "00",
   "response_desc": "Success"
}

2. Displaying UNIcount Code

To display the UNIcount Code number, use the value of trx_id retrieved from post data transaction response. Please provide the list of BIN/prefix numbers for each available channel to be combined with the Unicount code on payment process.

Read the details Here

3. Payment Notification

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

The detail API reference can be found here

Last updated