Loading...

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": 1722063632,
            "updated_at": 1722063632
        }
    ],
    "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-internet",
                "main": "SMARTFREN",
                "sub": "Nonstop"
            },
            "multi": "1",
            "name": "Smartfren Kuota Nonstop 65.000",
            "note": "18 GB 24 jam Nonstop, Tambahan 8 GB (2 GB setiap minggu), Kecepatan setelah kuota habis 256Kbps aktif selama 28 hari",
            "code": "SMUNL18",
            "price": {
                "list": {
                    "basic": 73825,
                    "premium": 73645,
                    "special": 73505
                },
                "current": 73825
            },
            "cutoff": {
                "start": "23:30",
                "end": "00:30"
            },
            "status": "ready",
            "updated_at": 1716015447
        },
        {
            "category": {
                "type": "voucher-game",
                "main": "PUBG MOBILE",
                "sub": "Umum"
            },
            "multi": "1",
            "name": "PUBG MOBILE 510 UC",
            "note": "-",
            "code": "PUBGM510",
            "price": {
                "list": {
                    "basic": 104854,
                    "premium": 104674,
                    "special": 104534
                },
                "current": 104854
            },
            "cutoff": {
                "start": "00:00",
                "end": "00:00"
            },
            "status": "ready",
            "updated_at": 1721992973
        }
    ],
    "status": true,
    "message": "Success."
}