You are on page 1of 87

POS4EDC User Guide

[for POS application developers]

DocumentDate
Mei 19,2022

LastRevised: Mei 19,2022


Version: 1.08
Release: 1.08

MitraTransaksiIndonesia Printed on Mei 19,2022


Table of Contents
1. INTRODUCTION .............................................................................................................................. 10
1.1 WHAT IS POS4EDC .................................................................................................................. 10
1.2 COMPOSITION ......................................................................................................................... 10
1.2.1 POS4CAT.exe ..................................................................................................................... 10
1.2.2 POS4CAT_Ctl.dll ............................................................................................................... 10
1.2.3 POS4CAT.ini ...................................................................................................................... 10
1.2.4 POS4CAT_log .................................................................................................................... 11
1.3 SERVICES .................................................................................................................................. 11
2. API DESCRIPTION ........................................................................................................................... 13
2.1 SERVICE CREATE/STATUS CHECK/TERMINATES .......................................................... 13
2.1.1 Service Create ..................................................................................................................... 14
2.1.2 Service Status Check........................................................................................................... 14
2.1.3 Service Terminate ............................................................................................................... 15
2.2 SERVICE REQUEST ................................................................................................................. 15
2.2.1 Purchase .............................................................................................................................. 18
2.2.2 Purchase Void ..................................................................................................................... 19
2.2.3 Refund ................................................................................................................................. 19
2.2.4 Preauth ................................................................................................................................ 19
2.2.5 Preauth Completion............................................................................................................. 20
2.2.6 Manual Purchase ................................................................................................................. 20
2.2.7 Manual Refund.................................................................................................................... 20
2.2.8 Manual Preauth ................................................................................................................... 21
2.2.9 Manual Preauth Completion ............................................................................................... 21
2.2.10 TIP Adjust ........................................................................................................................... 21
2.2.11 Settlement ........................................................................................................................... 22
2.2.12 Paper Check ........................................................................................................................ 22
2.2.13 Card Information ................................................................................................................. 22
2.2.14 Echo Test ............................................................................................................................ 23
2.2.15 Card Info Reguler................................................................................................................ 23
2.2.16 Menu Reprint ...................................................................................................................... 23
2.2.17 Resend Last Transaction ..................................................................................................... 24
2.2.18 Any Transaction .................................................................................................................. 24
2.2.19 Last Settlement.................................................................................................................... 24
2.2.20 Menu Report ....................................................................................................................... 25

Technical Specification Document Printed on Mei 19, 2022


ii
2.2.21 Audit Report........................................................................................................................ 25
2.2.22 Summary Report ................................................................................................................. 25
2.2.23 Menu QRIS Domestik......................................................................................................... 26
2.2.24 Generate QRIS .................................................................................................................... 26
2.2.25 QRIS Inquiry Stat Last ........................................................................................................ 26
2.2.26 QRIS Inquiry Stat Any........................................................................................................ 27
2.2.24 Menu QRIS LinkAja ........................................................................................................... 27
2.2.25 QRIS LinkAja Print ............................................................................................................ 27
2.2.26 QRIS LinkAja Print ............................................................................................................ 28
2.2.27 QRIS LinkAja Last Transaction.......................................................................................... 28
2.2.28 QRIS LinkAja Any Transaction.......................................................................................... 28
2.2.29 Menu Powerbuy Mandiri .................................................................................................... 29
2.2.30 Powerbuy/Installment 3 Mon .............................................................................................. 29
2.2.31 Powerbuy/Installment 6 Mon .............................................................................................. 29
2.2.32 Powerbuy/Installment 9 Mon .............................................................................................. 30
2.2.33 Powerbuy/Installment 12 Mon ............................................................................................ 30
2.2.34 Powerbuy/Installment 24 Mon ............................................................................................ 30
2.2.35 Powerbuy/Installment 36 Mon ............................................................................................ 31
2.2.36 Powerbuy/Installment Others .............................................................................................. 31
2.2.37 Menu Prepaid Mandiri ........................................................................................................ 31
2.2.38 Prepaid Sale ........................................................................................................................ 32
2.2.39 Prepaid Top Up ................................................................................................................... 32
2.2.40 Prepaid Check Saldo ........................................................................................................... 32
2.2.41 Prepaid Upadate Balance .................................................................................................... 33
2.2.42 Prepaid History Trans ......................................................................................................... 33
2.2.43 Tarik Tunai.......................................................................................................................... 33
2.2.44 Menu Brizzi ........................................................................................................................ 34
2.2.45 Brizzi Init SAM................................................................................................................... 34
2.2.46 Brizzi Purchase ................................................................................................................... 34
2.2.47 Top Up Brizzi ..................................................................................................................... 35
2.2.48 Info Saldo Brizzi ................................................................................................................. 35
2.2.49 Saldo Tertunda Brizzi ......................................................................................................... 35
2.2.50 Topup Tertunda Brizzi ........................................................................................................ 36
2.2.51 Update Saldo Brizzi ............................................................................................................ 36
2.2.52 Void Brizzi .......................................................................................................................... 36
2.2.53 Settlement Brizzi ................................................................................................................. 37

Technical Specification Document Printed on Mei 19, 2022


iii
2.2.54 Info Kartu Brizzi ................................................................................................................. 37
2.2.55 Print Log Brizzi................................................................................................................... 37
2.2.56 Menu Reprint Brizzi............................................................................................................ 38
2.2.57 Last Transaction Brizzi ....................................................................................................... 38
2.2.58 Any Transaction Brizzi ....................................................................................................... 38
2.2.59 Menu Report Brizzi............................................................................................................. 39
2.2.60 Summary Report Brizzi ...................................................................................................... 39
2.2.61 Detail Report Brizzi ............................................................................................................ 39
2.2.62 Menu Cicilan Bring............................................................................................................. 40
2.2.63 Cicilan Bring 3 Bulan ......................................................................................................... 40
2.2.64 Cicilan Bring 6 Bulan ......................................................................................................... 40
2.2.65 Cicilan Bring 9 Bulan ......................................................................................................... 41
2.2.66 Cicilan Bring 12 Bulan ....................................................................................................... 41
2.2.67 Cicilan Bring 18 Bulan ....................................................................................................... 41
2.2.68 Cicilan Bring 24 Bulan ....................................................................................................... 42
2.2.69 Cicilan Bring 36 Bulan ....................................................................................................... 42
2.2.70 Tarik Tunai BRI .................................................................................................................. 42
2.2.71 Menu Tapcash BNI ............................................................................................................. 43
2.2.72 Payment Tapcash BNI ........................................................................................................ 43
2.2.73 Topup Tapcash BNI ............................................................................................................ 43
2.2.74 Balance Inquiry Tapcash BNI ............................................................................................. 44
2.2.75 Update Balance Tapcash BNI ............................................................................................. 44
2.2.76 Statement Print Tapcash BNI .............................................................................................. 44
2.2.77 Settlement Tapcash BNI ..................................................................................................... 45
2.2.78 Reprint Tapcash BNI .......................................................................................................... 45
2.2.79 Report Tapcash BNI............................................................................................................ 45
2.2.80 Admin Tapcash BNI ........................................................................................................... 46
2.2.81 Tapcash Logon BNI ............................................................................................................ 46
2.2.82 Tapcash Marry BNI ............................................................................................................ 46
2.2.83 Tapcash UnMarry BNI........................................................................................................ 47
2.2.84 Menu Smartspending BNI .................................................................................................. 47
2.2.85 BNI Smartspending 3 Bulan ............................................................................................... 47
2.2.86 BNI Smartspending 6 Bulan ............................................................................................... 48
2.2.87 BNI Smartspending 9 Bulan ............................................................................................... 48
2.2.88 BNI Smartspending 12 Bulan ............................................................................................. 48
2.2.89 BNI Smartspending 18 Bulan ............................................................................................. 49

Technical Specification Document Printed on Mei 19, 2022


iv
2.2.90 BNI Smartspending 24 Bulan ............................................................................................. 49
2.2.91 BNI Smartspending 30 Bulan ............................................................................................. 49
2.2.92 BNI Smartspending 36 Bulan ............................................................................................. 50
2.2.93 Tarik Tunai BNI .................................................................................................................. 50
2.2.94 Main Menu Loyalty ............................................................................................................ 50
2.2.95 Submenu Loyalty Mandiri .................................................................................................. 51
2.2.96 Loyalty Mandiri Redemption .............................................................................................. 51
2.2.97 Loyalty Mandiri Card Balance ............................................................................................ 51
2.2.98 Loyalty Mandiri Get Config ............................................................................................... 52
2.2.99 Loyalty Mandiri Ping .......................................................................................................... 52
2.2.100 Loyalty Mandiri Get Entity ............................................................................................. 52
2.2.101 Submenu Loyalty BNI .................................................................................................... 53
2.2.102 Inquiry Point Loyalty BNI .............................................................................................. 53
2.2.103 Partial Point Loyalty BNI ............................................................................................... 53
2.2.104 Full Point Loyalty BNI ................................................................................................... 54
2.2.105 Tarik Tunai BTN............................................................................................................. 54
2.3 SERVICE RESULT REQUEST ................................................................................................. 54
2.3.1 Response Code .................................................................................................................... 54
2.3.2 Response Data ..................................................................................................................... 55
2.4 RESPONSE DATA FORMAT ................................................................................................... 55
2.4.1 PURCHASE & MANUAL PURCHASE (Without TIP) .................................................... 55
2.4.2 PURCHASE & MANUAL PURCHASE (With TIP) ......................................................... 55
2.4.3 PREAUTH COMPLETION & MANUAL PREAUTH COMPLETION (Without TIP) ... 56
2.4.4 PREAUTH COMPLETION & MANUAL PREAUTH COMPLETION (With TIP) ........ 57
2.4.5 PREAUTH & MANUAL PREAUTH ................................................................................ 57
2.4.6 REFUND & MANUAL REFUND ..................................................................................... 58
2.4.7 TIP Adjust ........................................................................................................................... 58
2.4.8 VOID................................................................................................................................... 59
2.4.9 MENU REPRINT ............................................................................................................... 59
2.4.10 LAST RESPONSE/LAST TRANSACTION ..................................................................... 59
2.4.11 ANY TRANSACTION ....................................................................................................... 59
2.4.12 LAST SETTLEMENT ........................................................................................................ 59
2.4.13 MENU REPORT................................................................................................................. 59
2.4.14 AUDIT REPORT (With RedeemPoint+Preauth+Preauth Comp+Fare Non
Fare+SmartSpending) ......................................................................................................................... 60
2.4.15 SUMMARY REPORT (With RedeemPoint+Preauth+Preauth Comp+Fare Non

Technical Specification Document Printed on Mei 19, 2022


v
Fare+SmartSpending) ......................................................................................................................... 62
2.4.16 SETTLEMENT ................................................................................................................... 64
2.4.17 CHECK PAPER .................................................................................................................. 65
2.4.18 CARD INFO ....................................................................................................................... 65
2.4.19 ECHO TEST ....................................................................................................................... 65
2.4.20 CARD INFO+REGULAR .................................................................................................. 65
CARD INFO ....................................................................................................................................... 65
2.4.21 MENU LINKAJA ............................................................................................................... 66
2.4.22 LINKAJA PRINT QR ......................................................................................................... 66
2.4.23 LINKAJA LAST PRINT .................................................................................................... 66
2.4.24 LINKAJA ANY PRINT...................................................................................................... 67
2.4.25 MENU QRIS DOMESTIK ................................................................................................. 67
2.4.26 QRIS Generate .................................................................................................................... 67
2.4.27 QRIS Inquiry Stat Last ........................................................................................................ 68
2.4.28 QRIS Inquiry Stat Any........................................................................................................ 68
2.4.29 QRIS Refund ....................................................................................................................... 69
2.4.30 MANDIRI TARIK TUNAI ................................................................................................ 69
2.4.31 MENU POWERBUY ......................................................................................................... 70
2.4.32 POWERBUY/ INSTALLMENT (3,6,9,12,18,24,36,Others) MON................................... 70
2.4.33 MENU PREPAID MANDIRI ............................................................................................. 70
2.4.34 MANDIRI PREPAID CHECK SALDO ............................................................................. 70
2.4.35 MANDIRI PREPAID SALE .............................................................................................. 71
2.4.36 MANDIRI PREPAID TOPUP ............................................................................................ 71
2.4.37 MANDIRI PREPAID UPDATE BALANCE ..................................................................... 71
2.4.38 MANDIRI PREPAID HISTORY TRANSACTION .......................................................... 72
2.4.39 BRI TARIK TUNAI ........................................................................................................... 72
2.4.40 MENU BRIZZI ................................................................................................................... 72
2.4.41 BRIZZI INIT SAM ............................................................................................................. 73
2.4.42 INFO SALDO BRIZZI ....................................................................................................... 73
2.4.43 BRIZZI PURCHASE .......................................................................................................... 73
2.4.44 TOPUP ONLINE BRIZZI .................................................................................................. 73
2.4.45 SALDO TERTUNDA BRIZZI ........................................................................................... 73
2.4.46 TOPUP TERTUNDA BRIZZI............................................................................................ 74
2.4.47 UPDATE SALDO BRIZZI ................................................................................................. 74
2.4.48 VOID BRIZZI ..................................................................................................................... 74
2.4.49 INFO KARTU BRIZZI ....................................................................................................... 75

