BRI Direct Debit

Binding Card Token

This process is used to send card information data sent from merchant to Faspay. The post data (binding) process is carried out when the merchant requests parameters and then Faspay will respond to the request.

Request Binding Card Token

The following are the parameters of the request that must be sent by the merchant system to the Faspay system.

Response Binding Card Token

Response parameters are parameters that will be sent by the Faspay system in response to parameter requests that have been sent by the merchant system. If there are parameters that do not match / the value is wrong then the transaction will be rejected by Faspay's system.

Unbinding Card Token

This service functions to delete user/customer card information data of BRI bank customers.

Request Unbinding Card Token

The following are the parameters of the unbinding request that must be sent by the merchant system to the Faspay system.

Response Unbinding Card Token

Response parameters will be sent by the Faspay system in response to parameter requests that have been sent by the merchant system. If there are parameters that do not match / the value is wrong then the transaction will be rejected by Faspay's system.

Post Data Transaction

This process is used to see sending transaction data from merchants to Faspay.

URL Endpoint Post Data

This endpoint URL is used as a return URL that will process the data posted from the merchant system. There are 2 URLs that need to be used, namely Production and Development. For testing or UAT implementation, you can use the development URL.

Request Parameter Post Data

The following are the parameters that must be sent by the merchant system to the Faspay system.

<faspay>
    <request> Transmission of Purchase Detail Info </request>
    <merchant_id>99999</merchant_id>
    <merchant>Sophia Store</merchant>
    <bill_no>849389422312</bill_no>
    <bill_reff> schlbg </bill_reff>
    <bill_date>2021-02-11 07:25:00</bill_date>
    <bill_expired>2021-02-28 20:04:10</bill_expired>
    <bill_desc> Payment #12345678</bill_desc>
    <bill_currency>IDR</bill_currency>
    <bill_gross>000</bill_gross>
    <bill_tax>000</bill_tax>
    <bill_miscfee>000</bill_miscfee>
    <bill_total>100000</bill_total>
    <bill_miscdata>card_.eyJleHAiOjE2NDQ0NzI5NDAsImlhdCI6MTYxMjkzNjk0MCwiaXNzIjoiQmFuayBCUkkgLSBEQ0UiLCJqdGkiOiJkMGQ2ZWM4OS1mNzNhLTQzZjItOGE5ZS1kMWIwNThhODA1ZDkiLCJwYXJ0bmVySWQiOiLvv70iLCJzZXJ2aWNlTmFtZSI6IkREX0VYVEVSTkFMX1NFUlZJQ0UifQ.Dp3I8Cl1IcVtPNdHFWAUZpchEnK_8r6SkbDB4XhLyt8Awitq9Hr2MHPsrp6yJG3D9DDrZAnmi2CgRumj7RqNKdAO6jt7zkS4asomy4Bapstd4Y_kMzWkXWMZCLUQJjakKu4mB1IDv89dDV2-thB9QgZkWx7asMCQG-QQO4hSwo6lAEN_cg5PEknI7mbwKCWIzR26QbXfytgH4yYwhdfQcg_HELCCQ1TeMOdfo3QP2qg-RgdkdgMZIkYC3JS_1wDenjduGq-MPRSbBDwhVkUKqvSssQn2iaErR8Q5KM2yYMIVSjaYTSyau9MFwV5Br7t7aLs5ssSyCixolrxa1GHCQg</bill_miscdata>
    <cust_no>1</cust_no>
    <cust_name>John Doe</cust_name>
    <cust_lastname> Doe </cust_lastname>
    <payment_channel>714</payment_channel>
    <pay_type>1</pay_type>
    <bank_userid> </bank_userid>
    <msisdn>081382826301</msisdn>
    <email> john@gmail.com </email>
    <terminal>10</terminal>
    <billing_name>John</billing_name>
    <billing_lastname>0</billing_lastname)>
    <billing_address>Kawasan 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_address_country_code>ID</billing_address_country_code>
    <receiver_name_for_shipping>John Doe</receiver_name_for_shipping>
    <shipping_address>Kawasan industri sentul.jl.olympic raya kav.b8 sentul bogor</shipping_address>
    <shipping_address_city>Bogor</shipping_address_city>
    <shipping_address_region>Bogor</shipping_address_region>
    <shipping_address_state>Jawa Barat</shipping_address_state>
    <shipping_address_poscode>16810</shipping_address_poscode>
    <shipping_msisdn>08766688686</shipping_msisdn>
    <shipping_address_country_code>ID</shipping_address_country_code>
    <item>
        <id>123</id>
    <product> Xiaomi </product>
    <qty>1</qty>
    <amount>100000</amount>
    <payment_plan>1</payment_plan>
    <merchant_id>99999</merchant_id>
    <tenor>00</tenor>
    <type>Smartphone</type>
    <url> http://localhost:8088/kredivo</url>
    <image_url> https://cdn.mos.cms.futurecdn.net/Mffc35PH77Dq7USrHb4qNm-1200-80.jpg</image_url>
    </item>
    <item>
    <id>234</id>
    <product> Oppo</product>
    <qty>1</qty>
    <amount>100000</amount>
    <payment_plan>1</payment_plan>
    <merchant_id>99999</merchant_id>
    <tenor>00</tenor>
    <type>Smartphone</type>
    <url> http://localhost:8088/kredivo</url>
    <image_url> https://cdn.mos.cms.futurecdn.net/Mffc35PH77Dq7USrHb4qNm-1200-80.jpg</image_url>
    </item>
    <reserve1>0</reserve1 >
    <reserve2 ></reserve1>
    <signature>0d8a326853f3090251fb81b1a56f5c4d5b5f2639</signature>
</faspay>

Response Post Data

Response parameters are parameters that will be sent by the Faspay system in response to parameter requests that have been sent by the merchant system. If there are parameters that do not match / the value is wrong then the transaction will be rejected by Faspay's system.

<?xml version="1.0" encoding="UTF-8"?>
<faspay>
    <response>Transmission of Detail Info</response>
    <trx_id>9999971430152848</trx_id>
    <merchant_id>99999</merchant_id> 
    <merchant> Sophia Store </merchant>
    <bill_no>849389422312</bill_no>
    <bill_items>
<id>123</id>
<product> Xiaomi </product>
<qty>1</qty>
<amount>100000</amount>
<payment_plan>1</payment_plan>
<merchant_id>99999</merchant_id>
<tenor>00</tenor>
<type>Smartphone</type>
<url> http://localhost:8088/kredivo</url>
<image_url> https://cdn.mos.cms.futurecdn.net/Mffc35PH77Dq7USrHb4qNm-1200-80.jpg</image_url>
    </bill_items>
    <bill_items>
<id>234</id>
<product> Oppo</product>
<qty>1</qty>
<amount>100000</amount>
<payment_plan>1</payment_plan>
<merchant_id>99999</merchant_id>
<tenor>00</tenor>
<type>Smartphone</type>
<url> http://localhost:8088/kredivo</url>
<image_url> https://cdn.mos.cms.futurecdn.net/Mffc35PH77Dq7USrHb4qNm-1200-80.jpg</image_url>
    </bill_items>
    <response_code>00</response_code>
    <response_desc>Success</response_desc>
</faspay>

Redirect Process

For the BRI Direct Debit channel redirect process API is basically like any other debit channel, To redirect a customer to the online debit website, use redirect_url that retrieved from Post Data Transaction response (JSON Format)

Last updated