[POST
] https://ahanakses.com/api/postpaid
Parameter | Type | Value | Req. |
---|---|---|---|
key | string |
berisi apikey anda. | Yes |
sign | string |
berisi formula md5(API ID + API KEY). | Yes |
type | string |
inq-pasca | Yes |
service | string |
berisi kode layanan, cek disini. | Yes |
data_no | string |
berisi data tujuan | Yes |
Example Response
{
"result": true,
"data": {
"data": {
"no": "123456789",
"name": "SAMPLE NAME"
},
"service": "PLNPASCA",
"balance": 100000,
"price": {
"bill": 120000,
"admin": 3500,
"total": 123500
}
},
"message": "Berhasil."
}
[POST
] https://ahanakses.com/api/postpaid
Parameter | Type | Value | Req. |
---|---|---|---|
key | string |
berisi apikey anda. | Yes |
sign | string |
berisi formula md5(API ID + API KEY). | Yes |
type | string |
pay-pasca | Yes |
service | string |
berisi kode layanan, cek disini. | Yes |
data_no | string |
berisi data tujuan | Yes |
Example Response
{
"result": true,
"data": {
"trxid": "some1d",
"data": {
"no": "123456789",
"name": "SAMPLE NAME"
},
"service": "PLNPASCA",
"status": "success",
"note": "SAMPLE NAME, 123456789.",
"balance": 100000,
"price": 123500
},
"message": "Transaksi Berhasil."
}
[POST
] https://ahanakses.com/api/postpaid
Parameter | Type | Value | Req. |
---|---|---|---|
key | string |
berisi apikey anda. | Yes |
sign | string |
berisi formula md5(API ID + API KEY). | Yes |
type | string |
status | Yes |
trxid | string |
berisi id transaksi | No |
limit | integer |
berisi limit transaksi, hapus parameter 'trxid' jika ingin melihat banyak transaksi sekaligus. | No |
Example Response
{
"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."
}
[POST
] https://ahanakses.com/api/postpaid
Parameter | Type | Value | Req. |
---|---|---|---|
key | string |
berisi apikey anda. | Yes |
sign | string |
berisi formula md5(API ID + API KEY). | Yes |
type | string |
services | Yes |
filter_type | string |
|
No |
filter_value | string |
berisi brand yang ingin diambil | No |
Example Response
{
"result": true,
"data": [
{
"brand": "PLN PASCABAYAR",
"code": "PLNPASCA",
"name": "Pln Pascabayar",
"note": "",
"price": 360,
"status": "available",
"type": "pascabayar"
},
{
"brand": "BPJS KESEHATAN",
"code": "BPJSPASCA",
"name": "Bpjs Kesehatan",
"note": "",
"price": 1460,
"status": "empty",
"type": "pascabayar"
}
],
"message": "Daftar layanan berhasil didapatkan."
}