Technical Specification Document Printed on Mei 19, 2022


vi
2.4.50 PRINT LOG BRIZZI .......................................................................................................... 75
2.4.51 SETTLEMENT BRIZZI ..................................................................................................... 75
2.4.52 MENU REPRINT BRIZZI ................................................................................................. 75
2.4.53 LAST TRANSACTION BRIZZI ........................................................................................ 75
2.4.54 ANY TRANSACTION BRIZZI ......................................................................................... 75
2.4.55 MENU REPORT BRIZZI ................................................................................................... 75
2.4.56 SUMMARY REPORT BRIZZI .......................................................................................... 75
2.4.57 DETAIL REPORT BRIZZI ................................................................................................ 76
2.4.58 MENU CICILAN BRING .................................................................................................. 76
2.4.59 CICILAN BRING (3,6,9,12,18,24,36) MON ..................................................................... 76
2.4.60 TARIK TUNAI BNI ........................................................................................................... 76
2.4.61 MENU TAPCASH .............................................................................................................. 77
2.4.62 BNI BALANCE INQUIRY TAPCASH ............................................................................. 77
2.4.63 BNI PAYEMENT TAPCASH ............................................................................................ 77
2.4.64 BNI TOPUP TAPCASH ..................................................................................................... 78
2.4.65 BNI UPDATE BALANCE TAPCASH .............................................................................. 78
2.4.66 BNI STATEMENT PRINT TAPCASH ............................................................................. 78
2.4.67 BNI SETTLEMENT TAPCASH ........................................................................................ 79
2.4.68 BNI REPRINT TAPCASH ................................................................................................. 79
2.4.69 BNI REPORT TAPCASH .................................................................................................. 79
2.4.70 BNI ADMIN TAPCASH .................................................................................................... 79
2.4.71 BNI LOGON TAPCASH.................................................................................................... 79
2.4.72 BNI MARRY TAPCASH ................................................................................................... 79
2.4.73 BNI UNMARRY TAPCASH ............................................................................................. 79
2.4.74 MENU SMARTSPENDING BNI ...................................................................................... 79
2.4.75 BNI SMARTSPENDING/CICILAN (3,6,9,12,18,24,30,36) MON ................................... 79
2.4.76 TARIK TUNAI BTN .......................................................................................................... 80
2.4.77 MAIN MENU LOYALTY ................................................................................................. 80
2.4.78 SUBMENU LOYALTY MANDIRI ................................................................................... 80
2.4.79 MANDIRI REDEMPTION ................................................................................................ 80
2.4.80 MANDIRI CARD BALANCE ........................................................................................... 81
2.4.81 MANDIRI GET CONFIG .................................................................................................. 81
2.4.82 MANDIRI PING LOYALTY ............................................................................................. 81
2.4.83 MANDIRI GET ENTITY ................................................................................................... 81
2.4.84 MANDIRI LOYALTY BNI ............................................................................................... 81
2.4.85 BNI INQUIRY POINT LOYALTY ................................................................................... 81

Technical Specification Document Printed on Mei 19, 2022


vii
2.4.86 BNI PARTIAL POINT LOYALTY ................................................................................... 81
2.4.87 BNI FULL POINT LOYALTY .......................................................................................... 81
3. SAMPLE ............................................................................................................................................. 82
3.1 VISUAL C# ................................................................................................................................ 82
4. INFORMATION FOR ECR DEVELOPER ....................................................................................... 87

Revision Status

Document Version Date Summary of Change


1.0 03-Oct-2017 First Release
1.01 30-Sept-2019 Add Powerbuy
1.02 04-Dec-2019 Add Prepaid
1.03 24-Feb-2020 Change Settlement Format
1.04 30-Nov-2020 Add CardInfoReguler, Brizzi
Purchase
1.05 10-Dec-2020 Add Gen QRIS, QRIS Refund
1.06 19-Jan-2021 Add TopUp Brizzi, Info Saldo
Brizzi
1.07 10-Nov-2021 Add BalInq Tapcash, Payment
Tapcash, Topup Tapcash,
Update Balance Tapcash,
Statement Print Tapcash,
Settlement Tapcash, Reprint
Tapcash, Report Tapcash,
Admin Tapcash, Menu Tapcash,
Tarik Tunai BRI, Tarik Tunai
BNI, Tarik Tunai BTN
1.08 10-Des-2021 Add Regular Last Transaction,
Regular Any Transaction,
Regular Last Settlement,
Regular Audit Report, Regular
Summary Report, Mandiri
Emoney Update Balance,
Mandiri Emoney History
Transaction, Mandiri Emoney
Check Saldo, BRI Brizzi Init
Sam, BRI Brizzi Saldo
Tertunda, BRI Brizzi Topup
Tertunda, BRI Brizzi Update
Saldo, BRI Brizzi Void, BRI
Brizzi Info Kartu, BRI Brizzi
Print Log Transaksi, BRI Brizzi
Settlement, BRI Brizzi Last
Transaction, BRI Brizzi Any
Transaction, BRI Brizzi

Technical Specification Document Printed on Mei 19, 2022


viii
Summary Report, BRI Brizzi
Detail Report, BNI
Smartspending 3 Mon, BNI
Smartspending 6 Mon, BNI
Smartspending 9 Mon, BNI
Smartspending 12 Mon, BNI
Smartspending 18 Mon, BNI
Smartspending 24 Mon, BNI
Smartspending 30 Mon, BNI
Smartspending 36 Mon, BNI
Tapcash Logon, BNI Tapcash
Marry, BNI Tapcash UnMarry

Technical Specification Document Printed on Mei 19, 2022


ix
1. INTRODUCTION
1.1 WHAT IS POS4EDC
POS4EDC program is library for POS(ECR) application program to easy integration with MTI
(Mitra Transaksi Indonesia) EDC. It received service request from POS and send to the request to
EDC to make financial transaction then it send back the transaction result to POS system.

1.2 COMPOSITION
1.2.1 POS4CAT.exe
POS4CAT.exe communicate with EDC which connected to serial port using pre-
defined protocol and also generate and analysis the request/response message.

1.2.2 POS4CAT_Ctl.dll
POS4CAT_Ctl.dll is library to perform service and data request to POS4EDC. This
module can be called using general shared library form from PC based POS
application.

1.2.3 POS4CAT.ini
POS4CAT.ini file is configuration file include setting information of POS4EDC. This
file includes communication setting value to use communicate with EDC by
POS4EDC. If this file is not existed, POS4EDC will generate it automatically

Technical Specification Document Printed on Mei 19, 2022


10
1.2.4 POS4CAT_log
POS4CAT_log directory is for log writing of POS4EDC such as errors and other
information. Log file format is year+month+day.log and it automatically removed
after a month later.

1.3 SERVICES
Function Description
Regular - Purchase Request purchase to EDC
Regular - Purchase Void Request void purchase to EDC with trace number
Regular - Refund Request refund to EDC
Regular - Preauth Request preauth to EDC
Regular - Preauth Completion Request preauth completion to EDC
Regular - Manual Purchase Request manual purchase to EDC
Regular - Manual Refund Request manual refund to EDC
Regular - Manual Preauth Request manual preauth to EDC
Regular - Manual Preauth Request manual preauth completion to EDC
Completion
Regular - TIP adjust Request TIP adjust to EDC
Regular - Settlement Request settlement to EDC
Regular - Card Info Request card information to EDC
Regular - Paper Check Request paper present check
Regular - Echo Test Request echo test to EDC
Regular – Menu Reprint Request menu reprint to EDC
Regular - Last Transaction Request last transaction to EDC
Regular - Any Transaction Request Any transaction to EDC
Regular - Last Settlement Request last settlement to EDC
Regular – Menu Report Request menu report to EDC
Regular - Audit Report Request Audit Report to EDC
Regular - Summary Report Request Summary Report to EDC
Regular - Card Info Reguler Request Card Info Reguler to EDC
Regular – Menu QRIS Domestik Request menu QRIS Domestik to EDC
Regular - QRIS Generate Request QRIS Generate to EDC
Regular - QRIS Inquiry Stat Last Request QRIS Inquiry Stat Last to EDC
Regular - QRIS Inquiry Stat Any Request QRIS Inquiry Stat Any to EDC
Regular - QRIS Refund Request QRIS Refund to EDC
Regular – Menu QRIS LinkAja Request menu QRIS LinkAja to EDC
Regular - Link Aja Print QR Request Link Aja Print QR to EDC
Regular - Link Aja Last Request Link Aja Print Last Transactin to EDC
Transaction
Regular - Link Aja Any Request Link Aja Print Any Transactin to EDC
Transaction
Mandiri - Tarik Tunai Request Tarik Tunai(cash withdrawal) to EDC

Technical Specification Document Printed on Mei 19, 2022


11
Mandiri – Menu Powerbuy Request menu Powerbuy to EDC
Mandiri - Powerbuy 3 Request Powerbuy/Installment 3 to EDC
Mandiri - Powerbuy 6 Request Powerbuy/Installment 6 to EDC
Mandiri - Powerbuy 9 Request Powerbuy/Installment 9 to EDC
Mandiri - Powerbuy 12 Request Powerbuy/Installment 12 to EDC
Mandiri - Powerbuy 18 Request Powerbuy/Installment 18 to EDC
Mandiri - Powerbuy 24 Request Powerbuy/Installment 24 to EDC
Mandiri - Powerbuy 36 Request Powerbuy/Installment 36 to EDC
Mandiri - Powerbuy Others Request Powerbuy/Installment Others to EDC
Mandiri – Menu Prepaid Request Menu Prepaid to EDC
Mandiri - Prepaid Check Saldo Request Check Saldo to EDC
Mandiri - Prepaid Sale Request prepaid sale to EDC
Mandiri - Prepaid Top Up Request prepaid topup to EDC
Mandiri - Prepaid Update Request Update Balance to EDC
Balance
Mandiri - Prepaid History Request History Transaksi to EDC
Transaksi
BRI - Tarik Tunai Request BRI Tarik Tunai to EDC
BRI – Menu Brizzi Request Menu Brizzi to EDC
BRI - Brizzi Init Sam Request Brizzi Init Sam to EDC
BRI - Brizzi Info Saldo Request Brizzi Info Saldo to EDC
BRI - Brizzi Purchase Request Brizzi Purchase to EDC
BRI - Brizzi Saldo Tertunda Request Brizzi Saldo Tertunda to EDC
BRI - Brizzi Topup Online Request Brizzi Topup Online to EDC
BRI - Brizzi Topup Tertunda Request Brizzi Topup Tertunda to EDC
BRI - Brizzi Update Saldo Request Brizzi Update Saldo to EDC
BRI - Brizzi Void Request Brizzi Void to EDC
BRI - Brizzi Info Kartu Request Brizzi Info Kartu to EDC
BRI - Brizzi Log Transaksi Request Brizzi Log Transaksi to EDC
BRI - Brizzi Settlement Request Brizzi Settlement to EDC
BRI – Menu Reprint Brizzi Request Menu Reprint Brizzi to EDC
BRI - Brizzi Last Transaction Request Brizzi Last Transaction to EDC
BRI - Brizzi Any Transaction Request Brizzi Any Transaction to EDC
BRI – Menu Report Brizzi Request Menu Report Brizzi to EDC
BRI - Brizzi Summary Report Request Brizzi Summary Report to EDC
BRI - Brizzi Detail Report Request Brizzi Detail Report to EDC
BRI – Menu Cicilan Bring Request Menu Cicilan Bring to EDC
BRI – Cicilan Bring 3 Request Cicilan Bring 3 to EDC
BRI – Cicilan Bring 6 Request Cicilan Bring 6 to EDC
BRI – Cicilan Bring 9 Request Cicilan Bring 9 to EDC
BRI – Cicilan Bring 12 Request Cicilan Bring 12 to EDC
BRI – Cicilan Bring 18 Request Cicilan Bring 18 to EDC

Technical Specification Document Printed on Mei 19, 2022


