Prepaid
Place Order
[POST] https://www.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://www.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": 1793127194,
"updated_at": 1793127194
}
],
"status": true,
"message": "Success."
}
Get Service
[POST] https://www.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": "pulsa-reguler",
"main": "XL",
"sub": "Umum"
},
"multi": "0",
"name": "Xl 50.000",
"note": "Reguler",
"code": "XL50",
"price": {
"list": {
"basic": 48505,
"premium": 48180,
"special": 48035
},
"current": 48505
},
"cutoff": {
"start": "23:30",
"end": "00:30"
},
"status": "ready",
"updated_at": 1791590153
},
{
"category": {
"type": "paket-internet",
"main": "TRI",
"sub": "AlwaysOn"
},
"multi": "1",
"name": "Tri Data AlwaysOn 300 GB",
"note": "300 GB Nasional, Mengikuti Masa Aktif Kartu",
"code": "TDA300",
"price": {
"list": {
"basic": 710430,
"premium": 710105,
"special": 709960
},
"current": 710430
},
"cutoff": {
"start": "23:00",
"end": "23:00"
},
"status": "empty",
"updated_at": 1791590148
}
],
"status": true,
"message": "Success."
}