Professional Documents
Culture Documents
Message Specification
XML
Message Content
- Procode (processing code)
Code Desc
170000 Purchase Transaction
180000 Payment Transaction
380000 Inquiry Transaction
- Merchant Type
Merchant Type Desc
7011 Point Of Sales
7015 Mobile Transaction
Charge Purchase
Method POST
Additional HTTP Header Format
HTTP Header
Body <request>
Request < procode >170000</ procode >
<amount>10200</amount>
< transdate>1216160510</ transdate>
< stan>123456</reqid>
<merchanttype>7015</ merchanttype >
<cacode>000001</cacode>
<officecode>000001</officecode>
<productcode>XL10</ productcode>
<msisdn>08121190101</ msisdn>
<countertrx>1</countertrx>
< userid >psw</ userid >
< messagehash > f5fb4b0b805cc35106f4749912bb233e0de060db</ messagehash >
</request>
Tag Description:
Tag Max Length Description
procode N(6) Product code
amount N(12) Nilai transaksi penjualan
transdate N(10) Tanggal dan waktu transaksi MMDDhhmmss
stan N(6) System trace audit number
merchanttype N(4) Merchant type/jenis kanal transaksi
cacode N(6) Kode collecting agent
officecode N(6) Kode cabang collecting agent
productcode N(7) Kode produk
msisdn AN(20) No handphone
userid AN(20) User Id (left justified, padded with spaces)
countertrx N(2) Counter transaksi (default 01)
messagehash AN(40) Signature transaksi :
SHA1(productcode
Msisdn
Countertrx
User Id (left justified, padded with spaces)
MD5(password) (an40, left justified, padded with spaces))
rc AN(2) Response code
trxid AN(20) Kode reference kopnus
reffbiller AN(32) Kode reference biller
receipt An(2000) Resi transaksi atau keterangan transaksi gagal
Method POST
Additional HTTP Header Format
HTTP Header
Body <request>
Request < procode>180000</procode>
<amount>0</amount>
< transdate>1216160510</ transdate>
< stan>123456</stan>
<merchanttype>7011</ merchanttype >
<cacode>000001</cacode>
<officecode>000001</officecode>
<productcode>1001000</ productcode>
<custid>5432322200</ custid>
<alternateid>< alternateid >
< userid >ca1</ userid >
</request>
Body
Response <response>
<rc>00</rc>
< procode >180000</ procode >
<amount>10200</amount>
< transdate>2013-12-16 16:05:10</ transdate>
< stan>123456</reqid>
<merchanttype>7011</ merchanttype >
<cacode>000001</cacode>
<officecode>000001</officecode>
<productcode>XL10</ productcode>
<custid>08121190101</ custid>
<alternateid>< alternateid >
< userid >psw</ userid >
<trxid>123456787654356< /trxid>
<reffbiller>1233333334</reffbiller>
<trxtype>< /trxtype >
<name></ name >
<billamount>< /billamount >
<numoftrx>< /numoftrx >
<admcost>< /admcost >
<screen></screen>
</ response>
Payment
Method POST
Additional HTTP Header Format
HTTP Header
Ticketing KAI
Get Schedule
Method POST
Additional HTTP Header Format
HTTP Header
Distibuted to Erinet – Page 10 of 46
Fare
Method POST
Additional HTTP Header Format
HTTP Header
Booking
Method POST
Additional HTTP Header Format
HTTP Header
</dataseat>
</ response>
Payment
Method POST
Additional HTTP Header Format
HTTP Header
Body <request>
Request < procode >160000</procode>
< stan>123456</stan>
<productcode>5005000</ productcode>
< trxid > </ trxid >
<bookcode></bookcode>
<paytype></ paytype >
< userid >psw</ userid >
< terminaldate >2013-12-16 16:05:10</ terminaldate >
<cacode>000001</cacode>
<messagehash > f5fb4b0b805cc35106f4749912bb233e0de060db</
messagehash >
</request>
Body
Response <response>
<rc>00</rc>
<desc>transaksi berhasil</desc>
< procode >160000</procode>
< stan>123456</stan>
<productcode>5005000</ productcode>
< trxid > </ trxid >
<bookcode></bookcode>
<paytype></ paytype >
< userid >psw</ userid >
< terminaldate >2013-12-16 16:05:10</ terminaldate >
<cacode>000001</cacode>
<messagehash > f5fb4b0b805cc35106f4749912bb233e0de060db</
messagehash >
<screen></screen>
</ response>
Cancel Booking
Method POST
Additional HTTP Header Format
HTTP Header
Body <request>
Request < procode >364000</procode>
< stan>123456</stan>
<productcode>5005000</ productcode>
<trxid> 20141030001000009368</trxid>
<bookcode></bookcode>
< userid >psw</ userid >
< terminaldate >2013-12-16 16:05:10</ terminaldate >
<cacode>000001</cacode>
<messagehash > f5fb4b0b805cc35106f4749912bb233e0de060db</
messagehash >
</request>
</dataseat>
</ response>
Update Seat
Method POST
Additional HTTP Header Format
HTTP Header
Method POST
Additional HTTP Header Format
HTTP Header
Body <request>
Request < procode >360000</ procode>
< stan>123456</stan>
<productcodedepart>5015001</ productcodedepart >
<productcodereturn>5015002</ productcodereturn >
<origincode>CGK </ origincode >
< destcode>DPS </ destcode >
< departdate>20141029</ departdate>
<returndate>20141102</returndate>
<paxadult>2</ paxadult >
<paxchild>1</ paxchild >
<paxinfant>0</ paxinfant >
< userid >psw</ userid >
< terminaldate >2013-12-16 16:05:10</ terminaldate >
<cacode>000001</cacode>
<messagehash > f5fb4b0b805cc35106f4749912bb233e0de060db</
messagehash >
</request>
<trxid> 20141030001000009368</trxid>
<dataschedule>
<trainno>SQV2</ trainno>
<trainname>ARGO LAWU</trainname>
<depdate>20141030</depdate>
<arvdate>20141031</arvdate>
<deptime>1300</deptime>
<arvtime>1900<arvtime>
<datasubclass>
<subclass>A,E,100000</subclass> *
<subclass> B,E,120000</subclass>
</datasubclass>
</dataschedule>
</ response>
Fare
Booking
Payment
Cancel
Retrieve
Distibuted to Erinet – Page 27 of 46
Method POST
Additional HTTP Header Format
HTTP Header
Body <request>
Request <procode>360000</procode>
<stan>123456</stan>
<productcode>5035008</productcode>
<destcountry>MA05110065</destcountry>
<destcity>MA05110755</destcity>
<hotelid>WSMA0201063172</hotelid>
<roomtype>1</roomtype> 1=single, 2=double/twin, 3=triple, 4=quad
<checkin>2015-08-01</checkin>
<checkout>2015-08-04</checkout>
<userid>PSW</userid>
<terminaldate>2015-07-31 14:2:20</terminaldate>
<cacode>000001</cacode>
<messagehash>53e9082c7c59a2df78a753b1f62ca8fd4b3db1bc</messagehash>
</request>
Tag Description
procode Processing code: 380006
stan System Trace Audit Number, uniq number identifikasi setiap transaksi
productcode Product code : 5035008
destcountry Negara tujuan
destcity Kota tujuan
hotelid Hotel id
checkin Tanggal masuk
checkout Tanggal keluar
userid User id transaksi
terminaldate Waktu transaksi PT POS
cacode Collecting agent code, default :
messagehash Key transaksi
rc Response code
desc Keterangan dari response code
hotel Data hotel (repeat)
hotel_id Hotel id
avail Ketersedian hotel
hotelname Nama hotel
rating Rating hotel
room Data kamar (repeat)
roomcode Kode kamar
roomname Nama kamar
price Harga kamar sebelum admin
fee_admin Biaya admin
roomtype Tipe kamar
roomtypename Nama tipe kamar
bftype Breakfast type
roomnight rate Data harga kamar permalam
nightprice Harga per malam
roomseq Urutan kamar
trxid Transaction id Kopnus
Method POST
Additional HTTP Header Format
HTTP Header
</request>
Tag Description
Tag Description
procode Processing code: 180006
stan System Trace Audit Number, uniq number identifikasi setiap transaksi
productcode Product code : 5035008
destcountry Negara tujuan
destcity Kota tujuan
hotelid Hotel id
checkin Tanggal masuk
checkout Tanggal keluar
userid User id PT POS
terminaldate Waktu transaksi PT POS
Travel
Get schedule
Method POST
Additional HTTP Header Format
HTTP Header
Tag Description
procode Processing code: 360000
stan System Trace Audit Number, uniq number identifikasi setiap transaksi
productcode Kode produk
agentcode Kode travel agent
majorsid Kode jurusan travel
departdate Tanggal keberangkatan
userid User id mitra
terminaldate Waktu transaksi mitra
cacode Collecting agent
messagehash Key transaksi
SHA1(procode
Stan
Productcode
Agentcode
Majorsid
Departdate
Userid
Terminaldate
Cacode)
rc response code
price Harga
schedule Jadwal schedule travel
departcode Kode Keberangkatan
departtime Waktu keberangkatan
layoutseat Jumlah kursi dalam satu keberangkatan
availableseat Kursi yang masih tersedia
promoseat Kursi yang mendapatkan promo
promo Jumlah kursi promo
trxid Kode transaksi
Get seat
Method POST
Additional HTTP Header Format
HTTP Header
Tag Description
Tag Description
procode Processing code: 367000
stan System Trace Audit Number, uniq number identifikasi setiap transaksi
productcode Kode Produk
agentcode Kode travel agent
majorscode Kode jurusan travel
departdate Tanggal keberangkatan
layoutseat Jumlah kursi dalam satu keberangkatan
trxid Kode transaksi
userid User id mitra
terminaldate Waktu transaksi mitra
cacode Collecting agent
messagehash Key transaksi
SHA1(procode
Stan
Productcode
Agentcode
Majorscode
Departdate
Layoutseat
Trxid
Userid
Terminaldate
cacode)
availseat Kursi tersedia
rc response code
desc keterangan response code
rows Jumlah baris
cols Jumlah kolom
seat Detail kursi (repeat)
row Baris ke
col Kolom ke
Reservation
Method POST
Additional HTTP Header Format
HTTP Header
Body <request>
Request <procode>363000</procode>
<stan>553614</stan>
<productcode>5045009</productcode>
<agentcode>DTR</agentcode>
<departdate>2016-02-17</departdate>
<userid>itata</userid>
<terminaldate>2016-2-12 15:25:20</terminaldate>
<cacode>000001</cacode>
<messagehash>b50b3bc0ee7ac044a8714c6126c10840ecb10b13</messagehash>
<majorscode>TBT-CHP05</majorscode>
<buyername>yanita</buyername>
<buyeradd>jkt</buyeradd>
<buyertelp>123456789</buyertelp>
<buyeremail>yanit@cms.com</buyeremail>
<seatno>6</seatno>
<paxname>yanits</paxname>
<trxid>20160212000000000160</trxid>
</request>
Tag Description
Tag Description
procode Processing code: 363000
stan System Trace Audit Number, uniq number identifikasi setiap transaksi
productcode Kode Produk
agentcode Kode travel agent
majorscode Kode jurusan travel
departdate Tanggal keberangkatan
buyername Nama Pembeli
buyeradd Alamat Pembeli
buyertelp Telp Pembeli
buyeremail Email Pembeli
seatno Nomor Kursi
paxname Nama Penumpang
trxid ID Transaksi
userid User id CA
terminaldate Waktu transaksi CA
cacode Kode Collecting agent
messagehash Key transaksi
rc response code
Payment
Method POST
Additional HTTP Header Format
HTTP
Header
Body <request>
Request <procode>160000</procode>
<stan>269384</stan>
<productcode>5045009</productcode>
<departdate>2016-02-17</departdate>
<userid>itata</userid>
<terminaldate>2016-2-12 15:25:20</terminaldate>
<cacode>000001</cacode>
<messagehash>f66fe3be5490700c17a02d12e2697ee66106dc79</messagehash>
<buyername>yanita</buyername>
<buyeradd>jkt</buyeradd>
<buyertelp>123456789</buyertelp>
<buyeremail>yanit@cms.com</buyeremail>
<seatno>6</seatno>
<paxname>yanita</paxname>
<trxid>20160212000000000160</trxid>
<bookingcode>495E62BTTX</bookingcode>
<paycode>18BCOQUZSLMS1MGDIRIPN</paycode>
<agentname>Day Trans</agentname>
<originname>Tebet</originname>
<destname>Cihampelas</destname>
<time>05:00</time>
<office_code>999990</office_code>
<price>120000</price>
<promo>0</promo>
<kota>Jakarta-Bandung</kota>
</request>
Tag Description
Tag Description
procode Processing code: 160000
stan System Trace Audit Number, uniq number identifikasi setiap transaksi
productcode Kode Produk
departdate Tanggal Keberangakatan
userid User id CA
terminaldate Waktu transaksi CA
cacode Kode Collecting agent
messagehash Key transaksi
buyername Nama Pembeli
buyeradd Alamat Pembeli
buyertelp Telp Pembeli
buyeremail Email Pembeli
seatno Nomor Kursi
paxname Nama Penumpang
trxid ID Transaksi
bookingcode Kode Booking
paycode Kode Bayar
agentame Nama travel agent
originname Asal
destname Tujuan
Cancel Booking
Method POST
Additional HTTP Header Format
HTTP Header
Body <request>
Request procode>363000</procode>
<stan>416995</stan>
<productcode>5045009</productcode>
<agentcode>DTR</agentcode>
<departdate>2016-02-17</departdate>
<userid>hirakha</userid>
<terminaldate>2016-2-12 15:43:18</terminaldate>
<cacode>000001</cacode>
<messagehash>5ec59aa0049b2f6f1e5ec8a4cfcf58f49d42c7df</messagehash>
<majorscode>TBT-CHP05</majorscode>
<buyername>yanits</buyername>
<buyeradd>jkt</buyeradd>
<buyertelp>08123456789</buyertelp>
<buyeremail>yanits@cms.com</buyeremail>
<seatno>7</seatno>
<paxname>yanits</paxname>
<trxid>20160212000000000167</trxid>
</request>
Tag Decription
Tag Description
procode Processing code: 360000
stan System Trace Audit Number, uniq number identifikasi setiap transaksi
productcode Kode produk
agentcode Kode travel agent
departdate Tanggal keberangkatan
userid User id mitra
terminaldate Waktu transaksi mitra
cacode Collecting agent
messagehash Key transaksi
SHA1(procode
Stan
Productcode
Agentcode
Majorsid
Departdate
Userid
Terminaldate
Cacode)
majorscode Kode jurusan travel