12
BRI – Cicilan Bring 24 Request Cicilan Bring 24 to EDC
BRI – Cicilan Bring 36 Request Cicilan Bring 36 to EDC
BNI - Tarik Tunai Request BNI Tarik Tunai to EDC
BNI - Tapcash Balance Inquiry Request Balance Inquiry Tapcash to EDC
BNI - Tapcash Payment Request Payment Tapcash to EDC
BNI - Tapcash Topup Request Topup Tapcash to EDC
BNI - Tapcash Update Balance Request Update Balance Tapcash to EDC
BNI - Tapcash Statement Print Request Statement Print Tapcash to EDC
BNI - Tapcash Settlement Request Settlement Tapcash to EDC
BNI - Tapcash Reprint Request Reprint Tapcash to EDC
BNI - Tapcash Report Request Report Tapcash to EDC
BNI - Tapcash Admin Request Admin Tapcash to EDC
BNI - Smartspending 03 Mon Request Smartspending 03 to EDC
BNI - Smartspending 06 Mon Request Smartspending 06 to EDC
BNI - Smartspending 09 Mon Request Smartspending 09 to EDC
BNI - Smartspending 12 Mon Request Smartspending 12 to EDC
BNI - Smartspending 18 Mon Request Smartspending 18 to EDC
BNI - Smartspending 24 Mon Request Smartspending 24 to EDC
BNI - Smartspending 30 Mon Request Smartspending 30 to EDC
BNI - Smartspending 36 Mon Request Smartspending 36 to EDC
Regular - Main Menu Loyalty Request Main Menu Loyalty to EDC
Mandiri - Menu Loyalty Request Menu Loyalty Mandiri to EDC
Mandiri – Loyalty Redemption Request Loyalty Redemption to EDC
Mandiri - Loyalty Card Balance Request Loyalty Card Balance to EDC
Mandiri - Loyalty Get Config Request Loyalty Get Config to EDC
Mandiri - Loyalty Ping Loyalty Request Loyalty Ping Loyalty to EDC
Mandiri - Loyalty Get Entity Request Loyalty Get Entity to EDC
BNI - Menu Loyalty Request Menu Loyalty BNI to EDC
BNI - Loyalty Inquiry Point Request Loyalty Inquiry Point to EDC
BNI - Loyalty Partial Point Request Loyalty Partial Point to EDC
BNI - Loyalty Full Point Request Loyalty Full Point to EDC
BTN Tarik Tunai Request BTN Tarik Tunai to EDC

2. API DESCRIPTION
API supported by POS4EDC can be divided service request, service result request and service
create/status/terminates based on the its function.

2.1 SERVICE CREATE/STATUS CHECK/TERMINATES


Service create/status/terminate are mandatory call function to perform initialize before service

Technical Specification Document Printed on Mei 19, 2022


13
request by POS application. Before request it need to generate communication channel using
POS4EDC_COMCreate() then after service function call, you should get process result using
POS4EDC_COMStatus(). POS4EDC_COMStatus will wait until service return. Also after get
service return value, it should terminate POS4ECC service using POS4EDC_ServiceTerminate().

Function Shared Library Function


Service Create POS4EDC_COMCreate()
Service Status Check POS4EDC_COMStatus()
Service Terminates POS4EDC_ServiceTerminate()
<List of function for service create/status check/terminate>

2.1.1 Service Create


Service create function perform to generate communication channel with EDC and
initialize POS4EDC before service request.

Function Name POS4EDC_COMCreate()


This function should be called first when service request to EDC
Description using POS4EDC_Ctl.dll library. It creates communication
channel and setting environment to communicate with EDC.
int POS4EDC_COMCreate();
Function Type Parameter Description
N/A N/A
Return Desc.
0 Communication channel create success
Return Value
-1 Communication channel create fail
-2 ATL/COM reference fail to POS4EDC

2.1.2 Service Status Check


Service status check function is to status check of POS4EDC after service request. This
function display windows message for status of EDC and POS4EDC module.
Function Name POS4EDC_COMStatus()
This function should be called to check status after service
Description
request. It terminates when its return success or failed.
int POS4EDC_COMStatus();
Function Type Parameter Description
N/A N/A
Return Desc.
0 Communication channel create success
Return Value (enable to get result value)
-1 Communication channel create fail
-2 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


14
2.1.3 Service Terminate
Service terminate function perform end of communication and initialize of result value
with EDC.

Function Name POS4EDC_COMStatus()


This function should be called after service request and getting
Description result data to EDC. Once this function called all data and
communication with EDC will be terminated.
int POS4EDC_COMStatus();
Function Type Parameter Description
N/A N/A
Return Desc.
Return Value 0 POSO4EDC terminate success
-1000 ATL/COM reference fail to POS4EDC

2.2 SERVICE REQUEST


Service request functions are followed;
Function Share library function
Regular - Purchase POS4EDC_Purchase()
Regular - Purchase Void POS4EDC_Void()
Regular - Refund POS4EDC_Refund()
Regular - Preauth POS4EDC_Preauth()
Regular - Preauth Completion POS4EDC_PreauthCompletion()
Regular - Manual Purchase POS4EDC_ManualPurchase()
Regular - Manual Refund POS4EDC_ManualRefund()
Regular - Manual Preauth POS4EDC_ManualPreauth()
Regular - Manual Preauth Completion POS4EDC_ManualPreauthCompletion()
Regular - TIP adjust POS4EDC_TIPAdjust()
Regular - Settlement POS4EDC_Settlement()
Regular - Paper Check POS4EDC_CheckPaper()
Regular - Card Information POS4EDC_ReqCardInfo()
Regular - Echo Test POS4EDC_ReqEchoTest()
Regular – Menu Reprint POS4EDC_MTIRegular_MenuReprint()
Regular - Last Transaction POS4EDC_ReqLastReSend()
Regular - Any Transaction POS4EDC_MTIRegular_AnyTransaction()
Regular - Last Settlement POS4EDC_MTIRegular_LastSettlement()
Regular – Menu Report POS4EDC_Regular_MenuReport()
Regular - Audit Report POS4EDC_Regular_AuditReport()
Regular - Summary Report POS4EDC_Regular_SummaryReport()
Regular - Card Info Reguler POS4EDC_CardInfoReguler()
Regular – Menu QRIS Domestik POS4EDC_MTIQRIS_MenuDomestic()
Regular - QRIS Generate POS4EDC_GenQRIS()
Regular - QRIS Inquiry Stat Last POS4EDC_QRISInqLastTrans()
Regular - QRIS Inquiry Stat Any POS4EDC_QRISInqAnyTrans()
Regular - QRIS Refund POS4EDC_RefundQRIS()

Technical Specification Document Printed on Mei 19, 2022


15
Regular – Menu Link Aja POS4EDC_MTIQRIS_MenuLinkAja()
Regular - Link Aja Print QR POS4EDC_GenQRLinkAja()
Regular - Link Aja Last Transaction POS4EDC_PrintLastTrxLinkAja()
Regular - Link Aja Any Transaction POS4EDC_PrintAnyTrxLinkAja()
Menu Powerbuy Mandiri POS4EDC_INSTALLMENT_MENU()
Mandiri Powerbuy 03 POS4EDC_INSTALLMENT3MON()
Mandiri Powerbuy 06 POS4EDC_INSTALLMENT6MON()
Mandiri Powerbuy 09 POS4EDC_INSTALLMENT9MON()
Mandiri Powerbuy 12 POS4EDC_INSTALLMENT12MON()
Mandiri Powerbuy 18 POS4EDC_INSTALLMENT18MON()
Mandiri Powerbuy 24 POS4EDC_INSTALLMENT24MON()
Mandiri Powerbuy 36 POS4EDC_INSTALLMENT36MON()
Mandiri Powerbuy Others POS4EDC_INSTALLMENT_OTHERS()
Menu Prepaid Mandiri POS4EDC_Mandiri_MenuPrepaid()
Mandiri Prepaid Sale POS4EDC_PREPAID()
Mandiri Prepaid Top Up POS4EDC_TopupMandiri()
Mandiri Prepaid Check Saldo POS4EDC_MTIEmoney_CheckSaldo()
Mandiri Prepaid Update Balance POS4EDC_Mandiri_UpdateBalance()
Mandiri Prepaid History Trans POS4EDC_Mandiri_HistoryTrans()
Mandiri Tarik Tunai POS4EDC_TarikTunai()
Menu Brizzi POS4EDC_Brizzi_MenuBrizzi()
Brizzi Init Sam POS4EDC_Brizzi_InitSam()
Brizzi Info Saldo POS4EDC_InfoSaldoBrizzi()
Brizzi Purchase POS4EDC_BrizziPurchase()
Brizzi Topup Online POS4EDC_TopupBrizzi()
Brizzi Saldo Tertunda POS4EDC_Brizzi_SaldoTertunda()
Brizzi Topup Tertunda POS4EDC_Brizzi_TopupTertunda()
Brizzi Update Saldo POS4EDC_Brizzi_UpdateSaldo()
Brizzi Void POS4EDC_Brizzi_Void()
Brizzi Settlement POS4EDC_Brizzi_Settlement()
Brizzi Info Kartu POS4EDC_Brizzi_InfoKartu()
Brizzi Print Log POS4EDC_Brizzi_PrintLog()
Brizzi Menu Reprint POS4EDC_Brizzi_MenuReprint()
Brizzi Last Transaction POS4EDC_Brizzi_LastTransaction()
Brizzi Any Transaction POS4EDC_Brizzi_AnyTransaction()
Brizzi Menu Report POS4EDC_Brizzi_MenuReport()
Brizzi Summary Report POS4EDC_Brizzi_SummaryReport()
Brizzi Detail Report POS4EDC_Brizzi_DetailReport()
Menu Cicilan Bring BRI POS4EDC_MTICicilanBring_Menu()
BRI Cicilan 3 Bulan POS4EDC_MTICicilanBring_03Month()
BRI Cicilan 6 Bulan POS4EDC_MTICicilanBring_06Month()
BRI Cicilan 9 Bulan POS4EDC_MTICicilanBring_09Month()
BRI Cicilan 12 Bulan POS4EDC_MTICicilanBring_12Month()
BRI Cicilan 18 Bulan POS4EDC_MTICicilanBring_18Month()
BRI Cicilan 24 Bulan POS4EDC_MTICicilanBring_24Month()

Technical Specification Document Printed on Mei 19, 2022


16
BRI Cicilan 36 Bulan POS4EDC_MTICicilanBring_36Month()
BRI Tarik Tunai POS4EDC_TarikTunaiBRI()
Menu Tapcash BNI POS4EDC_TapCash_Menu()
BNI Balance Inquiry Tapcash POS4EDC_TapCash_BalanceInquiry()
BNI Payment Tapcash POS4EDC_TapCash_Payment()
BNI Topup Tapcash POS4EDC_TapCash_Topup()
BNI Update Balance Tapcash POS4EDC_TapCash_UpdateBalance()
BNI Statement Print Tapcash POS4EDC_TapCash_StatPrint()
BNI Settlement Tapcash POS4EDC_TapCash_Settlement()
BNI Reprint Tapcash POS4EDC_TapCash_Reprint()
BNI Report Tapcash POS4EDC_TapCash_Report()
BNI Admin Tapcash POS4EDC_TapCash_Admin()
BNI Tapcash Logon POS4EDC_Tapcash_Logon()
BNI Tapcash Marry POS4EDC_Tapcash_Marry()
BNI Tapcash Unmarry POS4EDC_Tapcash_UnMarry()
Menu Smartspending BNI POS4EDC_SmartSpending_Menu()
BNI Cicilan 3 Bulan POS4EDC_SmartSpending_03Month()
BNI Cicilan 6 Bulan POS4EDC_SmartSpending_06Month()
BNI Cicilan 9 Bulan POS4EDC_SmartSpending_09Month()
BNI Cicilan 12 Bulan POS4EDC_SmartSpending_12Month()
BNI Cicilan 18 Bulan POS4EDC_SmartSpending_18Month()
BNI Cicilan 24 Bulan POS4EDC_SmartSpending_24Month()
BNI Cicilan 30 Bulan POS4EDC_SmartSpending_30Month()
BNI Cicilan 36 Bulan POS4EDC_SmartSpending_36Month()
BNI Tarik Tunai POS4EDC_TarikTunaiBNI()
Main Menu Loyalty POS4EDC_MTIRegular_MainmenuLoyalty()
Sub Menu Loyalty Mandiri POS4EDC_MTIMandiri_SubmenuLoyalty()
Mandiri Redemption POS4EDC_RedemptionMND()
Mandiri Card Balance POS4EDC_CardBalanceMND()
Mandiri Get Config POS4EDC_GetConfigMND()
Mandiri Ping Loyalty POS4EDC_PingLoyaltyMND()
Mandiri Get Entity POS4EDC_GetEntityMND()
Sub Menu Loyalty BNI POS4EDC_SubLoyaltyBNI()
BNI Inquiry Point POS4EDC_InquiryPointBNI()
BNI Partial Point POS4EDC_PartialPointBNI()
BNI Full Point POS4EDC_FullPointBNI()
BTN Tarik Tunai POS4EDC_TarikTunaiBTN()
<List of function service request>

Technical Specification Document Printed on Mei 19, 2022


17
2.2.1 Purchase
POS(ECR) application can request purchase (sale) service using POS4EDC. EDC check
input value from POS application and determine whether it goes to next process or reject.

Input Value Description


Amount Input purchase amount *if not input, input on EDC
Additional amount Additional amount TIP
Option code 1 The code printed in receipt (1st line). Max 20Bytes
…… ……
Option code 10 The code printed in receipt (1st line). Max 20Bytes

Function Name POS4EDC_Purchase()


