[POST
] https://maupedia.com/api/postpaid
Parameter | Tipe | Deskripsi | Wajib |
---|---|---|---|
key | string |
berisi apikey anda. | Ya |
sign | string |
berisi formula sha1(API ID + API KEY). | Ya |
secret | string |
berisi Secret Key yang telah anda buat. | Ya |
type | string |
inq-pasca | Ya |
service | string |
berisi kode layanan, cek disini. | Ya |
data_no | string |
berisi data tujuan | Ya |
Response Sukses
{
"result": true,
"data": {
"data": {
"no": "123456789",
"name": "SAMPLE NAME"
},
"service": "PLNPASCA",
"balance": 100000,
"price": {
"bill": 120000,
"admin": 3500,
"total": 123500
}
},
"message": "Berhasil, Tagihan Ditemukan."
}
Response Gagal
{
"result": false,
"data": null,
"message": "Tagihan belum tersedia."
}
[POST
] https://maupedia.com/api/postpaid
Parameter | Tipe | Deskripsi | Wajib |
---|---|---|---|
key | string |
berisi apikey anda. | Ya |
sign | string |
berisi formula sha1(API ID + API KEY). | Ya |
secret | string |
berisi Secret Key yang telah anda buat. | Ya |
type | string |
pay-pasca | Ya |
service | string |
berisi kode layanan, cek disini. | Ya |
data_no | string |
berisi data tujuan | Ya |
Response Sukses
{
"result": true,
"data": {
"trxid": "some1d",
"data": {
"no": "123456789",
"name": "SAMPLE NAME"
},
"service": "PLNPASCA",
"status": "success",
"note": "SAMPLE NAME, 123456789.",
"balance": 100000,
"price": 123500
},
"message": "Tagihan Berhasil Dibayar."
}
Response Gagal
{
"result": false,
"data": null,
"message": "Saldo Anda tidak cukup."
}
[POST
] https://maupedia.com/api/postpaid
Parameter | Tipe | Deskripsi | Wajib |
---|---|---|---|
key | string |
berisi apikey anda. | Ya |
sign | string |
berisi formula sha1(API ID + API KEY). | Ya |
secret | string |
berisi Secret Key yang telah anda buat. | Ya |
type | string |
status | Ya |
trxid | string |
berisi id transaksi | Tidak |
limit | integer |
berisi limit transaksi, hapus parameter 'trxid' jika ingin melihat banyak transaksi sekaligus. | Tidak |
Response Sukses
{
"result": true,
"data": [
{
"trxid": "some1d",
"data": "123456789",
"code": "PLNPASCA",
"service": "Pln Pascabayar",
"status": "waiting",
"note": "SAMPLE NAME, 123456789.",
"price": 123500
}
],
"message": "Detail transaksi berhasil didapatkan."
}
{
"result": true,
"data": [
{
"trxid": "some1d",
"data": "123456789",
"code": "PLNPASCA",
"service": "Pln Pascabayar",
"status": "success",
"note": "SAMPLE NAME, 123456789.",
"price": 123500
},
{
"trxid": "some1d",
"data": "087800001234",
"code": "BPJSPASCA",
"service": "Bpjs Pascabayar",
"status": "error",
"note": "Nomor tujuan salah.",
"price": 123500
}
],
"message": "Detail transaksi berhasil didapatkan."
}
Response Gagal
{
"result": false,
"data": null,
"message": "Transaksi tidak ditemukan."
}
[POST
] https://maupedia.com/api/postpaid
Parameter | Tipe | Deskripsi | Wajib |
---|---|---|---|
key | string |
berisi apikey anda. | Ya |
sign | string |
berisi formula sha1(API ID + API KEY). | Ya |
secret | string |
berisi Secret Key yang telah anda buat. | Ya |
type | string |
services | Ya |
filter_type | string |
|
Tidak |
filter_value | string |
berisi brand yang ingin diambil | Tidak |
Response Sukses
{
"result": true,
"data": [
{
"brand": "PLN PASCABAYAR",
"code": "PLNPASCA",
"name": "Pln Pascabayar",
"note": "",
"price": {
"current": 24759,
"basic": 24809,
"premium": 24759,
"special": 24739
},
"status": "available",
"type": "pascabayar"
},
{
"brand": "BPJS KESEHATAN",
"code": "BPJSPASCA",
"name": "Bpjs Kesehatan",
"note": "",
"price": {
"current": 24759,
"basic": 24809,
"premium": 24759,
"special": 24739
},
"status": "empty",
"type": "pascabayar"
}
],
"message": "Daftar layanan berhasil didapatkan."
}
Response Gagal
{
"result": false,
"data": null,
"message": "API Signature tidak valid."
}