Faspay
Search…
Internet Banking integration Guide
One of the payment method offered by Faspay is Internet Banking. By using this payment method, customers will have the option to make a payment via bank website and Faspay will send real time notification when the customer complete the payment.
At this moment, Faspay has integrated with some Internet Banking payment methods:
    1.
    BRI e-Pay
    2.
    BCA KlikPay
    3.
    Danamon Online Banking
    4.
    Octo Clicks
    5.
    Maybank2U
    6.
    PermataNet
Basic integration process of Internet Banking will be explained below.
Integration Step
    1.
    Post Data Transaction to Faspay
    2.
    Redirect customer to bank's website
    3.
    Callback/Return URL
    4.
    Payment Notification

1. Post Data Transaction

Post data transaction should be done from merchant backend, the detail API reference can be find Here
Every Internet Banking will use the same API request, the different is only on payment_channel value for each Internet Banking
This is example of post data transaction for Internet Banking channel
BRI e-Pay
BCA KlikPay
Danamon Online Banking
Octo Clicks
Maybank2U
PermataNet
1
{
2
"request": "Post Data Transaksi",
3
"merchant_id": "99999",
4
"merchant": "FASPAY STORE",
5
"bill_no": "20201222104914",
6
"bill_reff": "20200324_02-2286704_336",
7
"bill_date": "2020-12-19 06:04:29",
8
"bill_expired": "2020-12-19 07:04:29",
9
"bill_desc": "Payment Online Via Faspay",
10
"bill_currency": "IDR",
11
"bill_gross": "100000",
12
"bill_miscfee": "100000",
13
"bill_total": "200000",
14
"cust_no": "01",
15
"cust_name": "tester",
16
"payment_channel": "401",
17
"pay_type": "01",
18
"msisdn": "8562927907",
19
"email": "[email protected]",
20
"terminal": "10",
21
"billing_address": "Jl Sabang 37",
22
"billing_address_city": "Jakarta",
23
"billing_address_region": "DKI Jakarta",
24
"billing_address_state": "Indonesia",
25
"billing_address_poscode": "10170",
26
"billing_address_country_code": "ID",
27
"receiver_name_for_shipping": "Tompi",
28
"shipping_address": "Jl. Sabang 37",
29
"shipping_address_city": "Jakarta",
30
"shipping_address_region": "DKI Jakarta",
31
"shipping_address_state": "Indonesia",
32
"shipping_address_poscode": "10170",
33
"item": {
34
"id": "A001",
35
"product": "Invoice #2286704",
36
"qty": "1",
37
"amount": "100000",
38
"payment_plan": "01",
39
"merchant_id":"99999",
40
"tenor": "00"
41
},
42
"reserve1": "",
43
"reserve2": "",
44
"signature": "a307a911aa116014dd33c181042605731f89b2d2"
45
}
Copied!
1
{
2
"request": "Post Data Transaksi",
3
"merchant_id": "99999",
4
"merchant": "FASPAY STORE",
5
"bill_no": "20201222105144",
6
"bill_reff": "20200324_02-2286704_336",
7
"bill_date": "2020-12-19 06:04:29",
8
"bill_expired": "2020-12-19 07:04:29",
9
"bill_desc": "Payment Online Via Faspay",
10
"bill_currency": "IDR",
11
"bill_gross": "100000",
12
"bill_miscfee": "100000",
13
"bill_total": "200000",
14
"cust_no": "01",
15
"cust_name": "tester",
16
"payment_channel": "405",
17
"pay_type": "01",
18
"msisdn": "8562927907",
19
"email": "[email protected]",
20
"terminal": "10",
21
"billing_address": "Jl Sabang 37",
22
"billing_address_city": "Jakarta",
23
"billing_address_region": "DKI Jakarta",
24
"billing_address_state": "Indonesia",
25
"billing_address_poscode": "10170",
26
"billing_address_country_code": "ID",
27
"receiver_name_for_shipping": "Tompi",
28
"shipping_address": "Jl. Sabang 37",
29
"shipping_address_city": "Jakarta",
30
"shipping_address_region": "DKI Jakarta",
31
"shipping_address_state": "Indonesia",
32
"shipping_address_poscode": "10170",
33
"item": {
34
"id": "A001",
35
"product": "Invoice #2286704",
36
"qty": "1",
37
"amount": "100000",
38
"payment_plan": "01",
39
"merchant_id":"99999",
40
"tenor": "00"
41
},
42
"reserve1": "",
43
"reserve2": "",
44
"signature": "b6c7661df066cdd8414088cabf2c641810e7417d"
45
}
Copied!
1
{
2
"request": "Post Data Transaksi",
3
"merchant_id": "99999",
4
"merchant": "FASPAY STORE",
5
"bill_no": "20201222112224",
6
"bill_reff": "20200324_02-2286704_336",
7
"bill_date": "2020-12-19 06:04:29",
8
"bill_expired": "2020-12-19 07:04:29",
9
"bill_desc": "Payment Online Via Faspay",
10
"bill_currency": "IDR",
11
"bill_gross": "100000",
12
"bill_miscfee": "100000",
13
"bill_total": "200000",
14
"cust_no": "01",
15
"cust_name": "tester",
16
"payment_channel": "701",
17
"pay_type": "01",
18
"msisdn": "8562927907",
19
"email": "[email protected]",
20
"terminal": "10",
21
"billing_address": "Jl Sabang 37",
22
"billing_address_city": "Jakarta",
23
"billing_address_region": "DKI Jakarta",
24
"billing_address_state": "Indonesia",
25
"billing_address_poscode": "10170",
26
"billing_address_country_code": "ID",
27
"receiver_name_for_shipping": "Tompi",
28
"shipping_address": "Jl. Sabang 37",
29
"shipping_address_city": "Jakarta",
30
"shipping_address_region": "DKI Jakarta",
31
"shipping_address_state": "Indonesia",
32
"shipping_address_poscode": "10170",
33
"item": {
34
"id": "A001",
35
"product": "Invoice #2286704",
36
"qty": "1",
37
"amount": "100000",
38
"payment_plan": "01",
39
"merchant_id":"99999",
40
"tenor": "00"
41
},
42
"reserve1": "",
43
"reserve2": "",
44
"signature": "e827183f9446565a4b77d4490bb931c811b71821"
45
}
Copied!
1
{
2
"request": "Post Data Transaksi",
3
"merchant_id": "99999",
4
"merchant": "FASPAY STORE",
5
"bill_no": "20201222112952",
6
"bill_reff": "20200324_02-2286704_336",
7
"bill_date": "2020-12-19 06:04:29",
8
"bill_expired": "2020-12-19 07:04:29",
9
"bill_desc": "Payment Online Via Faspay",
10
"bill_currency": "IDR",
11
"bill_gross": "100000",
12
"bill_miscfee": "100000",
13
"bill_total": "200000",
14
"cust_no": "01",
15
"cust_name": "tester",
16
"payment_channel": "700",
17
"pay_type": "01",
18
"msisdn": "8562927907",
19
"email": "[email protected]",
20
"terminal": "10",
21
"billing_address": "Jl Sabang 37",
22
"billing_address_city": "Jakarta",
23
"billing_address_region": "DKI Jakarta",
24
"billing_address_state": "Indonesia",
25
"billing_address_poscode": "10170",
26
"billing_address_country_code": "ID",
27
"receiver_name_for_shipping": "Tompi",
28
"shipping_address": "Jl. Sabang 37",
29
"shipping_address_city": "Jakarta",
30
"shipping_address_region": "DKI Jakarta",
31
"shipping_address_state": "Indonesia",
32
"shipping_address_poscode": "10170",
33
"item": {
34
"id": "A001",
35
"product": "Invoice #2286704",
36
"qty": "1",
37
"amount": "100000",
38
"payment_plan": "01",
39
"merchant_id":"99999",
40
"tenor": "00"
41
},
42
"reserve1": "",
43
"reserve2": "",
44
"signature": "acbaace6a54eb83958e245e03e46a1e43df9f33f"
45
}
Copied!
1
{
2
"request": "Post Data Transaksi",
3
"merchant_id": "99999",
4
"merchant": "FASPAY STORE",
5
"bill_no": "20201222113157",
6
"bill_reff": "20200324_02-2286704_336",
7
"bill_date": "2020-12-19 06:04:29",
8
"bill_expired": "2020-12-19 07:04:29",
9
"bill_desc": "Payment Online Via Faspay",
10
"bill_currency": "IDR",
11
"bill_gross": "100000",
12
"bill_miscfee": "100000",
13
"bill_total": "200000",
14
"cust_no": "01",
15
"cust_name": "tester",
16
"payment_channel": "814",
17
"pay_type": "01",
18
"msisdn": "8562927907",
19
"email": "[email protected]",
20
"terminal": "10",
21
"billing_address": "Jl Sabang 37",
22
"billing_address_city": "Jakarta",
23
"billing_address_region": "DKI Jakarta",
24
"billing_address_state": "Indonesia",
25
"billing_address_poscode": "10170",
26
"billing_address_country_code": "ID",
27
"receiver_name_for_shipping": "Tompi",
28
"shipping_address": "Jl. Sabang 37",
29
"shipping_address_city": "Jakarta",
30
"shipping_address_region": "DKI Jakarta",
31
"shipping_address_state": "Indonesia",
32
"shipping_address_poscode": "10170",
33
"item": {
34
"id": "A001",
35
"product": "Invoice #2286704",
36
"qty": "1",
37
"amount": "100000",
38
"payment_plan": "01",
39
"merchant_id":"99999",
40
"tenor": "00"
41
},
42
"reserve1": "",
43
"reserve2": "",
44
"signature": "4d1e20b1ced350ba1723f4e751f554e92e75b7b7"
45
}
Copied!
1
{
2
"request": "Post Data Transaksi",
3
"merchant_id": "99999",
4
"merchant": "FASPAY STORE",
5
"bill_no": "20201222113344",
6
"bill_reff": "20200324_02-2286704_336",
7
"bill_date": "2020-12-19 06:04:29",
8
"bill_expired": "2020-12-19 07:04:29",
9
"bill_desc": "Payment Online Via Faspay",
10
"bill_currency": "IDR",
11
"bill_gross": "100000",
12
"bill_miscfee": "100000",
13
"bill_total": "200000",
14
"cust_no": "01",
15
"cust_name": "tester",
16
"payment_channel": "402",
17
"pay_type": "01",
18
"msisdn": "8562927907",
19
"email": "[email protected]",
20
"terminal": "10",
21
"billing_address": "Jl Sabang 37",
22
"billing_address_city": "Jakarta",
23
"billing_address_region": "DKI Jakarta",
24
"billing_address_state": "Indonesia",
25
"billing_address_poscode": "10170",
26
"billing_address_country_code": "ID",
27
"receiver_name_for_shipping": "Tompi",
28
"shipping_address": "Jl. Sabang 37",
29
"shipping_address_city": "Jakarta",
30
"shipping_address_region": "DKI Jakarta",
31
"shipping_address_state": "Indonesia",
32
"shipping_address_poscode": "10170",
33
"item": {
34
"id": "A001",
35
"product": "Invoice #2286704",
36
"qty": "1",
37
"amount": "100000",
38
"payment_plan": "01",
39
"merchant_id":"99999",
40
"tenor": "00"
41
},
42
"reserve1": "",
43
"reserve2": "",
44
"signature": "2426558097a5f09256f5cc2ec9be94028e7f8b4d"
45
}
Copied!
Post Data Transaction response
You will get the post data response like the following
BRI e-Pay
BCA KlikPay
Danamon Online Banking
Octo Clicks
Maybank2U
PermataNet
1
{
2
"response": "Transmisi Info Detil Pembelian",
3
"trx_id": "9999940100004234",
4
"merchant_id": "99999",
5
"merchant": "FASPAY STORE",
6
"bill_no": "20201222104914",
7
"bill_items": {
8
"id": "A001",
9
"product": "Invoice #2286704",
10
"qty": "1",
11
"amount": "100000",
12
"payment_plan": "01",
13
"merchant_id": "99999",
14
"tenor": "00"
15
},
16
"response_code": "00",
17
"response_desc": "Sukses",
18
"redirect_url" : "https://dev.faspay.co.id/pws/100003/0830000010100000/a307a911aa116014dd33c181042605731f89b2d2?trx_id=9999940100004234&merchant_id=99999&bill_no=20201222104914"
19
}
Copied!
1
{
2
"response": "Transmisi Info Detil Pembelian",
3
"trx_id": "9999940511118742",
4
"merchant_id": "99999",
5
"merchant": "FASPAY STORE",
6
"bill_no": "20201222105144",
7
"bill_items": {
8
"id": "A001",
9
"product": "Invoice #2286704",
10
"qty": "1",
11
"amount": "100000",
12
"payment_plan": "01",
13
"merchant_id": "99999",
14
"tenor": "00"
15
},
16
"response_code": "00",
17
"response_desc": "Sukses",
18
"redirect_url" : "https://dev.faspay.co.id/pws/100003/0830000010100000/b6c7661df066cdd8414088cabf2c641810e7417d?trx_id=9999940511118742&merchant_id=99999&bill_no=20201222105144"
19
}
Copied!
1
{
2
"response": "Transmisi Info Detil Pembelian",
3
"trx_id": "9999970100004879",
4
"merchant_id": "99999",
5
"merchant": "FASPAY STORE",
6
"bill_no": "20201222112224",
7
"bill_items": {
8
"id": "A001",
9
"product": "Invoice #2286704",
10
"qty": "1",
11
"amount": "100000",
12
"payment_plan": "01",
13
"merchant_id": "99999",
14
"tenor": "00"
15
},
16
"response_code": "00",
17
"response_desc": "Sukses",
18
"redirect_url" : "https://dev.faspay.co.id/pws/100003/0830000010100000/e827183f9446565a4b77d4490bb931c811b71821?trx_id=9999970100004879&merchant_id=99999&bill_no=20201222112224"
19
}
Copied!
1
{
2
"response": "Transmisi Info Detil Pembelian",
3
"trx_id": "9999970056662287",
4
"merchant_id": "99999",
5
"merchant": "FASPAY STORE",
6
"bill_no": "20201222112952",
7
"bill_items": {
8
"id": "A001",
9
"product": "Invoice #2286704",
10
"qty": "1",
11
"amount": "100000",
12
"payment_plan": "01",
13
"merchant_id": "99999",
14
"tenor": "00"
15
},
16
"response_code": "00",
17
"response_desc": "Sukses",
18
"redirect_url" : "https://dev.faspay.co.id/pws/100003/0830000010100000/acbaace6a54eb83958e245e03e46a1e43df9f33f?trx_id=9999970056662287&merchant_id=99999&bill_no=20201222112952"
19
}
Copied!
1
{
2
"response": "Transmisi Info Detil Pembelian",
3
"trx_id": "9999981400005934",
4
"merchant_id": "99999",
5
"merchant": "FASPAY STORE",
6
"bill_no": "20201222113157",
7
"bill_items": {
8
"id": "A001",
9
"product": "Invoice #2286704",
10
"qty": "1",
11
"amount": "100000",
12
"payment_plan": "01",
13
"merchant_id": "99999",
14
"tenor": "00"
15
},
16
"response_code": "00",
17
"response_desc": "Sukses",
18
"redirect_url" : "https://dev.faspay.co.id/pws/100003/0830000010100000/4d1e20b1ced350ba1723f4e751f554e92e75b7b7?trx_id=9999981400005934&merchant_id=99999&bill_no=20201222113157"
19
}
Copied!
1
{
2
"response": "Transmisi Info Detil Pembelian",
3
"trx_id": "7178990000218859",
4
"merchant_id": "99999",
5
"merchant": "FASPAY STORE",
6
"bill_no": "20201222113344",
7
"bill_items": {
8
"id": "A001",
9
"product": "Invoice #2286704",
10
"qty": "1",
11
"amount": "100000",
12
"payment_plan": "01",
13
"merchant_id": "99999",
14
"tenor": "00"
15
},
16
"response_code": "00",
17
"response_desc": "Sukses",
18
"redirect_url" : "https://dev.faspay.co.id/pws/100003/0830000010100000/2426558097a5f09256f5cc2ec9be94028e7f8b4d?trx_id=7178990000218859&merchant_id=99999&bill_no=20201222113344"
19
}
Copied!