This function request purchase to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_Purchase(char *amount, char *add_amount,
char *opt_cod1, char*opt_cod2, char *opt_cod3, char
*opt_cod4, char *opt_cod5, char *opt_cod6, char*opt_cod7,
char *opt_cod8, char *opt_cod9, char *opt_cod10);
Parameter Description
Amount Purchase amount
Add_amount Additional amount such as TIP
Opt_code1 Print code in the receipt – line 1
Function Type Opt_code2 Print code in the receipt – line 2
Opt_code3 Print code in the receipt – line 3
Opt_code4 Print code in the receipt – line 4
Opt_code5 Print code in the receipt – line 5
Opt_code6 Print code in the receipt – line 6
Opt_code7 Print code in the receipt – line 7
Opt_code8 Print code in the receipt – line 8
Opt_code9 Print code in the receipt – line 9
Opt_code10 Print code in the receipt – line 10
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


18
2.2.2 Purchase Void

Function Name POS4EDC_Void()


This function request void to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_Void(Char*trace)
Function Type Parameter Description
Trace Original trace number to void
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.3 Refund

Function Name POS4EDC_Refund()


This function request refund to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_Refund(Char*amount)
Function Type Parameter Description
amount Refund amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.4 Preauth

Function Name POS4EDC_Preauth()


This function request preauth to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_Preauth(Char*amount)
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


19
2.2.5 Preauth Completion

Function Name POS4EDC_PreauthCompletion()


This function request preauth completion to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_PreauthCompletion(Char*amount,char*add_amount)
Parameter Description
Function Type amount Purchase amount
add_amount Additional amount such as TIP
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.6 Manual Purchase

Function Name POS4EDC_ManualPurchase()


This function request manual purchase to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_ManualPurchase(Char*amount,char*add_amount)
Parameter Description
Function Type
amount Purchase amount
add_amount Additional amount such as TIP
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.7 Manual Refund

Function Name POS4EDC_ManualRefund()


This function request manual refund to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_ManualRefund(Char*amount)
Function Type Parameter Description
amount Refund amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


20
2.2.8 Manual Preauth

Function Name POS4EDC_ManualPreauth()


This function request manual preauth to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_ManualPreauth(Char*amount)
Function Type Parameter Description
amount Preauth amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.9 Manual Preauth Completion

Function Name POS4EDC_ManualPreauthCompletion()


This function request manual preauth completion to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_ManualPreauthCompletion(Char*amount,char*add_amount)
Parameter Description
Function Type amount Purchase amount
add_amount Additional amount such as TIP
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.10 TIP Adjust

Function Name POS4EDC_TIPAdjust()


This function request TIP Adjust to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TIP Adjust(Char*amount)
Function Type Parameter Description
amount New TIP
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


21
2.2.11 Settlement

Function Name POS4EDC_Settlement()


This function request Settlement to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Settlement()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.12 Paper Check

Function Name POS4EDC_CheckPaper()


This function request Paper Check (rolling paper) to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_CheckPaper()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.13 Card Information

Function Name POS4EDC_ReqCardInfo()


This function request card information to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_ReqCardInfo()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


22
2.2.14 Echo Test

Function Name POS4EDC_ReqEchoTest()


This function request Echo Test to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_ReqEchoTest()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.15 Card Info Reguler

Function Name POS4EDC_CardInfoReguler()


This function request Card Info Reguler to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_CardInfoReguler()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.16 Menu Reprint

Function Name POS4EDC_ MTIRegular_MenuReprint ()


This function request Menu Reprint to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_ MTIRegular_MenuReprint ()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


23
2.2.17 Resend Last Transaction

Function Name POS4EDC_ReqLastSend()


This function request last transaction to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_ReqLastSend()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.18 Any Transaction

Function Name POS4EDC_MTIRegular_AnyTransaction()


This function request any transaction to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTIRegular_AnyTransaction()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.19 Last Settlement

Function Name POS4EDC_MTIRegular_LastSettlement()


This function request any transaction to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTIRegular_LastSettlement()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


24
2.2.20 Menu Report

Function Name POS4EDC_Regular_MenuReport()


This function request Menu Report to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Regular_MenuReport()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.21 Audit Report

Function Name POS4EDC_Regular_AuditReport()


This function request Audit Report to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Regular_AuditReport()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.22 Summary Report

Function Name POS4EDC_Regular_SummaryReport()


This function request Summary Report to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Regular_SummaryReport()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


25
2.2.23 Menu QRIS Domestik

Function Name POS4EDC_MTIQRIS_MenuDomestic()


This function request Menu QRIS Domestik to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTIQRIS_MenuDomestic()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.24 Generate QRIS

Function Name POS4EDC_GenQRIS()


