Callback Response

Kami akan mengirimkan [POST]

Contoh Script CallBack Url Untuk Menerima Update Transaksi/Harga

Contoh alamat callback url seperti ini: http://domainAnda.tld/script.php . Nama file atau alamat callback terserah Anda. Berikut contoh script untuk menerima update transaksi dari BIGMEDIA

Example Script PHP


                        
    					    file_put_contents('testing_callback.txt',file_get_contents('php://input')); // menyimpan dalam file save.txt

Example Response


                        
                            {
    "result": true,
    "data": {
        "wid": "g4m3s",
        "name": "Valorant 150 VP",
        "price": "25000",
        "status": "waiting",
        "datetime": "28-06-2023 9:36:20",
        "note": "SN:250010230023xxxx",
        "type": "games"
    }
}                        
                    

Place an Order

[POST] https://bigmedia.id/api/game-feature

Parameter Type Value Req.
key string berisi apikey anda. Yes
sign string berisi formula md5(API ID + API KEY). Yes
type string order Yes
service string berisi kode layanan, cek disini. Yes
data_no string berisi data id tujuan Yes
data_zone string berisi data zone tujuan bila ada No
quantity integer berisi jumlah pemesanan No

Example Response


                
{
    "result": true,
    "data": {
        "trxid": "some1d",
        "multi": [
            "some1d",
            "some1d",
            "some1d"
        ],
        "data": "136216325",
        "zone": "2685",
        "service": "Mobile Legends B - 1048 Diamonds",
        "status": "waiting",
        "note": "",
        "balance": 100000,
        "price": 195695
    },
    "message": "Pesanan berhasil, pesanan akan diproses."
}                
            

Melakukan Cek Status Pesanan

[POST] https://bigmedia.id/api/game-feature

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": "136216325",
            "zone": "2685",
            "service": "Mobile Legends B - 1048 Diamonds",
            "status": "success",
            "note": "",
            "price": 195695
        }
    ],
    "message": "Detail transaksi berhasil didapatkan."
}                        
                    
                        
{
    "result": true,
    "data": [
        {
            "trxid": "some1d",
            "data": "136216325",
            "zone": "2685",
            "service": "Mobile Legends B - 1048 Diamonds",
            "status": "success",
            "note": "",
            "price": 195695
        },
        {
            "trxid": "some1d",
            "data": "136216325",
            "zone": "2600",
            "service": "Mobile Legends B - 1048 Diamonds",
            "status": "error",
            "note": "Zone tujuan salah.",
            "price": 195695
        }
    ],
    "message": "Detail transaksi berhasil didapatkan."
}                        
                    

Mendapatkan Layanan

[POST] https://bigmedia.id/api/game-feature

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
  • game
No
filter_value string berisi tipe atau brand yang ingin diambil No

Example Response


                
{
    "result": true,
    "data": [
        {
            "code": "EAR10-S1",
            "game": "EARTOK",
            "name": "10 Diamonds",
            "price": {
                "current": 1836,
                "basic": 1836,
                "premium": 1821,
                "special": 1806
            },
            "server": "SRV-1",
            "status": "empty"
        },
        {
            "code": "MLB1048B-S1",
            "game": "Mobile Legends B",
            "name": "1048 Diamonds",
            "price": {
                "current": 237620,
                "basic": 237620,
                "premium": 237605,
                "special": 237590
            },
            "server": "SRV-1",
            "status": "available"
        }
    ],
    "message": "Daftar layanan berhasil didapatkan."
}