Bayar¶
Setelah Anda melakukan cek tagihan, Anda dapat melakukan pembayaran dengan panduan berikut.
Endpoint¶
https://api.digiflazz.com/v1/buyer/fm/transaction-pasca
Request¶
Berikut ini format topup yang dapat Anda gunakan:
Parameter | Deskripsi | Tipe Data | Wajib |
---|---|---|---|
command | Perintah yang harus dieksekusi: TOPUP | String |
Ya |
pin | Pin FM Anda | String |
Ya |
product | Gunakan format: bayar.kodeproduk | String |
Ya |
msisdn | Nomor tujuan pelanggan | String |
Ya |
refTrxid | Transaksi ID unik Digiflazz | String |
Ya |
Contoh Request¶
<?xml version="1.0"?>
<fm>
<command>TOPUP</command>
<pin>123456</pin>
<product>bayar.pln</product>
<msisdn>530000000001</msisdn>
<refTrxid>ref-01</refTrxid>
</fm>
Info
Di asumsikan PIN FM Anda yang didaftarkan di Digiflazz adalah 123456 dan kode produk adalah pln
Jawaban¶
Berikut ini format jawaban yang kami berikan:
Parameter | Deskripsi | Tipe Data | Wajib |
---|---|---|---|
status | Status Transaksi | String |
Ya |
message | Pesan atau keterangan transaksi | String |
Ya |
fmTrxid | Transaksi ID unik dari kami | String |
Ya |
refTrxid | Transaksi ID unik FM Anda | String |
Ya |
Contoh Jawaban Pending¶
<?xml version="1.0"?>
<fm>
<status>1</status>
<message>Transaksi Pending</message>
<fmTrxid>fm-01</fmTrxid>
<refTrxid>ref-01</refTrxid>
</fm>
Contoh Jawaban Sukses¶
1 tagihan PLN
<?xml version="1.0"?>
<fm>
<status>0</status>
<message>REF:004212C9245F1BA43A77CEBD5CD5DA39/530000000001/SUBCRIBER NAME/R1/1300/201608/00080000-00080000/Denda 0/Rp302000/Adm2500 Komisi500 SUKSES CallCenter:123</message>
<fmTrxid>fm-01</fmTrxid>
<refTrxid>ref-01</refTrxid>
</fm>
lebih dari 1 tagihan PLN
<?xml version="1.0"?>
<fm>
<status>0</status>
<message>REF:004212C9245F5062917AF64F53D5A52D/530000000024/SUBCRIBER NAME/R1/1300/201605-201608/00080000-00080000/Denda 0/Rp3023000/Adm10000 Komisi2000 SUKSES CallCenter:123</message>
<fmTrxid>fm-01</fmTrxid>
<refTrxid>ref-01</refTrxid>
</fm>
1 tagihan PDAM
<?xml version="1.0"?>
<fm>
<status>0</status>
<message>REF:267411786/1013226/DADANG SOEKARDI/WONOKROMO S.S BARU 2 8/24/201412-35490/7500/750/Adm2000/Rp37490</message>
<fmTrxid>fm-01</fmTrxid>
<refTrxid>ref-01</refTrxid>
</fm>
2 tagihan INTERNET
<fm>
<status>0</status>
<message>REF:1872521012/6391601001/MEI 2019#JUN 2019-JOHN DOE/75000/Adm5000/Rp80000 SUKSES</message>
<fmTrxid>1</fmTrxid>
<refTrxid>1</refTrxid>
</fm>
1 tagihan BPJS KESEHATAN
<?xml version="1.0"?>
<fm>
<status>0</status>
<message>REF:1872521012/8801234560001/02/2/JAKARTA BARAT/22500/Adm2500/Rp25000 SUKSES</message>
<fmTrxid>1</fmTrxid>
<refTrxid>1</refTrxid>
</fm>
1 tagihan MULTIFINANCE
<fm>
<status>0</status>
<message>REF:514367/6391601201/ABDUL SAMID HARAHAP/005/HONDA VARIO TECHNO 125 PGM FI NON CBS/MH1JFB111CK196426/B6213UWX/030/14 Dec 12/22500/Adm2500/Rp25000 SUKSES</message>
<fmTrxid>1</fmTrxid>
<refTrxid>1</refTrxid>
</fm>
1 tagihan PBB
<fm>
<status>0</status>
<message>REF:190814738977/329801092375999999/PBB TESTING/2019/KO. GRIYA ASRI CIPAGERAN/CIPAGERAN/CIMAHI UTARA/0023/PEMKOT CIMAHI/113 M2/47 M2/203857/Adm5000/Rp208857 SUKSES</message>
<fmTrxid>1</fmTrxid>
<refTrxid>1</refTrxid>
</fm>
1 tagihan GAS NEGARA
<fm>
<status>0</status>
<message>REF:244183135447/0110014601/PGAS TESTING/KO. GRIYA ASRI CIPAGERAN006538-006573/322002/Adm2500/Rp324502 SUKSES</message>
<fmTrxid>1</fmTrxid>
<refTrxid>1</refTrxid>
</fm>
1 tagihan TV
<fm>
<status>0</status>
<message>REF:18141775/127246500101/BAITUS MONGJENG/MEI 22/Rp100500/Adm2500 Komisi1000 SUKSES</message>
<fmTrxid>1</fmTrxid>
<refTrxid>1</refTrxid>
</fm>
1 tagihan SAMSAT
Format Tujuan Samsat
Kode Pembayaran,Nomor Identitas
Contoh Tujuan Samsat
9658548523568705,0212502110170100
<fm>
<status>0</status>
<message>REF:9658548523568701/9658548523568701,0212502110170100/TESTING ESAMSAT//GRIYA BULELENG 2 RT 005 RW 014 BULELENG/0212502110170100/MHKV5EA2JFJ001044/1NRF012268/DK 1243AL/001/DAIHATSU/Model: XENIA 1.3 R M/T F653RV-GMDFJ/Tahun2018/20210309/0/143000/2131500/0/0/0/0/0/0/0/Rp2277000/Adm5000 Komisi2500 SUKSES</message>
<fmTrxid>df-880d0cl93</fmTrxid>
<refTrxid>1</refTrxid>
</fm>
1 tagihan BPJSTK
<fm>
<status>0</status>
<message>REF:/8102051011270001/OKI DAMAR/919013012977/SAMPIT//JKK,JKM/10000/5000/0/0/0/2023-05-05/2027-05-05//Rp16500/Adm2500 Komisi1000 SUKSES</message>
<fmTrxid>df-uldbptey1</fmTrxid>
<refTrxid>fm2</refTrxid>
</fm>
1 tagihan BPJSTKPU (Penerima Upah)
<fm>
<status>0</status>
<message>REF:MBP6454acaba9b9b/210300016066/PT LIMABELAS/210300016066//000//1082/2166/61688/0/0///21000115/Rp101500/Adm2500 Komisi1000 SUKSES</message>
<fmTrxid>df-0tfbp4fh1</fmTrxid>
<refTrxid>fm3</refTrxid>
</fm>
1 tagihan PLN Nontaglis
<fm>
<status>0</status>
<message>REF:18147159/3225030005901/JAYUSMAN/PENYAMBUNGAN BARU/5392112011703/20120524/Rp699650/Adm5000 Komisi1750 SUKSES</message>
<fmTrxid>1</fmTrxid>
<refTrxid>fm8</refTrxid>
</fm>
1 tagihan HP / tagihan lainnya
<?xml version="1.0"?>
<fm>
<status>0</status>
<message>REF:259558197/0899123450/JOHN DOE/55000/Adm2500/Rp57500 SUKSES</message>
<fmTrxid>fm-01</fmTrxid>
<refTrxid>ref-01</refTrxid>
</fm>
Contoh Jawaban Gagal¶
<?xml version="1.0"?>
<fm>
<status>2</status>
<message>Transaksi Gagal</message>
<fmTrxid>fm-01</fmTrxid>
<refTrxid>ref-01</refTrxid>
</fm>
Testcase Development Mode¶
Berikut adalah contoh request topup yang dapat anda gunakan pada saat proses development
Data¶
kode | msisdn | Status |
---|---|---|
pln | 530000000001 | Sukses 1 tagihan |
pln | 530000000024 | Sukses lebih dari 1 tagihan |
pln | 530000000004 | Gagal |
pln | 530000000005 | Pending |
pdam | 1013226 | Sukses |
pdam | 1013228 | Gagal |
pdam | 1013229 | Pending |
hp | 0899123450 | Sukses |
hp | 0899123452 | Gagal |
hp | 0899123453 | Pending |
internet | 6391601001 | Sukses |
internet | 6391601002 | Gagal Inquiry |
internet | 6391601003 | Gagal Payment |
internet | 6391601004 | Pending |
bpjs | 8801234560001 | Sukses |
bpjs | 8801234560002 | Gagal Inquiry |
bpjs | 8801234560003 | Gagal Payment |
bpjs | 8801234560004 | Pending |
multifinance | 6391601201 | Sukses |
multifinance | 6391601202 | Gagal Inquiry |
multifinance | 6391601203 | Gagal Payment |
multifinance | 6391601204 | Pending |
pbb | 329801092375999991 | Sukses 1 Tagihan |
pbb | 329801092375999992 | Cek tagihan gagal |
pbb | 329801092375999993 | Pembayaran gagal |
pbb | 329801092375999994 | Pembayaran pending |
pgas | 0110014601 | Sukses 1 Tagihan |
pgas | 0110014602 | Cek tagihan gagal |
pgas | 0110014603 | Pembayaran gagal |
pgas | 0110014604 | Pembayaran pending |
tv | 127246500101 | Sukses 1 Tagihan |
tv | 127246500102 | Cek tagihan gagal |
tv | 127246500103 | Pembayaran gagal |
tv | 127246500104 | Pembayaran pending |
samsat | 9658548523568701,0212502110170100 | Sukses 1 Tagihan |
samsat | 9658548523568702,0212502110170100 | Cek tagihan gagal |
samsat | 9658548523568703,0212502110170100 | Pembayaran gagal |
samsat | 9658548523568704,0212502110170100 | Pembayaran pending |
bpjstk | 8102051011270001 | Sukses 1 Tagihan |
bpjstk | 8102051011270002 | Cek tagihan gagal |
bpjstk | 8102051011270003 | Pembayaran gagal |
bpjstk | 8102051011270004 | Pembayaran pending |
bpjstkpu | 400000100001 | Sukses 1 Tagihan |
bpjstkpu | 400000100002 | Cek tagihan gagal |
bpjstkpu | 400000100003 | Pembayaran gagal |
bpjstkpu | 400000100004 | Pembayaran pending |
plnnontaglist | 3225030005921 | Sukses 1 Tagihan |
plnnontaglist | 3225030005922 | Cek tagihan gagal |
plnnontaglist | 3225030005923 | Pembayaran gagal |
plnnontaglist | 3225030005924 | Pembayaran pending |