This function request Top Up Brizzi to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_GenQRIS (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.25 QRIS Inquiry Stat Last

Function Name POS4EDC_QRISInqLastTrans()


This function request QRIS Inquiry Last Trans to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_QRISInqLastTrans()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


26
2.2.26 QRIS Inquiry Stat Any

Function Name POS4EDC_QRISInqAnyTrans()


This function request QRIS Inquiry Any Trans to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_QRISInqAnyTrans()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.24 Menu QRIS LinkAja

Function Name POS4EDC_MTIQRIS_MenuLinkAja()


This function request Menu QRIS LinkAja to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTIQRIS_MenuLinkAja()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.25 QRIS LinkAja Print

Function Name POS4EDC_GenQRLinkAja()


This function request QRIS LinkAja Print to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_GenQRLinkAja()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


27
2.2.26 QRIS LinkAja Print

Function Name POS4EDC_GenQRLinkAja()


This function request QRIS LinkAja Print to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_GenQRLinkAja()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.27 QRIS LinkAja Last Transaction

Function Name POS4EDC_PrintLastTrxLinkAja()


This function request QRIS LinkAja Last Transaction to EDC
Description
using POS4EDC_Ctl.dll library.
int POS4EDC_PrintLastTrxLinkAja()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.28 QRIS LinkAja Any Transaction

Function Name POS4EDC_PrintAnyTrxLinkAja()


This function request QRIS LinkAja Any Transaction to EDC
Description
using POS4EDC_Ctl.dll library.
int POS4EDC_PrintAnyTrxLinkAja()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


28
2.2.29 Menu Powerbuy Mandiri

Function Name POS4EDC_INSTALLMENT_MENU()


This function request Menu Powerbuy Mandiri to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_INSTALLMENT_MENU()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.30 Powerbuy/Installment 3 Mon

Function Name POS4EDC_INSTALLMENT3MON()


This function request Powerbuy/installment 3 Mon to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_INSTALLMENT3MON (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.31 Powerbuy/Installment 6 Mon

Function Name POS4EDC_INSTALLMENT6MON()


This function request Powerbuy/installment 6 Mon to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_INSTALLMENT6MON (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


29
2.2.32 Powerbuy/Installment 9 Mon

Function Name POS4EDC_INSTALLMENT9MON()


This function request Powerbuy/installment 9 Mon to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_INSTALLMENT9MON (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.33 Powerbuy/Installment 12 Mon

Function Name POS4EDC_INSTALLMENT12MON()


This function request Powerbuy/installment 12 Mon to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_INSTALLMENT12MON (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.34 Powerbuy/Installment 24 Mon

Function Name POS4EDC_INSTALLMENT24MON()


This function request Powerbuy/installment 24 Mon to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_INSTALLMENT24MON (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


30
2.2.35 Powerbuy/Installment 36 Mon

Function Name POS4EDC_INSTALLMENT32MON()


This function request Powerbuy/installment 36 Mon to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_INSTALLMENT36MON (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.36 Powerbuy/Installment Others

Function Name POS4EDC_INSTALLMENT_OTHERS()


This function request Powerbuy/installment Others to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_INSTALLMENT_OTHERS (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.37 Menu Prepaid Mandiri

Function Name POS4EDC_Mandiri_MenuPrepaid()


This function request Menu Prepaid Mandiri to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Mandiri_MenuPrepaid()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


31
2.2.38 Prepaid Sale

Function Name POS4EDC_PREPAID()


Description This function request Prepaid to EDC using POS4EDC_Ctl.dll library.
int POS4EDC_PREPAID (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.39 Prepaid Top Up

Function Name POS4EDC_TopupMandiri()


This function request Prepaid Top Up to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TopupMandiri (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.40 Prepaid Check Saldo

Function Name POS4EDC_MTIEmoney_CheckSaldo()


This function request Check Saldo Emoney to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTIEmoney_CheckSaldo()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


32
2.2.41 Prepaid Upadate Balance

Function Name POS4EDC_Mandiri_UpdateBalance()


This function request Update Balance Emoney to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Mandiri_UpdateBalance()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.42 Prepaid History Trans

Function Name POS4EDC_Mandiri_HistoryTrans()


This function request History Trans Emoney to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Mandiri_HistoryTrans()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.43 Tarik Tunai

Function Name POS4EDC_TarikTunai()


This function request Tarik Tunai to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TarikTunai(Char*amount,char*cash_out)
Parameter Description
Function Type amount Purchase amount
cash_out Cash amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


33
2.2.44 Menu Brizzi

Function Name POS4EDC_Brizzi_MenuBrizzi()


This function request Menu Brizzi to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_Brizzi_MenuBrizzi()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.45 Brizzi Init SAM

Function Name POS4EDC_Brizzi_InitSam()


This function request Brizzi Init SAM to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_Brizzi_InitSam()
Function Type Parameter Description
N/A N/A
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.46 Brizzi Purchase

Function Name POS4EDC_BrizziPurchase()


This function request Top Up Brizzi to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_BrizziPurchase (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


34
2.2.47 Top Up Brizzi

Function Name POS4EDC_TopupBrizzi()


This function request Top Up Brizzi to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TopupBrizzi (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.48 Info Saldo Brizzi

Function Name POS4EDC_InfoSaldoBrizzi()


This function request Top Up Brizzi to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_InfoSaldoBrizzi ()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.49 Saldo Tertunda Brizzi

Function Name POS4EDC_Brizzi_SaldoTertunda()


This function request Saldo Tertunda Brizzi to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Brizzi_SaldoTertunda()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


35
2.2.50 Topup Tertunda Brizzi

Function Name POS4EDC_Brizzi_TopupTertunda()


This function request Topup Tertunda Brizzi to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Brizzi_TopupTertunda()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.51 Update Saldo Brizzi

Function Name POS4EDC_Brizzi_UpdateSaldo()


This function request Update Saldo Brizzi to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Brizzi_UpdateSaldo()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.52 Void Brizzi

Function Name POS4EDC_Brizzi_Void()


This function request Void Brizzi to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_Brizzi_Void(Char*trace)
Function Type Parameter Description
Trace Original trace number to void
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


36
2.2.53 Settlement Brizzi

Function Name POS4EDC_Brizzi_Settlement()


This function request Settlement Brizzi to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_Brizzi_Settlement()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.54 Info Kartu Brizzi

Function Name POS4EDC_Brizzi_InfoKartu()


This function request Info Kartu Brizzi to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_Brizzi_InfoKartu()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.55 Print Log Brizzi

Function Name POS4EDC_Brizzi_PrintLog()


This function request Print Log Brizzi to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_Brizzi_PrintLog()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


37
2.2.56 Menu Reprint Brizzi

Function Name POS4EDC_Brizzi_MenuReprint()


This function request Menu Reprint Brizzi to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Brizzi_MenuReprint()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.57 Last Transaction Brizzi

Function Name POS4EDC_Brizzi_LastTransaction()


This function request Last Transaction Brizzi to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Brizzi_LastTransaction()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.58 Any Transaction Brizzi

Function Name POS4EDC_Brizzi_AnyTransaction()


This function request Any Transaction Brizzi to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Brizzi_AnyTransaction()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


38
2.2.59 Menu Report Brizzi

Function Name POS4EDC_Brizzi_MenuReport()


This function request Menu Report Brizzi to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Brizzi_MenuReport()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.60 Summary Report Brizzi

Function Name POS4EDC_Brizzi_SummaryReport()


This function request Summary Report Brizzi to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Brizzi_SummaryReport()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.61 Detail Report Brizzi

Function Name POS4EDC_Brizzi_DetailReport()


This function request Detail Report Brizzi to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Brizzi_DetailReport()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


39
2.2.62 Menu Cicilan Bring

Function Name POS4EDC_MTICicilanBring_Menu()


This function request Menu Cicilan Bring to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTICicilanBring_Menu(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.63 Cicilan Bring 3 Bulan

Function Name POS4EDC_MTICicilanBring_03Month()


This function request Cicilan Bring 3 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTICicilanBring_03Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.64 Cicilan Bring 6 Bulan

Function Name POS4EDC_MTICicilanBring_06Month()


This function request Cicilan Bring 6 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTICicilanBring_06Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


40
2.2.65 Cicilan Bring 9 Bulan

Function Name POS4EDC_MTICicilanBring_09Month()


This function request Cicilan Bring 9 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTICicilanBring_09Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.66 Cicilan Bring 12 Bulan

Function Name POS4EDC_MTICicilanBring_12Month()


This function request Cicilan Bring 12 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTICicilanBring_12Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.67 Cicilan Bring 18 Bulan

Function Name POS4EDC_MTICicilanBring_18Month()


This function request Cicilan Bring 18 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTICicilanBring_18Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


41
2.2.68 Cicilan Bring 24 Bulan

Function Name POS4EDC_MTICicilanBring_24Month()


This function request Cicilan Bring 24 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTICicilanBring_24Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.69 Cicilan Bring 36 Bulan

Function Name POS4EDC_MTICicilanBring_36Month()


This function request Cicilan Bring 36 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTICicilanBring_36Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.70 Tarik Tunai BRI

Function Name POS4EDC_TarikTunaiBRI ()


This function request Tarik Tunai BRI to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TarikTunaiBRI (Char*amount,char*cash_out)
Parameter Description
Function Type
amount Purchase amount
cash_out Cash amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


42
2.2.71 Menu Tapcash BNI

Function Name POS4EDC_TapCash_Menu()


This function request Menu Tapcash to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TapCash_Menu()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.72 Payment Tapcash BNI

Function Name POS4EDC_TapCash_Payment()


This function request Payment Tapcash to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_TapCash_Payment(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.73 Topup Tapcash BNI

Function Name POS4EDC_TapCash_Topup()


This function request Topup Tapcash to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TapCash_Topup (Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


43
2.2.74 Balance Inquiry Tapcash BNI

Function Name POS4EDC_TapCash_BalanceInquiry ()


This function request Balance Inquiry Tapcash to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_ TapCash_BalanceInquiry ()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.75 Update Balance Tapcash BNI

Function Name POS4EDC_TapCash_UpdateBalance ()


This function request Update Balance Tapcash to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_TapCash_UpdateBalance ()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.76 Statement Print Tapcash BNI

Function Name POS4EDC_TapCash_StatPrint ()


This function request Statement Print Tapcash to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_TapCash_StatPrint ()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


44
2.2.77 Settlement Tapcash BNI

Function Name POS4EDC_TapCash_Settlement()


This function request Settlement Tapcash to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_TapCash_Settlement ()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.78 Reprint Tapcash BNI

Function Name POS4EDC_TapCash_Reprint ()


This function request Reprint Tapcash to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TapCash_Reprint ()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.79 Report Tapcash BNI

Function Name POS4EDC_TapCash_Report ()


This function request Report Tapcash to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TapCash_Report ()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


45
2.2.80 Admin Tapcash BNI

Function Name POS4EDC_TapCash_Admin ()


This function request Admin Tapcash to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TapCash_Admin ()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.81 Tapcash Logon BNI

Function Name POS4EDC_TapCash_Admin ()


This function request Admin Tapcash to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TapCash_Admin ()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.82 Tapcash Marry BNI

Function Name POS4EDC_Tapcash_Marry()


This function request Marry Tapcash to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_Tapcash_Marry()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


46
2.2.83 Tapcash UnMarry BNI

Function Name POS4EDC_Tapcash_UnMarry()


This function request UnMarry Tapcash to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_Tapcash_UnMarry()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.84 Menu Smartspending BNI

Function Name POS4EDC_SmartSpending_Menu()


This function request Menu Smartspending to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_SmartSpending_Menu()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.85 BNI Smartspending 3 Bulan

Function Name POS4EDC_SmartSpending_03Month()


This function request Smartspending 3 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_SmartSpending_03Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


47
2.2.86 BNI Smartspending 6 Bulan

Function Name POS4EDC_SmartSpending_06Month()


This function request Smartspending 6 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_SmartSpending_06Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.87 BNI Smartspending 9 Bulan

Function Name POS4EDC_SmartSpending_09Month()


This function request Smartspending 9 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_SmartSpending_09Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.88 BNI Smartspending 12 Bulan

Function Name POS4EDC_SmartSpending_012Month()


This function request Smartspending 12 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_SmartSpending_12Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


48
2.2.89 BNI Smartspending 18 Bulan

Function Name POS4EDC_SmartSpending_18Month()


This function request Smartspending 18 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_SmartSpending_18Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.90 BNI Smartspending 24 Bulan

Function Name POS4EDC_SmartSpending_24Month()


This function request Smartspending 24 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_SmartSpending_24Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.91 BNI Smartspending 30 Bulan

Function Name POS4EDC_SmartSpending_30Month()


This function request Smartspending 30 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_SmartSpending_30Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


49
2.2.92 BNI Smartspending 36 Bulan

Function Name POS4EDC_SmartSpending_36Month()


This function request Smartspending 36 Bulan to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_SmartSpending_36Month(Char*amount)
Function Type Parameter Description
amount Purchase amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.93 Tarik Tunai BNI

Function Name POS4EDC_TarikTunaiBNI ()


This function request Tarik Tunai BNI to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TarikTunaiBNI (Char*amount,char*cash_out)
Parameter Description
Function Type
amount Purchase amount
cash_out Cash amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.94 Main Menu Loyalty

Function Name POS4EDC_MTIRegular_MainmenuLoyalty()


This function request Main Menu Loyalty to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTIRegular_MainmenuLoyalty()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


50
2.2.95 Submenu Loyalty Mandiri

Function Name POS4EDC_MTIMandiri_SubmenuLoyalty()


This function request Submenu Loyalty Mandiri to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTIMandiri_SubmenuLoyalty()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.96 Loyalty Mandiri Redemption

Function Name POS4EDC_MTIMandiri_LoyaltyRedemption()


This function request Loyalty Mandiri Redemption to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTIMandiri_LoyaltyRedemption()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.97 Loyalty Mandiri Card Balance

Function Name POS4EDC_MTIMandiri_LoyaltyCardBalance()


This function request Loyalty Mandiri Card Balance to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTIMandiri_LoyaltyCardBalance()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


51
2.2.98 Loyalty Mandiri Get Config

Function Name POS4EDC_MTIMandiri_LoyaltyGetConfig()


This function request Loyalty Mandiri Get Config to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTIMandiri_LoyaltyGetConfig()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.99 Loyalty Mandiri Ping

Function Name POS4EDC_MTIMandiri_LoyaltyPing()


This function request Loyalty Mandiri Ping to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTIMandiri_LoyaltyPing()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.100 Loyalty Mandiri Get Entity

Function Name POS4EDC_MTIMandiri_LoyaltyGetEntity()


This function request Loyalty Mandiri Get Entity to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_MTIMandiri_LoyaltyGetEntity()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


52
2.2.101 Submenu Loyalty BNI

Function Name POS4EDC_SubLoyaltyBNI()


This function request Sub Loyalty BNI to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_SubLoyaltyBNI()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.102 Inquiry Point Loyalty BNI

Function Name POS4EDC_InquiryPointBNI()


This function request Inquiry Point BNI to EDC using
Description
POS4EDC_Ctl.dll library.
int POS4EDC_InquiryPointBNI()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.103 Partial Point Loyalty BNI

Function Name POS4EDC_PartialPointBNI()


This function request Partial Point BNI to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_PartialPointBNI()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

Technical Specification Document Printed on Mei 19, 2022


53
2.2.104 Full Point Loyalty BNI

Function Name POS4EDC_FullPointBNI()


This function request Full Point BNI to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_FullPointBNI()
Function Type Parameter Description
NA NA
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.2.105 Tarik Tunai BTN

Function Name POS4EDC_TarikTunaiBTN ()


This function request Tarik Tunai BTN to EDC using POS4EDC_Ctl.dll
Description
library.
int POS4EDC_TarikTunaiBTN (Char*amount,char*cash_out)
Parameter Description
Function Type
amount Purchase amount
cash_out Cash amount
Return Desc.
0 Service request success
Return Value
-2 Communication failed with EDC
-1000 ATL/COM reference fail to POS4EDC

2.3 SERVICE RESULT REQUEST


Service return request function can request result data of service request when it success.
Service result data is different for each service request. There is no input value to request the result.

Function Shared Library Function


Response Code POS4EDC_GetResponseCode()
Response Data POS4EDC_GetResponseData()

2.3.1 Response Code


POS application can request response code after service request function return success.
Once POS application request response code, POS4EDC return the code from EDC.

Function Name POS4EDC_GetResponseCode()


Description This function request response code of the service
int POS4EDC_GetResponseCode(char*data)
Function Type
Parameter Description

Technical Specification Document Printed on Mei 19, 2022


54
N/A N/A
Return Desc.
Return Value 0 Service result return success
-1000 ATL/COM reference fail to POS4EDC

2.3.2 Response Data


Function Name POS4EDC_GetResponseData()
Description This function request response data of the service
int POS4EDC_GetResponseData(char*data)
Function Type Parameter Description
N/A N/A
Return Desc.
Return Value 0 Service result return success
-1000 ATL/COM reference fail to POS4EDC

2.4 RESPONSE DATA FORMAT


Response Data is list of data element separated by “|”. Its basic order and list are following.
2.4.1 PURCHASE & MANUAL PURCHASE (Without TIP)
NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437
5 Entry Code SWIPE SWIPE/DIP/RF
6 TRANSACTION TYPE SALE
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Total Amount 25,000
14 Total Amount after loyalty 25,250 For Loyalty
15 Rate 1 IDR = CNY 0.0005521 For DCC
16 Margin 1% For DCC
17 Currency Yuan Renminbi For DCC
18 Paid CNY 5.52 For DCC

2.4.2 PURCHASE & MANUAL PURCHASE (With TIP)


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437

Technical Specification Document Printed on Mei 19, 2022


55
5 Entry Code SWIPE SWIPE/DIP/RF
6 TRANSACTION TYPE SALE
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Sale Amount 20,000
14 TIP 5,000 In case of FARE NFARE
tran, its None Fare amount
instead of TIP.
15 Total Amount 25,000 13+14
16 Total Amount after loyalty 25,250 For Loyalty
17 Rate 1 IDR = CNY 0.0005521 For DCC
18 Margin 1% For DCC
19 Currency Yuan Renminbi For DCC
20 Paid CNY 5.52 For DCC

Ex)
00000001|000000000001|
MASTERCARD|553210*********5437|SWIPE|
SALE|000001|000001|06Mar2012|10:52:28|
123456789012|123456|5,500|1IDR=CNY
0.0005521| 1% | Yuan Renminbi | CNY 5.52

2.4.3 PREAUTH COMPLETION & MANUAL PREAUTH COMPLETION


(Without TIP)
NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437
5 Entry Code SWIPE SWIPE/DIP/RF
6 TRANSACTION TYPE SALE
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Total Amount 25,000
14 Total Amount after loyalty 25,250 For Loyalty
15 Rate 1 IDR = CNY 0.0005521 For DCC
16 Margin 1% For DCC
17 Currency Yuan Renminbi For DCC
18 Paid CNY 5.52 For DCC
Ex)

Technical Specification Document Printed on Mei 19, 2022


56
00000001|000000000001|
MASTERCARD|553210*********5437|DIP|
PREAUTH COMPL |000001|000001|06Mar2012|10:52:28|
123456789012|123456|5,000

2.4.4 PREAUTH COMPLETION & MANUAL PREAUTH COMPLETION (With


TIP)
NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437
5 Entry Code SWIPE SWIPE/DIP/RF
6 TRANSACTION TYPE SALE
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Sale Amount 20,000
14 TIP 5,000 In case of FARE NFARE
tran, its None Fare amount
instead of TIP.
15 Total Amount 25,000 13+14
16 Total Amount after loyalty 25,250 For Loyalty
17 Rate 1 IDR = CNY 0.0005521 For DCC
18 Margin 1% For DCC
19 Currency Yuan Renminbi For DCC
20 Paid CNY 5.52 For DCC
Ex)
00000001|000000000001|
MASTERCARD|553210*********5437|DIP|
PREAUTH COMPL|000001|000001|06Mar2012|10:52:28|
123456789012|123456|5,000|5,00|5,500

2.4.5 PREAUTH & MANUAL PREAUTH


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437
5 Entry Code SWIPE SWIPE/DIP/RF
6 TRANSACTION TYPE SALE
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001

Technical Specification Document Printed on Mei 19, 2022


57
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Total Amount 25,000
Ex)
00000001|000000000001|
MASTERCARD|553210*********5437|DIP|
PREAUTH|000001|000001|06Mar2012|10:52:28|
123456789012|123456|5,000

2.4.6 REFUND & MANUAL REFUND


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437
5 Entry Code SWIPE SWIPE/DIP/RF
6 TRANSACTION TYPE SALE
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Total Amount 25,000
14 Rate 1 IDR = CNY 0.0005521 For DCC
15 Margin 1% For DCC
16 Currency Yuan Renminbi For DCC
17 Paid CNY 5.52 For DCC

2.4.7 TIP Adjust


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437
5 Entry Code SWIPE SWIPE/DIP/RF
6 TRANSACTION TYPE SALE
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Sale Amount 20,000

Technical Specification Document Printed on Mei 19, 2022


58
14 TIP 5,000
15 Total Amount 25,000 13+14
Ex)
00000001|000000000001|
MASTERCARD|553210*********5437|DIP|
SALE|000001|000001|06Mar2012|10:52:28|
123456789012|123456|5,000|5,00|5,500

2.4.8 VOID
NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437
5 Entry Code SWIPE SWIPE/DIP/RF
6 TRANSACTION TYPE SALE
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Sale Amount 20,000
14 Cashout 5,000
15 Total Amount 25,000 13+14
Ex)
00000001|000000000001|
MASTERCARD|553210*********5437|SWIPE|
VOID SALE|000001|000001|06Mar2012|10:52:28|
123456789012|123456|5,000

2.4.9 MENU REPRINT


Return same format of select menu

2.4.10 LAST RESPONSE/LAST TRANSACTION


Return same format of last response.

2.4.11 ANY TRANSACTION


Return same format of any response.

2.4.12 LAST SETTLEMENT


Return same format of last settlement.

2.4.13 MENU REPORT


Return same format of select menu.

Technical Specification Document Printed on Mei 19, 2022


59
2.4.14 AUDIT REPORT (With RedeemPoint+Preauth+Preauth Comp+Fare Non
Fare+SmartSpending)
NO Data Name Example Note
1 Bank Name MANDIRI MANDIRI/BNI/BRI/BTN
2 Transaction Name AUDIT REPORT AUDIT/SUMMARY
3 Card Type DEBIT DEBIT/CREDIT/NPG
4 Transaction SALE
5 Count 0001
6 Amount 10,000
7 Transaction VOID
8 Count 0000
9 Amount 0
10 Transaction REFUND
11 Count 0000
12 Amount 0
13 Transaction FARE
14 Count 0000
15 Amount 0
16 Transaction NON FARE
17 Amount 0
18 Transaction VOID FARE
19 Count 0000
20 Amount 0
21 Transaction VOID NFARE
22 Amount 0
23 Transaction REDEEM
24 Count 0001
25 Amount 1,000
26 Transaction VOID REDEEM
27 Count 0000
28 Amount 0
29 Card Type CREDIT DEBIT/CREDIT/NPG
30 Transaction SALE
31 Count 0001
32 Amount 15,000
33 Transaction VOID
34 Count 0000
35 Amount 0
36 Transaction REFUND
37 Count 0000
38 Amount 0
39 Transaction FARE
40 Count 0000
41 Amount 0
42 Transaction NON FARE
43 Amount 0

Technical Specification Document Printed on Mei 19, 2022


60
44 Transaction VOID FARE
45 Count 0000
46 Amount 0
47 Transaction VOID NFARE
48 Amount 0
49 Transaction PREAUTH
50 Count 0001
51 Amount 5,000
52 Transaction PREAUTHCOMP
53 Count 0000
54 Amount 0
55 Transaction REDEEM
56 Count 0001
57 Amount 1,000
58 Transaction VOID REDEEM
59 Count 0000
60 Amount 0
61 Card Type NPG DEBIT/CREDIT/NPG
62 Transaction SALE
63 Count 0001
64 Amount 10,000
65 Transaction VOID
66 Count 0000
67 Amount 0
68 Transaction REFUND
69 Count 0000
70 Amount 0
71 Transaction FARE
72 Count 0000
73 Amount 0
74 Transaction NON FARE
75 Amount 0
76 Transaction VOID FARE
77 Count 0000
78 Amount 0
79 Transaction VOID NFARE
80 Amount 0
81 Transaction REDEEM
82 Count 0001
83 Amount 1,000
84 Transaction VOID REDEEM
85 Count 0000
86 Amount 0
Ex)

Technical Specification Document Printed on Mei 19, 2022


61
MANDIRI|AUDIT
REPORT|DEBIT|SALE|0001|10,000|VOID|0000|0|REFUND|0000|0|FARE|0000|0|NON
FARE|0|VOID FARE|0000|0|VOID NFARE|0|REDEEM|0001|1,000|VOID
REDEEM|0000|0|CREDIT|SALE|0001|10,000|VOID|0000|0|REFUND|0000|0|FARE|0000|0|N
ON FARE|0|VOID FARE|0000|0|VOID NFARE|0|PREAUTH|0001|5,000|PREAUTH
COMP|0000|0|REDEEM|0001|1,000|VOID
REDEEM|0000|0|NPG|SALE|0001|10,000|VOID|0000|0|REFUND|0000|0|FARE|0000|0|NON
FARE|0|VOID FARE|0000|0|VOID NFARE|0|REDEEM|0001|1,000|VOID REDEEM|0000|0l

2.4.15 SUMMARY REPORT (With RedeemPoint+Preauth+Preauth Comp+Fare


Non Fare+SmartSpending)
NO Data Name Example Note
1 Bank Name MANDIRI MANDIRI/BNI/BRI/BTN
2 Transaction Name SUMMARY REPORT AUDIT/SUMMARY
3 Card Type DEBIT DEBIT/CREDIT/NPG
4 Transaction SALE
5 Count 0001
6 Amount 10,000
7 Transaction VOID
8 Count 0000
9 Amount 0
10 Transaction REFUND
11 Count 0000
12 Amount 0
13 Transaction FARE
14 Count 0000
15 Amount 0
16 Transaction NON FARE
17 Amount 0
18 Transaction VOID FARE
19 Count 0000
20 Amount 0
21 Transaction VOID NFARE
22 Amount 0
23 Transaction REDEEM
24 Count 0001
25 Amount 1,000
26 Transaction VOID REDEEM
27 Count 0000
28 Amount 0
29 Card Type CREDIT DEBIT/CREDIT/NPG
30 Transaction SALE
31 Count 0001
32 Amount 15,000
33 Transaction VOID
34 Count 0000
35 Amount 0

Technical Specification Document Printed on Mei 19, 2022


62
36 Transaction REFUND
37 Count 0000
38 Amount 0
39 Transaction FARE
40 Count 0000
41 Amount 0
42 Transaction NON FARE
43 Amount 0
44 Transaction VOID FARE
45 Count 0000
46 Amount 0
47 Transaction VOID NFARE
48 Amount 0
49 Transaction PREAUTH
50 Count 0001
51 Amount 5,000
52 Transaction PREAUTHCOMP
53 Count 0000
54 Amount 0
55 Transaction REDEEM
56 Count 0001
57 Amount 1,000
58 Transaction VOID REDEEM
59 Count 0000
60 Amount 0
61 Card Type NPG DEBIT/CREDIT/NPG
62 Transaction SALE
63 Count 0001
64 Amount 10,000
65 Transaction VOID
66 Count 0000
67 Amount 0
68 Transaction REFUND
69 Count 0000
70 Amount 0
71 Transaction FARE
72 Count 0000
73 Amount 0
74 Transaction NON FARE
75 Amount 0
76 Transaction VOID FARE
77 Count 0000
78 Amount 0
79 Transaction VOID NFARE
80 Amount 0
81 Transaction REDEEM
82 Count 0001
83 Amount 1,000

Technical Specification Document Printed on Mei 19, 2022


63
84 Transaction VOID REDEEM
85 Count 0000
86 Amount 0
Ex)
MANDIRI|SUMMARY
REPORT|DEBIT|SALE|0001|10,000|VOID|0000|0|REFUND|0000|0|FARE|0000|0|NON
FARE|0|VOID FARE|0000|0|VOID NFARE|0|REDEEM|0001|1,000|VOID
REDEEM|0000|0|CREDIT|SALE|0001|10,000|VOID|0000|0|REFUND|0000|0|FARE|0000|0|N
ON FARE|0|VOID FARE|0000|0|VOID NFARE|0|PREAUTH|0001|5,000|PREAUTH
COMP|0000|0|REDEEM|0001|1,000|VOID
REDEEM|0000|0|NPG|SALE|0001|10,000|VOID|0000|0|REFUND|0000|0|FARE|0000|0|NON
FARE|0|VOID FARE|0000|0|VOID NFARE|0|REDEEM|0001|1,000|VOID REDEEM|0000|0l

2.4.16 SETTLEMENT
NO Data Name Example Note
1 Status Settlement 1 Always 1
2 Host MANDIRI
3 Terminal ID 00000001
4 Merchant ID 7100000000000001
5 Batch # 000002
6 Transaction Date 06 Mar 2017
7 Transaction Time 10:52:33
8 Grand Total GRAND TOTAL
9 Total Sale Count 3
10 Total Sale Amount 50,000
11 Debit Count Transaction 1
12 Debit Amount Transaction 10,000
13 Credit Count Transaction 1
14 Credit Amount Transaction 20,000
15 NPG Count Transaction 1
16 NPG Amount Transaction 20,000
17 Transaction PREPAID
18 Prepaid Sale Count 0
19 Prepaid Sale Amount 0
20 Prepaid Topup Count 0
21 Prepaid Topup Amount 0
22 Transaction VOID
23 Total Count 2
24 Total Amount 20,000
25 Transaction REFUND
26 Total Count 2
27 Total Amount 20,000
28 Transaction PREAUTH
29 Total Count 2
30 Total Amount 20,000
Ex)

Technical Specification Document Printed on Mei 19, 2022


64
|1|HOST:
MANDIRI|0000001|710000000000001|0000002|06 Mar
2017|10:52:33|GRAND
TOTAL|3|50000|1|10000|1|20000|1|20000|PREPAID
|0|0|0|0|VOID|2|20000|REFUND|2|20000|PREAUTH|2|20000

2.4.17 CHECK PAPER


NO Data Name Example Note
1 RESP ECHO TEST SUCCESS
2 DATE 2017-08-10
3 TIEM 09:48:07
4 EDC TYPE VX250
5 APP NAME MTI
6 VERSION VE0017101
Ex)
00-PAPER IS PRESENT|2016-02-22|09:48:07|IWL220|MTI
IGO117101

2.4.18 CARD INFO


NO Data Name Example Note
1 CARD TYPE MASTER CARD
2 PAN 553210**********5437
3 Entry Mode SWIPE SWIPE/DIP/RF
4 TRACK 1 TEST CARD

2.4.19 ECHO TEST


NO Data Name Example Note
1 RESP ECHO TEST SUCCESS
2 EDC TYPE VX250
3 APP NAME MTI
4 VERSION VE0017101

2.4.20 CARD INFO+REGULAR


CARD INFO
NO Data Name Example Note
1 CARD TYPE MASTER CARD
2 PAN 553210**********5437
3 Entry Mode SWIPE SWIPE/DIP/RF
4 TRACK 1 TEST CARD

REGULAR
NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437

Technical Specification Document Printed on Mei 19, 2022


65
5 Entry Code SWIPE SWIPE/DIP/RF
6 TRANSACTION TYPE SALE
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Sale Amount 20,000
14 TIP 5,000 In case of FARE NFARE
tran, its None Fare amount
instead of TIP.
15 Total Amount 25,000 13+14
16 Total Amount after loyalty 25,250 For Loyalty
17 Rate 1 IDR = CNY 0.0005521 For DCC
18 Margin 1% For DCC
19 Currency Yuan Renminbi For DCC
20 Paid CNY 5.52 For DCC

2.4.21 MENU LINKAJA


Return same format of select menu

2.4.22 LINKAJA PRINT QR


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Pay Type EMONEY
4 Transaction Date 06 Mar 2017
5 LinkPay ID 936009**********
6 Transaction Time 10:52:33
7 Acquirer LINKAJA
8 Batch Number 000001
9 Transaction Number 112233445566
10 LinkAja MID 000070000000570
11 LinkAja RefNum 7C5409UQXQ
12 Sale Amount 20,000
Ex)
00000001|7100000000000001|
EMONEY |06 Mar 2017|SWIPE|
TARIKTUNAI|000001|000001|06Mar2012|936009**********|
10:52:33| LINKAJA
|000001|112233445566|000070000000570|7C5409UQXQ|20,000

2.4.23 LINKAJA LAST PRINT


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001

Technical Specification Document Printed on Mei 19, 2022


66
3 Pay Type EMONEY
4 Transaction Date 06 Mar 2017
5 LinkPay ID 936009**********
6 Transaction Time 10:52:33
7 Acquirer LINKAJA
8 Batch Number 000001
9 Transaction Number 112233445566
10 LinkAja MID 000070000000570
11 LinkAja RefNum 7C5409UQXQ
12 Sale Amount 20,000
Ex)
00000001|7100000000000001|
EMONEY |06 Mar 2017|SWIPE|
TARIKTUNAI|000001|000001|06Mar2012|936009**********|
10:52:33| LINKAJA
|000001|112233445566|000070000000570|7C5409UQXQ|20,000

2.4.24 LINKAJA ANY PRINT


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Pay Type EMONEY
4 Transaction Date 06 Mar 2017
5 LinkPay ID 936009**********
6 Transaction Time 10:52:33
7 Acquirer LINKAJA
8 Batch Number 000001
9 Transaction Number 112233445566
10 LinkAja MID 000070000000570
11 LinkAja RefNum 7C5409UQXQ
12 Sale Amount 20,000
Ex)
00000001|7100000000000001|
EMONEY |06 Mar 2017|SWIPE|
TARIKTUNAI|000001|000001|06Mar2012|936009**********|
10:52:33| LINKAJA
|000001|112233445566|000070000000570|7C5409UQXQ|20,000

2.4.25 MENU QRIS DOMESTIK


Return same format of select menu

2.4.26 QRIS Generate


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Nama Acquirer MANDIRI
4 Merc PAN 93600000000000573

Technical Specification Document Printed on Mei 19, 2022


67
5 Nama Issuer QRTEST9360
6 Transaction Name QRIS PAY
7 Status Transaksi SUKSES
8 Reff No 208313192866
9 Transaction Date 24 Mar 2022
10 Transaction Time 10:52:33
11 Nama Customer JOKOWI
12 Customer PAN 936000D1556900000
13 Reff ID 2083131392423
14 Sale Amount 20,000
Ex)
00000001|7100000000000001|
MANDIRI 93600000000000573| QRTEST9360| QRIS
PAY | SUKSES |208313192866| 24 Mar
2022|10:52:33|
JOKOWI|936000D1556900000|2083131392423|20,000

2.4.27 QRIS Inquiry Stat Last


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Nama Acquirer MANDIRI
4 Merc PAN 93600000000000573
5 Nama Issuer QRTEST9360
6 Transaction Name QRIS PAY
7 Status Transaksi SUKSES
8 Reff No 208313192866
9 Transaction Date 24 Mar 2022
10 Transaction Time 10:52:33
11 Nama Customer JOKOWI
12 Customer PAN 936000D1556900000
13 Reff ID 2083131392423
14 Sale Amount 20,000
Ex)
00000001|7100000000000001|
MANDIRI 93600000000000573| QRTEST9360| QRIS
PAY | SUKSES |208313192866| 24 Mar
2022|10:52:33|
JOKOWI|936000D1556900000|2083131392423|20,000

