Prepaid
Place Order
[POST] https://fmpedia.id/api/prepaid
| Parameter | Type | Note | Req. |
|---|---|---|---|
| key | string |
fill with your API Key. | Yes |
| sign | string |
fill with combined User ID and API Key encrypted with md5. | Yes |
| type | string |
fill with order to place order. | Yes |
| service | string |
fill with Service ID that you want to order. | Yes |
| data_no | string |
fill with Phone Number or Other Data. | Yes |
Example Response
{
"code": 200,
"data": {
"data": [
"your destination number"
],
"note": "transaction note",
"price": 10000,
"ref_id": "some1d",
"status": "waiting",
"product": {
"code": "product_id",
"type": "product_type",
"service": "product_name"
},
"voucher": "voucher_code"
},
"status": true,
"message": "Thank you for purchasing the product, please wait for the transaction to be processed."
}
Check Transaction
[POST] https://fmpedia.id/api/prepaid
| Parameter | Type | Note | Req. |
|---|---|---|---|
| key | string |
fill with your API Key. | Yes |
| sign | string |
fill with combined User ID and API Key encrypted with md5. | Yes |
| type | string |
fill with status to place order. | Yes |
| ref_id | string |
fill with Transaction Reference ID. | No |
| limit | integer |
fill with 1 - 15. | No |
Example Response
{
"code": 200,
"data": [
{
"data": [
"your destination number"
],
"note": "transaction note",
"price": 10000,
"ref_id": "some1d",
"status": "waiting",
"product": {
"code": "product_id",
"type": "product_type",
"service": "product_name"
},
"voucher": "voucher_code",
"created_at": 1784108559,
"updated_at": 1784108559
}
],
"status": true,
"message": "Success."
}
Get Service
[POST] https://fmpedia.id/api/prepaid
| Parameter | Type | Note | Req. |
|---|---|---|---|
| key | string |
fill with your API Key. | Yes |
| sign | string |
fill with combined User ID and API Key encrypted with md5. | Yes |
| type | string |
fill with service to place order. | Yes |
Example Response
{
"code": 200,
"data": [
{
"category": {
"type": "paket-lainnya",
"main": "AXIS",
"sub": "Owsem"
},
"multi": "1",
"name": "Voucher OWSEM 2 GB + 6 GB 4G \/ 30 Hari",
"note": "Voucher BRONET 4G OWSEM 2GB+6GB(4G)+8GB Games, 24 jam 30HR",
"code": "VOWSEM630",
"price": {
"list": {
"basic": 47079,
"premium": 46754,
"special": 46609
},
"current": 47079
},
"cutoff": {
"start": "23:30",
"end": "00:15"
},
"status": "ready",
"updated_at": 1784089913
},
{
"category": {
"type": "token-pln",
"main": "PLN",
"sub": "Umum"
},
"multi": "1",
"name": "PLN 5.000",
"note": "masukkan nomor meter\/id pelanggan",
"code": "PLN5",
"price": {
"list": {
"basic": 7760,
"premium": 7435,
"special": 7290
},
"current": 7760
},
"cutoff": {
"start": "23:30",
"end": "00:20"
},
"status": "ready",
"updated_at": 1784089896
}
],
"status": true,
"message": "Success."
}