2. Redirect customer to bank's website

To redirect customer to Bank's Website, use redirect_url that retrieved from Post Data Transaction response (JSON Format) or follow the detail API reference Here
exception for PermataNet Channel, please using detail bellow
Request Parameter
Sample Request
Parameter
Type
M/O/C
Description
va_number
Numeric
Mandatory
trx_id respon from post data transaction
amount
Numeric
Mandatory
total amount transaction
1
<?php
2
3
$va_number='8985999000012039'; //ini ambil dari respon trx_uid post data transaction
4
$amount='10000.00';
5
6
$url='https://dev.faspay.co.id/permatanet/payment';
7
8
9
$post = array(
10
"va_number" =>$va_number,
11
"amount" =>$amount
12
13
14
15
);
16
17
$string = '<form method="post" name="form" action="'.$url.'">';
18
if ($post != null) {
19
foreach ($post as $name=>$value) {
20
$string .= '<input type="hidden" name="'.$name.'" value="'.$value.'">';
21
}
22
}
23
24
25
$string .= '</form>';
26
27
$string .= '<script> document.form.submit();</script>';
28
29
echo $string;
30
exit;
31
32
?>
Copied!

3. Callback/Return URL

After the customer completes the payment via bank's website, the bank website automatically redirect customer to Callback/Return URL. Please provide the URL and make sure it's already register on Faspay system. For the detail reference can be find Here

4. 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 find here
Last modified 9mo ago
Copy link