2.4.28 QRIS Inquiry Stat Any


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Nama Acquirer MANDIRI
4 Merc PAN 93600000000000573

Technical Specification Document Printed on Mei 19, 2022


68
5 Nama Issuer QRTEST9360
6 Transaction Name QRIS PAY
7 Status Transaksi SUKSES
8 Reff No 208313192866
9 Transaction Date 24 Mar 2022
10 Transaction Time 10:52:33
11 Nama Customer JOKOWI
12 Customer PAN 936000D1556900000
13 Reff ID 2083131392423
14 Sale Amount 20,000
Ex)
00000001|7100000000000001|
MANDIRI 93600000000000573| QRTEST9360| QRIS
PAY | SUKSES |208313192866| 24 Mar
2022|10:52:33|
JOKOWI|936000D1556900000|2083131392423|20,000

2.4.29 QRIS Refund


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Nama Acquirer MANDIRI
4 Merc PAN 93600000000000573
5 Nama Issuer QRTEST9360
6 Transaction Name QRIS REFUND
7 Status Transaksi SUKSES
8 Reff No 208313192866
9 Transaction Date 24 Mar 2022
10 Transaction Time 10:52:33
11 Nama Customer JOKOWI
12 Customer PAN 936000D1556900000
13 Reff ID 2083131392423
14 Sale Amount 20,000
Ex)
00000001|7100000000000001|
MANDIRI 93600000000000573| QRTEST9360| QRIS
REFUND| SUKSES |208313192866| 24 Mar
2022|10:52:33|
JOKOWI|936000D1556900000|2083131392423|20,000

2.4.30 MANDIRI TARIK TUNAI


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437

Technical Specification Document Printed on Mei 19, 2022


69
5 Entry Code SWIPE SWIPE/DIP/RF
6 TRANSACTION TYPE SALE
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Sale Amount 20,000
14 Cashout 5,000
15 Total Amount 25,000 13+14
16 Total Amount after loyalty 25,250 For Loyalty
17 Pin Status PIN
Ex)
00000001|000000000001|
MASTERCARD|553210*********5437|SWIPE|
TARIKTUNAI|000001|000001|06Mar2012|10:52:28|
123456789012|123456|20,000|50,000|70,000

2.4.31 MENU POWERBUY


Return same format of select menu

2.4.32 POWERBUY/ INSTALLMENT (3,6,9,12,18,24,36,Others) MON


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437
5 Entry Code SWIPE SWIPE/DIP/RF
6 TRANSACTION TYPE POWERBUY 03
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Total Amount 25,000

2.4.33 MENU PREPAID MANDIRI


Return same format of select menu

2.4.34 MANDIRI PREPAID CHECK SALDO


NO Data Name Example Note
1 Transaction Name CHECK BALANCE
2 Total Amount Rp 1000

Technical Specification Document Printed on Mei 19, 2022


70
2.4.35 MANDIRI PREPAID SALE
NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 PAN 553210************5437
4 Entry Code TAP
5 TRANSACTION TYPE PREPAID SALE
6 BATCH NUMBER 000001
7 TRACE NUMBER 000001
8 Transaction Date 06 Mar 2017
9 Transaction Time 10:52:33
10 Approval Code 123456
11 Saldo Awal 25,000
12 Total Amount 1,000
13 Saldo Akhir 24,000

2.4.36 MANDIRI PREPAID TOPUP


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437
5 Entry Code SWIPE SWIPE/DIP/RF
6 TRANSACTION TYPE TOPUP
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Top Up Amount 25,000
14 Charga Amount 0
15 Prepaid Amount 1,000
16 Saldo Awal 25,000
17 Saldo Akhir 26,000

2.4.37 MANDIRI PREPAID UPDATE BALANCE


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Entry Mode TAP
4 Transaction Type UPDATE BALANCE
5 Batch Number 000001
6 Trace Number 000001
7 Transaction Date 06 Mar 2017
8 Transaction Time 10:52:33
9 Approval Code 123456

Technical Specification Document Printed on Mei 19, 2022


71
10 Saldo Awal 10,000
11 Update Saldo 1,000
12 Saldo Akhir 11,000

2.4.38 MANDIRI PREPAID HISTORY TRANSACTION


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Transaction Type HISTORY TRANS
4 Transaction Date 06 Mar 2017
5 Transaction Time 10:52:33
6 Card Number 6280312011112200
7 Hash 112233445566
8 Transaction Type T T = Topup, S = Sale, U =
Update Balance
9 Date 170422
10 Time 00:21:29
11 TID 73000923
12 Amount 500
13 Balance 10,500

2.4.39 BRI TARIK TUNAI


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 CARD TYPE MASTERCARD
4 PAN 553210************5437
5 Entry Code DIP SWIPE/DIP/RF
6 TRANSACTION TYPE SALE
7 BATCH NUMBER 000001
8 TRACE NUMBER 000001
9 Transaction Date 06 Mar 2017
10 Transaction Time 10:52:33
11 Reference # 123456789012
12 Approval Code 123456
13 Sale Amount 20,000
14 Cashout 5,000
15 Admin Fee 0
16 Total Amount 25,000
17 PIN Status PIN

2.4.40 MENU BRIZZI


Return same format of select menu

Technical Specification Document Printed on Mei 19, 2022


72
2.4.41 BRIZZI INIT SAM
NO Data Name Example Note
1 Status INITIALIZE OK

2.4.42 INFO SALDO BRIZZI


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Brizzi_Card_No 6013501000500958
4 Transaction Type INFO SALDO
5 Transaction Date 15 Jan 2021
6 Transaction Time 10:52:33
7 Saldo Akhir 25,000

2.4.43 BRIZZI PURCHASE


NO Data Name Example Note
1 No Kartu BRIZZI 60135**********2294
2 TRANSACTION TYPE PAYMENT BRIZZI
3 TRACE NUMBER 000001
4 Transaction Date 30/11/2020
5 Transaction Time 10:52:33
6 Approval Code 123456
7 Total Amount 1,000
8 Saldo Akhir 25,000

2.4.44 TOPUP ONLINE BRIZZI


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Brizzi_Card_No 6013501000500958
4 Transaction Type TOPUP ONLINE
5 Trace_No 000117
6 Reff_No 000003969257
7 Transaction Date 15 Jan 2021
8 Transaction Time 10:52:33
9 Total Amount 10
10 Saldo Akhir 998.678

2.4.45 SALDO TERTUNDA BRIZZI


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Trace Number 000117
4 Reff_No 000003969257
5 App Code 123456
6 Brizzi_Card_No 6013501000500958
7 Transaction Type SALDO TERTUNDA

Technical Specification Document Printed on Mei 19, 2022


73
8 Transaction Date 15 Jan 2021
9 Transaction Time 10:52:33
10 Total Amount 10

2.4.46 TOPUP TERTUNDA BRIZZI


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Brizzi_Card_No 6013501000500958
4 Transaction Type TOPUP TERTUNDA
5 Trace Number 000117
6 Reff_No 000003969257
7 App Code 123456
8 Transaction Date 15 Jan 2021
9 Transaction Time 10:52:33
10 Total Amount 10

2.4.47 UPDATE SALDO BRIZZI


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Brizzi_Card_No 6013501000500958
4 Transaction Type UPDATE SALDO
5 Trace Number 000117
6 Reff_No 000003969257
7 Transaction Date 15 Jan 2021
8 Transaction Time 10:52:33
9 App Code 123456
10 Saldo Awal 10,000
11 Amount Update 1,000
12 Amount Deposit 0
13 Total Amount 11,000

2.4.48 VOID BRIZZI


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Brizzi_Card_No 6013501000500958
4 Transaction Type VOID BRIZZI
5 Trace Number 000117
6 Reff_No 000003969257
7 Transaction Date 15 Jan 2021
8 Transaction Time 10:52:33
10 Amount 10,000
13 Total Amount 11,000

Technical Specification Document Printed on Mei 19, 2022


74
2.4.49 INFO KARTU BRIZZI
NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Brizzi_Card_No 6013501000500958
4 Transaction Type INFO KARTU
5 Transaction Date 15 Jan 2021
6 Cabang BRI 3112
7 Status Kartu Aktif

2.4.50 PRINT LOG BRIZZI


NO Data Name Example Note
1 Status SUCCESS

2.4.51 SETTLEMENT BRIZZI


NO Data Name Example Note
1 Transaction Type SETTLEMENT BRIZZI
2 TID 10080032
3 MID 000001000001178
4 Date 07/04/2022
5 Time 11:18:51
6 Batch 000048
7 Transaction Name PEMBAYARAN
8 Count Transaction 0001
9 Amount Transaction 13

2.4.52 MENU REPRINT BRIZZI


Return same format of select menu

2.4.53 LAST TRANSACTION BRIZZI


Return same format of sales draft

2.4.54 ANY TRANSACTION BRIZZI


Return same format of sales draft

2.4.55 MENU REPORT BRIZZI


Return same format of select menu

2.4.56 SUMMARY REPORT BRIZZI


NO Data Name Example Note
1 TID 10080032
2 MID 000001000001178
3 Transaction Type SUMMARY REPORT
4 Transaction Name PAYMENT
5 Count Transaction 0002
6 Amount Transaction 30

Technical Specification Document Printed on Mei 19, 2022


75
7 Transaction Name TOPUP ONLINE
8 Count Transaction 0001
9 Amount Transaction 19
10 Transaction Name Topup Tertunda
11 Count Transaction 0001
12 Amount Transaction 100

2.4.57 DETAIL REPORT BRIZZI


NO Data Name Example Note
1 TID 10080032
2 MID 000001000001178
3 Date 07/04/2022
4 Time 10:58:46
5 No Kartu 601350100000000000
6 Trace 000475
7 Transaction Name VOID BRIZZI
8 Amount 333

2.4.58 MENU CICILAN BRING


Return same format of select menu

2.4.59 CICILAN BRING (3,6,9,12,18,24,36) MON


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Card Type MASTERCARD
4 PAN 553210************5437
5 Entry Code SWIPE SWIPE/DIP/RF
6 Cardholder Name DONOFANG
7 Transaction Name CICILAN 3
8 Batch Number 000001
9 Trace Number 000001
10 Transaction Date 06 Mar 2017
11 Transaction Time 10:52:33
12 Reference # 123456789012
13 Approval Code 123456
14 Total Amount 30,000
15 Months 3
16 Monthly Amount 10,000

2.4.60 TARIK TUNAI BNI


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Card Type MASTERCARD
4 PAN 553210************5437
5 Entry Mode SWIPE

Technical Specification Document Printed on Mei 19, 2022


76
6 Transaction Type TARIK TUNAI
7 Batch Number 000001
8 Trace Number 000001
9 Transaction Date 15 Jan 2021
10 Transaction Time 10:52:33
11 Reff Number 123456789012
12 Approval Code 123456
13 Amount 25,000
14 Pint Status PIN

2.4.61 MENU TAPCASH


NO Data Name Example Note
1 Transaction Type ADMIN TAPCASH
2 Status SUKSES

2.4.62 BNI BALANCE INQUIRY TAPCASH


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Card Type MASTERCARD
4 Card Number 6225123456781234
5 Transaction Type BALANCE INQUIRY
6 Transaction Date 15 Jan 2021
7 Transaction Time 10:52:33
8 Saldo Akhir 25,000

2.4.63 BNI PAYEMENT TAPCASH


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Card Type TAPCASH
4 Card Number 6225123456781234
5 Transaction Type PAYMENT BNI
6 Batch No 000059
7 Trace No 000591
8 Transaction Date 15 Jan 2021
9 Transaction Time 10:52:33
10 PTC 000004
11 Appr Code 86BEB4
12 Certificate Date 0009FF3612004615
13 Counter Data 0001400000670000
14 Transaction Header 01FFFF63358CE81
15 Sign Certificate 86BEB4C07C25224A6
16 Previous Amount 655.168
17 Amount 10
18 Current Amount 655.158

Technical Specification Document Printed on Mei 19, 2022


77
2.4.64 BNI TOPUP TAPCASH
NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Card Number 6225123456781234
4 Entry Mode DIP
5 Transaction Type TOPUP BNI
6 Batch No 000059
7 Trace No 000591
8 Transaction Date 15 Jan 2021
9 Transaction Time 10:52:33
10 PTC 000004
11 Appr Code 86BEB4
12 Certificate Date 0009FF3612004615
13 Counter Data 0001400000670000
14 Transaction Header 01FFFF63358CE81
15 Sign Certificate 86BEB4C07C25224A6
16 CAN 01FFFF63358CE81
17 Previous Amount 655.168
18 Amount 10
19 Current Amount 655.158

2.4.65 BNI UPDATE BALANCE TAPCASH


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Card Type MASTERCARD
4 Card Number 6225123456781234
5 Transaction Type UPDATE BALANCE
6 Batch Number 000001
7 Trace Number 000001
8 Transaction Date 15 Jan 2021
9 Transaction Time 10:52:33
10 Reff Number / PTC 123456789012
11 Approval Code 123456
12 Certificate Data 1234567890123456
13 Counter Data 1234567890123456
14 Transaction Header 1234567890123456
15 Sign Certifitace 1234567890123456
16 Saldo Sebelum 20,000
17 Amount 5,000
18 Saldo Akhir 25,000

2.4.66 BNI STATEMENT PRINT TAPCASH


NO Data Name Example Note
1 Transaction Type STATEMENT PRINT
2 Status SUKSES

Technical Specification Document Printed on Mei 19, 2022


78
2.4.67 BNI SETTLEMENT TAPCASH
NO Data Name Example Note
1 Transaction Type SETTLEMENT TAPCASH
2 Status SUKSES

2.4.68 BNI REPRINT TAPCASH


NO Data Name Example Note
1 Transaction Type REPRINT TAPCASH
2 Transaction Date 15 Jan 2021
3 Transaction Time 10:52:33
4 Status SUKSES

2.4.69 BNI REPORT TAPCASH


NO Data Name Example Note
1 Transaction Type REPORT TAPCASH
2 Transaction Date 15 Jan 2021
3 Transaction Time 10:52:33
4 Status SUKSES

2.4.70 BNI ADMIN TAPCASH


NO Data Name Example Note
1 Transaction Type ADMIN TAPCASH
2 Status SUKSES

2.4.71 BNI LOGON TAPCASH


NO Data Name Example Note
1 Transaction Type LOGON TAPCASH
2 Status SUKSES

2.4.72 BNI MARRY TAPCASH


NO Data Name Example Note
1 Status SUCCESSFULL

2.4.73 BNI UNMARRY TAPCASH


NO Data Name Example Note
1 Status SUCCESSFULL

2.4.74 MENU SMARTSPENDING BNI


Return same format of select menu

2.4.75 BNI SMARTSPENDING/CICILAN (3,6,9,12,18,24,30,36) MON


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001

Technical Specification Document Printed on Mei 19, 2022


79
3 Card Type MASTERCARD
4 PAN 553210************5437
5 Entry Code DIP SWIPE/DIP/RF
6 Cardholder Name DONOFANG
7 Transaction Name SMARTSPENDING 3
8 Batch Number 000001
9 Trace Number 000001
10 Transaction Date 06 Mar 2017
11 Transaction Time 10:52:33
12 Reference # 123456789012
13 Approval Code 123456
14 Total Amount 30,000
15 Plan 1
16 Months 3
17 Monthly Amount 10,000

2.4.76 TARIK TUNAI BTN


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 Card Type MASTERCARD
4 PAN 553210************5437
5 Entry Mode SWIPE
6 Transaction Type TARIK TUNAI
7 Batch Number 000001
8 Trace Number 000001
9 Transaction Date 15 Jan 2021
10 Transaction Time 10:52:33
11 Reff Number 123456789012
12 Approval Code 123456
13 Amount 25,000
14 Pint Status PIN

2.4.77 MAIN MENU LOYALTY


Return same format of select menu

2.4.78 SUBMENU LOYALTY MANDIRI


Return same format of select menu

2.4.79 MANDIRI REDEMPTION


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 PAN 553210************5437
4 Entry Mode DIP
5 Transaction Type POINT REDEMPTION
6 Ket. Poin Livin Poin

Technical Specification Document Printed on Mei 19, 2022


80
7 Ket. Poin <LP>
8 Redeemption -1

2.4.80 MANDIRI CARD BALANCE


NO Data Name Example Note
1 Terminal ID 00000001
2 Merchant ID 7100000000000001
3 PAN 553210************5437
4 Entry Mode DIP
5 Transaction Type CARD BALANCE
6 Ket. Poin Livin Poin
7 Ket. Poin <LP>
8 New Balance 14.974

2.4.81 MANDIRI GET CONFIG


NO Data Name Example Note
1 Status SUCCESS

2.4.82 MANDIRI PING LOYALTY


NO Data Name Example Note
1 Status SUCCESS

2.4.83 MANDIRI GET ENTITY


NO Data Name Example Note
1 Status SUCCESS

2.4.84 MANDIRI LOYALTY BNI


NO Data Name Example Note
1 Status OK|SUCCESS

2.4.85 BNI INQUIRY POINT LOYALTY


NO Data Name Example Note
1 Status OK|SUCCESS

2.4.86 BNI PARTIAL POINT LOYALTY


NO Data Name Example Note
1 Status OK|SUCCESS

2.4.87 BNI FULL POINT LOYALTY


NO Data Name Example Note
1 Status OK|SUCCESS

Technical Specification Document Printed on Mei 19, 2022


81
3. SAMPLE
3.1 VISUAL C#

‘Declaration
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_ReqEchoTest();
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_COMCreate();
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_COMStatus();
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_ServiceTerminate();
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_GetResponseData(StringBuilder ResData);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_Purchase(StringBuilder amount, StringBuilder add_amount,
StringBuilder optcode1, StringBuilder optcode2, StringBuilder optcode3, StringBuilder
optcode4, StringBuilder optcode5, StringBuilder optcode6, StringBuilder optcode7,
StringBuilder optcode8, StringBuilder optcode9, StringBuilder optcode10);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_GetResponseCode(StringBuilder ResCode);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_Void(StringBuilder tracenumber);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_Refund(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_Settlement();
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_ManualPurchase(StringBuilder amount, StringBuilder
addamount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_Preauth(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_ManualPreauth(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_PreauthCompletion(StringBuilder amount, StringBuilder
addamount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_ManualPreauthCompletion(StringBuilder amount,
StringBuilder addamount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_ManualRefund(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_TIPAdjust(StringBuilder trace, StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_TarikTunai(StringBuilder amount, StringBuilder cashout);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_ReqCardInfo();
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_ReqLastReSend();
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_CheckPaper();
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_ECASH(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]

Technical Specification Document Printed on Mei 19, 2022


82
publicstaticexternint POS4EDC_PREPAID(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_TopupMandiri(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_TopupATMB(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_INSTALLMENT3MON(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_INSTALLMENT6MON(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_INSTALLMENT12MON(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_INSTALLMENT18MON(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_INSTALLMENT24MON(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_INSTALLMENT36MON(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_BrizziPurchase(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_GenQRIS(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_RefundQRIS(StringBuilder amount);
[DllImport("POS4CAT_Ctl.dll")]
publicstaticexternint POS4EDC_CardInfoRegular();

‘Function Execute
privatevoid Sale_Click(object sender, EventArgs e)
{
int ret;

StringBuilder strResData = newStringBuilder(1024);


StringBuilder strResCode = newStringBuilder(10);

StringBuilder s_amount = newStringBuilder(textAmount.Text);


StringBuilder s_addamount = newStringBuilder(textAddamount.Text);
StringBuilder s_optcode1 = newStringBuilder(Opt1.Text);
StringBuilder s_optcode2 = newStringBuilder(Opt2.Text);
StringBuilder s_optcode3 = newStringBuilder(Opt3.Text);
StringBuilder s_optcode4 = newStringBuilder(Opt4.Text);
StringBuilder s_optcode5 = newStringBuilder(Opt5.Text);
StringBuilder s_optcode6 = newStringBuilder(Opt6.Text);
StringBuilder s_optcode7 = newStringBuilder(Opt7.Text);
StringBuilder s_optcode8 = newStringBuilder(Opt8.Text);
StringBuilder s_optcode9 = newStringBuilder(Opt9.Text);
StringBuilder s_optcode10 = newStringBuilder(Opt10.Text);

MSG1.Text = "";
MSG2.Text = "";

ret = POS4EDC_COMCreate();

if (ret == 0)

Technical Specification Document Printed on Mei 19, 2022


83
{

ret = POS4EDC_Purchase(s_amount, s_addamount, s_optcode1, s_optcode2,


s_optcode3, s_optcode4, s_optcode5, s_optcode6, s_optcode7, s_optcode8, s_optcode9,
s_optcode10);

if (ret == 0)
{
ret = POS4EDC_COMStatus();

if (ret == 0)
{
ret = POS4EDC_GetResponseCode(strResCode);

if (ret == 0)
{

if (strResCode.ToString() == "00")
{

ret = POS4EDC_GetResponseData(strResData);

if (ret == 0)
{
//MessageBox.Show(strResData.ToString(), "Approved");
MSG1.Text = "Approved";
MSG2.Text = strResData.ToString();
}
elseif (ret == -1)
{
//MessageBox.Show("Response data is not exist");
MSG1.Text = "Failed";
MSG2.Text = "Response data is not exist";
}
elseif (ret == -2)
{
//MessageBox.Show("There is no such data in service");
MSG1.Text = "Failed";
MSG2.Text = "There is no such data in service";
}
elseif (ret == -3)
{
//MessageBox.Show("Couldnt find data in response messsage");
MSG1.Text = "Failed";
MSG2.Text = "Couldnt find data in response
messsage";
}
else
{
//MessageBox.Show("Unknown error");
MSG1.Text = "Failed";
MSG2.Text = "Unknown error";
}

POS4EDC_ServiceTerminate();
}

Technical Specification Document Printed on Mei 19, 2022


84
else
{
ret = POS4EDC_GetResponseData(strResData);

if (ret == 0)
{
//MessageBox.Show(strResData.ToString(), "Rejected");
//MSG1.Text = "Rejected";
MSG1.Text = "Rejected - " + strResCode.ToString();
MSG2.Text = strResData.ToString();
}
elseif (ret == -1)
{
//MessageBox.Show("Response data is not exist");
MSG1.Text = "Failed";
MSG2.Text = "Response data is not exist";
}
elseif (ret == -2)
{
//MessageBox.Show("There is no such data in service");
MSG1.Text = "Failed";
MSG2.Text = "There is no such data in service";
}
elseif (ret == -3)
{
//MessageBox.Show("Couldnt find data in response messsage");
MSG1.Text = "Failed";
MSG2.Text = "Couldnt find data in response
messsage";
}
else
{
//MessageBox.Show("Unknown error");
MSG1.Text = "Failed";
MSG2.Text = "Unknown error";
}

POS4EDC_ServiceTerminate();
}

}
elseif (ret == -1)
{

//MessageBox.Show("Response data is not exist");


MSG1.Text = "Failed";
MSG2.Text = "Response data is not exist";

}
elseif (ret == -2)
{
//MessageBox.Show("There is no such data in service");
MSG1.Text = "Failed";
MSG2.Text = "There is no such data in service";
}

Technical Specification Document Printed on Mei 19, 2022


85
elseif (ret == -3)
{
//MessageBox.Show("Couldnt find data in response messsage");
MSG1.Text = "Failed";
MSG2.Text = "Couldnt find data in response messsage";
}
else
{
//MessageBox.Show("Unknown error");
MSG1.Text = "Failed";
MSG2.Text = "Unknown error";
}

}
else
{
POS4EDC_ServiceTerminate();
//MessageBox.Show("Error on POS4CAT_COMStatus");
MSG1.Text = "Failed";
MSG2.Text = "Error on POS4CAT_COMStatus";
}

}
else
{
//MessageBox.Show("Error on POS4EDC_Purchase");
MSG1.Text = "Failed";
MSG2.Text = "Error on POS4EDC_Purchase";
}
}
else
{
//MessageBox.Show("COM create error");
MSG1.Text = "Failed";
MSG2.Text = "COM create error";
}

Technical Specification Document Printed on Mei 19, 2022


86
4. INFORMATION FOR ECR DEVELOPER

Step to develop ECR on your POS


1. Make sure COM PORT and Baudrate/Speed in EDC and POS are the same.
2. Change POS4CAT.exe Compatibility to Run as Administrator.
3. Set EDC COM_PORT in POS4CAT.ini
4. Put module ECR (catlog, POS4CAT.exe, pos4cat.ini, POS4CAT_Ctl.dll, Property.dll) to
your folder application.
5. Run your POS application on Run as Administator.

Technical Specification Document Printed on Mei 19, 2022


87

You might also like