OpenAPIOpenAPI
  • English
  • 简体中文
  • Indonesia
  • हिंदी
  • Русский
  • Tiếng Việt
  • German
  • português
  • English
  • 简体中文
  • Indonesia
  • हिंदी
  • Русский
  • Tiếng Việt
  • German
  • português
  • ProxyLite OpenAPI

ProxyLite OpenAPI

Gulir ke bawah untuk melihat contoh kode, contoh permintaan, dan contoh respons. Pilih bahasa contoh kode dari tab di atas atau menu navigasi seluler.

app_key Silakan login dan lihat kunci otentikasi di halaman beranda pusat akun Anda.

Simpan kunci ini dengan aman. Kunci ini memiliki hak administrator untuk akun Anda.

Metode autentikasi

Autentikasi App Key

Parameter POST:

app_key: {your_app_key}

Atau sebagai parameter query:

?app_key={your_app_key}

Format respons

Semua endpoint mengembalikan format respons JSON yang seragam:

{
	"code": 200,
	"message": "Operasi berhasil",
	"data": {}
}
  • code: Kode status. 200 berarti berhasil; nilai lain berarti gagal.
  • message: Pesan respons.
  • data: Data respons.

Base URLs:

  • https://api.proxylite.com

Autentikasi

  • HTTP Authentication, scheme: bearer
  • API Key (apiKeyAuth)
    • Parameter Name: app_key, in: query. Mendukung GET/POST.

Manajemen akun proxy

Daftar akun proxy

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/whitelist-account/list?app_key=pa%24%24word \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/whitelist-account/list

Parameter

NamaLokasiTipeWajibDeskripsi
app_keyquerystring(password)trueKunci otentikasi

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"list": [
			{
				"id": 0,
				"username": "string",
				"password": "string",
				"created_at": "string",
				"remark": "string",
				"product_type": 9,
				"usage_flow": 0,
				"limit_flow": 102400,
				"status": 0
			}
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» coderesponseCodefalsenoneKode status, 200 berhasil, 3 app_key tidak valid
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» idintegerfalsenoneNomor rekening
»»» usernamestringfalsenoneNama akun agen
»»» passwordstringfalsenoneKata sandi akun agen
»»» created_atstringfalsenoneWaktu dibuat
»»» remarkstringfalsenoneKomentar
»»» product_typeproductTypesfalsenoneJenis paket, 9 paket lalu lintas perumahan dinamis, 11 IP perumahan dinamis, 14 IP pusat data statis, 25 IP perumahan statis
»»» usage_flowintegerfalsenoneLalu lintas yang digunakan, satuan: KB
»»» limit_flowintegerfalsenoneBatas lalu lintas yang disesuaikan: unit maksimum GB adalah 102400, 0 tanpa batas
»»» statusintegerfalsenoneStatus diaktifkan: 1 diaktifkan, 0 dinonaktifkan

Enumerated Values

PropertiNilai
product_type9
product_type11
product_type14
product_type25
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Tambahkan akun agen.

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/add \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/add

Body parameter

{
	"app_key": "stringstringstringstringstringst",
	"accounts": "user01:pass,user02:pass,user03:pass",
	"remark": "",
	"product_type": 9
}

Parameter

NamaLokasiTipeWajibDeskripsi
bodybodyobjectfalsenone
» app_keybodystringfalseKunci otorisasi
» accountsbodystringfalsePassword akun, silahkan diisi dengan format username:password. Akun dan kata sandi hanya mendukung angka dan huruf. Dilarang memasukkan simbol atau spasi khusus apa pun. Tanda titik dua memisahkan akun dan kata sandi. Penambahan batch didukung, dan akun agen dipisahkan dengan koma bahasa Inggris (,).
» remarkbodystringfalseDeskripsi akun agen
» product_typebodyproductTypesfalseJenis paket, 9 paket lalu lintas perumahan dinamis, 11 IP perumahan dinamis, 14 IP pusat data statis, 25 IP perumahan statis

Enumerated Values

ParameterValue
» product_type9
» product_type11
» product_type14
» product_type25

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": null
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Hapus akun proksi

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/delete \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/delete

Harap dicatat bahwa itu tidak dapat dipulihkan setelah dihapus, dan lalu lintas yang digunakan tidak dapat ditanyakan. Akan ada waktu tunggu sekitar 5 menit untuk penghapusan, dan selama itu mungkin masih dikenakan biaya.

Body parameter

{
	"app_key": "stringstringstringstringstringst",
	"accounts": "user01,user02"
}

Parameter

NamaLokasiTipeWajibDeskripsi
bodybodyobjectfalsenone
» app_keybodystringfalseKunci otorisasi
» accountsbodystringfalseAkun agen, hanya didukung angka dan huruf. Mendukung operasi batch, koma bahasa Inggris (,) akun agen terpisah

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": null
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Nonaktifkan akun proksi

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/disable \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/disable

Akan ada waktu tunggu sekitar 5 menit untuk penonaktifan, selama waktu tersebut mungkin masih dikenakan biaya.

Body parameter

{
	"app_key": "stringstringstringstringstringst",
	"accounts": "user01,user02"
}

Parameter

NamaLokasiTipeWajibDeskripsi
bodybodyobjectfalsenone
» app_keybodystringfalseKunci otorisasi
» accountsbodystringfalseAkun agen, hanya didukung angka dan huruf. Mendukung operasi batch, koma bahasa Inggris (,) akun agen terpisah

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": null
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Aktifkan akun proksi

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/enable \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/enable

Body parameter

{
	"app_key": "stringstringstringstringstringst",
	"accounts": "user01,user02"
}

Parameter

NamaLokasiTipeWajibDeskripsi
bodybodyobjectfalsenone
» app_keybodystringfalseKunci otorisasi
» accountsbodystringfalseAkun agen, hanya didukung angka dan huruf. Mendukung operasi batch, koma bahasa Inggris (,) akun agen terpisah

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": null
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Ubah kata sandi akun agen

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/change-password \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/change-password

Harap dicatat bahwa ada masa tunggu 5 menit setelah modifikasi, dan selama itu kata sandi lama masih dapat digunakan secara normal.

Body parameter

{
	"app_key": "stringstringstringstringstringst",
	"account": "user",
	"password": "pass"
}

Parameter

NamaLokasiTipeWajibDeskripsi
bodybodyobjectfalsenone
» app_keybodystringfalseKunci otorisasi
» accountbodystringfalseAkun agen, hanya didukung angka dan huruf.
» passwordbodystringfalsePassword baru akun agen, hanya support angka dan huruf saja.

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": null
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Ubah komentar akun agen

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/change-remark \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/change-remark

Body parameter

{
	"app_key": "stringstringstringstringstringst",
	"account": "user",
	"remark": ""
}

Parameter

NamaLokasiTipeWajibDeskripsi
bodybodyobjectfalsenone
» app_keybodystringfalseKunci otorisasi
» accountbodystringfalseAkun agen, hanya didukung angka dan huruf.
» remarkbodystringfalseKomentar baru untuk akun agensi, dalam 32 karakter China atau 64 karakter Inggris.

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": null
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Ubah batas lalu lintas akun proxy

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/change-limit \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/change-limit

Harap dicatat bahwa statistik lalu lintas mungkin tertunda dalam waktu 5 menit, artinya lalu lintas aktual yang dikonsumsi mungkin melebihi batas ini.

Body parameter

{
	"app_key": "stringstringstringstringstringst",
	"account": "user",
	"limit": 0
}

Parameter

NamaLokasiTipeWajibDeskripsi
bodybodyobjectfalsenone
» app_keybodystringfalseKunci otorisasi
» accountbodystringfalseAkun agen, hanya didukung angka dan huruf.
» limitbodyintegerfalseBatas lalu lintas, satuan: GB, 0 berarti tidak ada batas atas

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": null
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Ubah informasi akun agen

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/proxy-account/change \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/proxy-account/change

Ubah kata sandi akun proxy, keterangan, batas lalu lintas, batas lalu lintas harian, status diaktifkan, atau sakelar UDP.

Body parameter

{
	"app_key": "string",
	"account": "string",
	"password": "string",
	"remark": "string",
	"limit": 0,
	"daily_limit": 0,
	"status": 0,
	"udp": 0
}

Parameter

NamaLokasiTipeWajibDeskripsi
bodybodyobjectfalsenone
» app_keybodystringfalseKunci otorisasi
» accountbodystringfalseNama akun agen
» passwordbodystringfalseKata sandi baru, 6-16 digit atau huruf; jika tidak lolos, tidak akan diubah.
» remarkbodystringfalseCatatan baru
» limitbodyintegerfalseBatas lalu lintas, satuan GB, 0 berarti tidak ada batas
» daily_limitbodyintegerfalseBatas lalu lintas harian dalam GB, 0 berarti tidak ada batas
» statusbodyintegerfalseStatus diaktifkan
» udpbodyintegerfalseSwitch dukungan UDP, hanya efektif untuk paket tipe 14, 16, 21, dan 25

Enumerated Values

ParameterValue
» status0
» status1
» udp0
» udp1

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": null
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 sukses
» msgstringfalsenonePesan status
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Manajemen pesanan

Pembuatan pesanan, pertanyaan, pembatalan, dll.

daftar pesanan

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/order/list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/order/list

Parameter

NamaLokasiTipeWajibDeskripsi
page_noqueryintegerfalsenone
page_sizequeryintegerfalsenone
trade_noquerystringfalsenomor pesanan
start_timequerystring(date-time)falseWaktu mulai (inklusif), seperti 01-01-2024 00:00:00
end_timequerystring(date-time)falseWaktu berakhir (tidak termasuk)
statusqueryintegerfalseStatus pesanan
product_typequeryintegerfalsejenis produk
invoicequeryintegerfalseStatus invoice: 0 tanpa batas 1 invoice -1 uninvoiced (dapat diterbitkan ulang)
pay_fee_statusqueryintegerfalsePenyaringan pembayaran panjang dan pendek: 1 Kelebihan pembayaran 2 Pembayaran pendek

Detailed descriptions

status: Status pesanan

StatusDeskripsi
0Pembayaran tertunda
1Berbayar
2Dibatalkan karena lembur dan tidak dibayar
3Dikembalikan

product_type: jenis produk | Jenis Produk | Deskripsi | |---|---| |3|Isi Ulang Saldo| |9|Paket trafik dinamis| |11|Paket Waktu Global Dinamis V2| |12|Paket trafik IDC jangka panjang| |13|Paket lalu lintas IP statis perumahan| |14|Paket IP statis pusat data| |15|Paket lalu lintas ISP jangka panjang| |16|Paket lalu lintas statis| |17|Paket kuantitas IP Dinamis| |18|pengikis web| |19|Pembaruan IP Statis| |20|Kuota penggantian IP statis| |21|Paket lalu lintas statis v2| |24|Paket tambahan lalu lintas statis| |25|Paket IP Statis Perumahan| |26|Pesanan pengganti - Beberapa saluran pembayaran mengharuskan pengguna mengisi jumlah secara manual, seperti: mata uang virtual. Jika terjadi pembayaran singkat, Anda perlu menghubungi layanan pelanggan untuk melakukan pembayaran melalui produk ini| |27|Serp| |28|Video|

Enumerated Values

ParameterValue
status0
status1
status2
status3
product_type3
product_type9
product_type11
product_type12
product_type14
product_type16
product_type17
product_type18
product_type19
product_type21
product_type24
product_type25
product_type26
product_type27
product_type28
invoice-1
invoice0
invoice1
pay_fee_status1
pay_fee_status2

Contoh respons

200 Response

{
	"code": 0,
	"message": "Operasi berhasil",
	"data": {
		"list": [
			{
				"id": 0,
				"trade_no": "string",
				"out_trade_no": "string",
				"product_id": 0,
				"product_type": 0,
				"amount": 0,
				"unit_price": 0.1,
				"total_fee": 0.1,
				"goods_fee": 0.1,
				"pay_fee": 0.1,
				"discount_fee": 0.1,
				"handling_fee": 0.1,
				"refund_fee": 0.1,
				"pm_id": 0,
				"pm_title": "string",
				"pm_logo": "string",
				"status": 0,
				"title": "string",
				"detail": "string",
				"region_desc": "string",
				"pay_at": "2019-08-24T14:15:22Z",
				"pay_timestamp": 0,
				"created_at": "2019-08-24T14:15:22Z",
				"pay_fee_status": 0,
				"invoice": {
					"name": "string",
					"org_name": "string",
					"first_name": "string",
					"last_name": "string",
					"phone": "string",
					"email": "[email protected]",
					"role_type": 0,
					"vat_id": "string",
					"address_country": "string",
					"address_city": "string",
					"address_line1": "string",
					"address_line2": "string",
					"address_postal_code": "string"
				}
			}
		],
		"pagination": {
			"total": 0,
			"page_no": 0,
			"page_size": 0,
			"total_pages": 0
		}
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKkesuksesanInline

Struktur respons

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Buat pesanan

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/order/create \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/order/create

Karena ada banyak jenis paket dan setiap paket memiliki konfigurasi yang berbeda, harap isi parameter sesuai dengan keadaan sebenarnya. Mengisi parameter dengan tidak benar dapat mengakibatkan kegagalan pembuatan pesanan.

contoh:

Perbarui IP statis

{
    "pid": ID paket, // diperoleh dari /titik akhir/antarmuka produk
    "upids": "1,2,3,4,5,6", // Dapatkan kolom id yang sesuai dari antarmuka /end-point/ip/get-static-ip
    "pm_id": 1 // Diperoleh dari antarmuka /end-point/pembayaran/daftar atau /end-point/pembayaran/grup
  }

Pembelian IP Perumahan Statis

{
  "pid": ID paket, // diperoleh dari /titik akhir/antarmuka produk
  "pm_id": ID metode pembayaran, // diperoleh dari antarmuka /end-point/pembayaran/daftar atau /end-point/pembayaran/grup
  "region_list": "JP,15,333|DE,10,444|US,5,555" // Format: wilayah, kuantitas, ASN|wilayah, kuantitas, ASN (nomor ASN opsional)
}

Pembelian IP pusat data statis

{
  "pid": ID paket, // diperoleh dari /titik akhir/antarmuka produk
  "pm_id": ID metode pembayaran, // diperoleh dari antarmuka /end-point/pembayaran/daftar atau /end-point/pembayaran/grup
  "region_list": "JP,15,333|DE,10,444|US,5,555" // Format: wilayah, kuantitas, ASN|wilayah, kuantitas, ASN (nomor ASN opsional)
}

Pembelian lalu lintas perumahan dinamis

{
  "pid": ID paket, // diperoleh dari /titik akhir/antarmuka produk
  "pm_id": ID metode pembayaran // Diperoleh dari antarmuka /end-point/pembayaran/daftar atau /end-point/pembayaran/grup
}

Pembelian lalu lintas rotasi statis

{
  "pid": ID paket, // diperoleh dari /titik akhir/antarmuka produk
  "pm_id": ID metode pembayaran // Diperoleh dari antarmuka /end-point/pembayaran/daftar atau /end-point/pembayaran/grup
}

Pembelian lalu lintas dinamis tanpa batas

{
  "pid": ID paket, // diperoleh dari /titik akhir/antarmuka produk
  "pm_id": ID metode pembayaran, // diperoleh dari antarmuka /end-point/pembayaran/daftar atau /end-point/pembayaran/grup
  "product_sku_bandwidth_id": ID spesifikasi bandwidth,
  "product_sku_concurrency_id": ID spesifikasi konkurensi
}

Isi ulang saldo

{
  "pid": ID paket, // diperoleh dari /titik akhir/antarmuka produk
  "pm_id": ID metode pembayaran, // diperoleh dari antarmuka /end-point/pembayaran/daftar atau /end-point/pembayaran/grup
  "recharge_amount": jumlah isi ulang
}

Body parameter

{
	"pid": 0,
	"upids": "string",
	"amount": 0,
	"pm_id": 0,
	"region_list": "string",
	"coupon_sn": "string",
	"use_invitation_registration_discount": true,
	"renew_duration": 0,
	"product_sku_bandwidth_id": 0,
	"product_sku_concurrency_id": 0,
	"product_sku_duration_id": 0,
	"etd": 1,
	"recharge_amount": 0
}

Parameter

| Nama | Lokasi | Tipe | Wajib | Deskripsi | | --- | --- | --- | --- | --- | --- | --- | --- | | body | body | object | true | none | | » pid | body | integer | true | ID Paket, dari bidang id yang dikembalikan oleh antarmuka /titik akhir/produk | | » upids | body | string | false | Daftar ID paket pembaruan (dipisahkan koma), dari bidang id yang dikembalikan oleh antarmuka /end-point/user-product/list atau /end-point/ip/get-static-ip | | » amount | body | number | false | Jumlah paket baru yang dibeli | | » pm_id | body | integer | true | ID metode pembayaran, dari bidang id yang dikembalikan oleh antarmuka /end-point/pembayaran/daftar atau /end-point/pembayaran/grup | | » region_list | body | string | false | Saat membeli IP statis, tentukan wilayah + kuantitas + nomor ASN. Formatnya: wilayah, jumlah, ASN | wilayah, jumlah, ASN. Misal: JP,15,333 | DE,10,444 | US,5,555 (Nomor ASN bersifat opsional) | | » coupon_sn | body | string | false | Nomor kupon | | » use_invitation_registration_discount | body | boolean | false | Apakah akan menggunakan diskon pendaftaran undangan | | » renew_duration | body | integer | false | Perpanjangan IP statis waktu opsional | | » product_sku_bandwidth_id | body | integer | false | Paket 11: ID Paket Bandwidth | | » product_sku_concurrency_id | body | integer | false | Paket 11: ID Paket Bersamaan | | » product_sku_duration_id | body | integer | false | Jenis paket=11Diperlukan: ID Spesifikasi Durasi | | » etd | body | integer | false | Kelipatan durasi, diperoleh dari extension_of_time_days paket, 2 mewakili jumlah hari × 2, harga akan naik | | » recharge_amount | body | integer | false | Paket 3: Jumlah isi ulang |

Contoh respons

200 Response

{
	"code": 0,
	"message": "Operasi berhasil",
	"data": {
		"id": 0,
		"trade_no": "string",
		"out_trade_no": "string",
		"product_id": 0,
		"product_type": 0,
		"amount": 0,
		"unit_price": 0.1,
		"total_fee": 0.1,
		"goods_fee": 0.1,
		"pay_fee": 0.1,
		"discount_fee": 0.1,
		"handling_fee": 0.1,
		"refund_fee": 0.1,
		"pm_id": 0,
		"pm_title": "string",
		"pm_logo": "string",
		"status": 0,
		"title": "string",
		"detail": "string",
		"region_desc": "string",
		"pay_at": "2019-08-24T14:15:22Z",
		"pay_timestamp": 0,
		"created_at": "2019-08-24T14:15:22Z",
		"pay_fee_status": 0,
		"invoice": {
			"name": "string",
			"org_name": "string",
			"first_name": "string",
			"last_name": "string",
			"phone": "string",
			"email": "[email protected]",
			"role_type": 0,
			"vat_id": "string",
			"address_country": "string",
			"address_city": "string",
			"address_line1": "string",
			"address_line2": "string",
			"address_postal_code": "string"
		}
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKBerhasil dibuatInline

Struktur respons

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Batalkan pesanan

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/order/close \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/order/close

Body parameter

{
	"trade_no": "string"
}

Parameter

NamaLokasiTipeWajibDeskripsi
bodybodyobjecttruenone
» trade_nobodystringtruenone

Contoh respons

200 Response

{
	"code": 0,
	"message": "Operasi berhasil",
	"data": {}
}

Respons

Kode statusMaknaDeskripsiModel
200OKOperasi berhasilSuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Pesan pra-periksa

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/order/check \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/order/check

Dipanggil sebelum membuat pesanan, ini digunakan untuk melihat pratinjau harga, diskon, detail pembaruan IP, dll. Pesanan tidak akan benar-benar dibuat. Parameternya sama persis dengan /end-point/order/create.

Body parameter

{
	"pid": 0,
	"upids": "string",
	"amount": 1,
	"pm_id": 0,
	"region_list": "string",
	"coupon_sn": "string",
	"renew_duration": "1m",
	"product_sku_bandwidth_id": 0,
	"product_sku_concurrency_id": 0,
	"product_sku_duration_id": 0,
	"etd": 1,
	"recharge_amount": 0
}

Parameter

| Nama | Lokasi | Tipe | Wajib | Deskripsi | | ---------------------------- | ------ | ------- | ----- | ---------------------------------------------------------------------- | --------------------- | | body | body | object | true | none | | » pid | body | integer | true | ID Paket | | » upids | body | string | false | Perpanjangan IP: daftar ID paket pengguna, dipisahkan dengan koma | | » amount | body | integer | false | Kuantitas pembelian | | » pm_id | body | integer | true | ID metode pembayaran | | » region_list | body | string | false | Wilayah pembelian IP statis + kuantitas, format: ID wilayah, kuantitas | ID wilayah, kuantitas | | » coupon_sn | body | string | false | Nomor kupon | | » renew_duration | body | string | false | Periode perpanjangan IP: 1m=1 bulan, 2m=2 bulan, em=akhir bulan depan | | » product_sku_bandwidth_id | body | integer | false | Jenis paket=11Diperlukan: ID Spesifikasi Bandwidth | | » product_sku_concurrency_id | body | integer | false | Jenis paket=11Diperlukan: ID spesifikasi konkurensi | | » product_sku_duration_id | body | integer | false | Jenis paket=11Diperlukan: ID Spesifikasi Durasi | | » etd | body | integer | false | Durasi kelipatan, diperoleh dari paket extension_of_time_days | | » recharge_amount | body | number | false | Jenis paket=3Diperlukan: jumlah isi ulang |

Enumerated Values

ParameterValue
» renew_duration1m
» renew_duration2m
» renew_durationem

Contoh respons

200 Response

{
	"code": 0,
	"message": "Operasi berhasil",
	"data": {
		"product_id": 0,
		"amount": 0,
		"discount_fee": 0.1,
		"total_fee": 0.1,
		"pay_fee": 0.1,
		"product_type": 0,
		"title": "string",
		"detail": "string",
		"ip_result": [
			{
				"ip": "string",
				"price": 0.1,
				"country_code": "string",
				"current_time": "2019-08-24T14:15:22Z",
				"renewal_time": "2019-08-24T14:15:22Z",
				"country": {
					"name_zh_cn": "string",
					"flag": "string",
					"square_flag": "string"
				}
			}
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPra-penerbangan berhasilInline

Struktur respons

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Daftar putih IP

Daftar daftar putih IP

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/proxy-ip/list?app_key=pa%24%24word \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/proxy-ip/list

Parameter

NamaLokasiTipeWajibDeskripsi
app_keyquerystring(password)trueKunci otentikasi
product_typequeryintegerfalseNomor jenis paket

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"list": [
			{
				"ip": "1.1.1.1",
				"remark": "string",
				"product_type": 0,
				"created_at": "string"
			}
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 sukses
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» ipstringfalsenoneIP daftar putih
»»» remarkstringfalsenoneKomentar
»»» product_typeintegerfalsenoneJenis paket
»»» created_atstringfalsenonewaktu penciptaan
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Tambahkan daftar putih IP

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/proxy-ip/add \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/proxy-ip/add

Body parameter

{
	"app_key": "string",
	"ips": "1.1.1.1,2.2.2.2",
	"remark": "string",
	"product_type": 0,
	"user_product_id": 0
}

Parameter

NamaLokasiTipeWajibDeskripsi
bodybodyobjectfalsenone
» app_keybodystringfalseKunci otorisasi
» ipsbodystringfalseDaftar putih IP yang perlu ditambahkan, pisahkan beberapa IP dengan koma atau baris baru.
» remarkbodystringfalseKomentar
» product_typebodyintegerfalseNomor jenis paket
» user_product_idbodyintegerfalseID paket pengguna, diperlukan bila jenis paket adalah 11

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": null
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 sukses
» msgstringfalsenonePesan status
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Hapus daftar putih IP

Contoh kode

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/proxy-ip/delete \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/proxy-ip/delete

Body parameter

{
	"app_key": "string",
	"ips": "1.1.1.1,2.2.2.2",
	"verify_type": "string",
	"verify_code": "string"
}

Parameter

NamaLokasiTipeWajibDeskripsi
bodybodyobjectfalsenone
» app_keybodystringfalseKunci otorisasi
» ipsbodystringfalseDaftar putih IP yang perlu dihapus, beberapa IP dipisahkan dengan koma
» verify_typebodystringfalseJenis verifikasi: telepon, email, wechat, totp
» verify_codebodystringfalseKode verifikasi

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": null
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 sukses
» msgstringfalsenonePesan status
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Kueri log lalu lintas

Penggunaan lalu lintas diringkas berdasarkan hari

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-usage-flow/total?app_key=pa%24%24word \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-usage-flow/total

Parameter

NamaLokasiTipeWajibDeskripsi
app_keyquerystring(password)trueKunci otentikasi
start_timequerystring(Y-m-d H:i:s)falseWaktu mulai, akurat hingga detik. Harap dicatat bahwa logging tertunda dalam 5 menit. Defaultnya adalah dalam 7 hari.
end_timequerystring(Y-m-d H:i:s)falseBatas waktu, akurat hingga detik. Harap dicatat bahwa logging tertunda dalam 5 menit. Waktu default saat ini.
usernamequerystringfalseNama sub-akun, kueri semua akun secara default, sub-akun dapat ditentukan. Harap perhatikan bahwa jika Anda menambahkan sub-akun dengan nama yang sama, kueri ini akan mengembalikan semua catatan penggunaan untuk akun agen dengan nama yang sama.
product_typequerynumberfalseJenis paket

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"list": [
			{
				"day": "2022-08-01",
				"flow": 0
			}
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» daystringfalsenonetanggal
»»» flowintegerfalsenoneLalu lintas konsumsi, satuan KB
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Kueri paket

Daftar paket yang dibeli

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-product/list?app_key=pa%24%24word \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-product/list

Parameter

NamaLokasiTipeWajibDeskripsi
app_keyquerystring(password)trueKunci otentikasi
trade_noquerystringfalseNomor pesanan, silakan masukkan nomor pesanan secara lengkap. Pencarian fuzzy tidak didukung.
pagequerynumberfalsePaginasi, default: 1
sizequerynumberfalseJumlah halaman yang ditampilkan, default: 20
product_typequerynumberfalseJenis paket

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"list": [
			{
				"id": 0,
				"created_at": "2022-05-13 12:14:15",
				"expired_at": "2022-05-13 12:14:15",
				"product_type": 9,
				"trade_no": "2022051312134339861461465434",
				"order": {
					"created_at": "2022-05-13 12:13:43",
					"pay_at": "2022-05-13 12:13:43",
					"title": "tingkat masuk"
				}
			}
		],
		"page": 1,
		"page_size": 20,
		"total_count": 0,
		"total_page": 0
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» idintegerfalsenoneNomor paket
»»» created_atstringfalsenonePaket waktu efektif
»»» expired_atstringfalsenoneWaktu kedaluwarsa paket. Setelah habis masa berlakunya, lalu lintas tidak dapat digunakan.
»»» product_typeproductTypesfalsenoneJenis paket, 9 paket lalu lintas perumahan dinamis, 11 IP perumahan dinamis, 14 IP pusat data statis, 25 IP perumahan statis
»»» trade_nostringfalsenoneNomor transaksi pesanan
»»» orderobjectfalsenonenone
»»»» created_atstringfalsenoneWaktu pembuatan pesanan
»»»» pay_atstringfalsenoneWaktu pembayaran pesanan
»»»» titlestringfalsenoneDeskripsi pesanan
»» pageintegerfalsenoneHalaman saat ini
»» page_sizeintegerfalsenoneukuran halaman
»» total_countintegerfalsenoneJumlah total catatan
»» total_pageintegerfalsenoneJumlah total halaman

Enumerated Values

PropertiNilai
product_type9
product_type11
product_type14
product_type25
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Ringkasan data paket pengguna

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-product/summary?app_key=pa%24%24word \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-product/summary

Dapatkan informasi ringkasan statistik paket pengguna, termasuk jumlah total, jumlah efektif, jumlah yang akan datang, jumlah yang kedaluwarsa, dll.

Parameter

NamaLokasiTipeWajibDeskripsi
app_keyquerystring(password)trueKunci otentikasi
product_typequeryintegerfalseJenis produk, hanya mendukung 9 (paket lalu lintas dinamis), 12 (paket lalu lintas IDC jangka panjang)

Enumerated Values

ParameterValue
product_type9
product_type12

Contoh respons

200 Response

{
	"code": 200,
	"msg": "kesuksesan",
	"data": {
		"total": 1048576,
		"total_count": 5,
		"effective": 524288,
		"effective_count": 3,
		"effective_total": 786432,
		"effective_used": 262144,
		"temporary": 102400,
		"temporary_count": 1,
		"expired": 51200,
		"expired_count": 1,
		"used": 473088
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» totalintegerfalsenoneLalu Lintas/Total volume IP (satuan: KB)
»» total_countintegerfalsenoneJumlah total paket
»» effectiveintegerfalsenoneJumlah sisa efektif (satuan: KB)
»» effective_countintegerfalsenoneJumlah paket yang valid
»» effective_totalintegerfalsenoneJumlah total efektif (satuan: KB)
»» effective_usedintegerfalsenoneJumlah efektif yang digunakan (satuan: KB)
»» temporaryintegerfalsenoneJumlah total yang harus dibayar (jatuh tempo dalam 7 hari, satuan: KB)
»» temporary_countintegerfalsenoneJumlah paket yang kedaluwarsa (kedaluwarsa dalam 7 hari)
»» expiredintegerfalsenoneSisa jumlah yang habis masa berlakunya (satuan: KB)
»» expired_countintegerfalsenoneJumlah paket kadaluwarsa
»» usedintegerfalsenoneJumlah total yang digunakan (satuan: KB)
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Ekstraksi IP

Ekstrak IP

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/v3?app_key=pa%24%24word \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/v3

Parameter

NamaLokasiTipeWajibDeskripsi
app_keyquerystring(password)truekunci akses
ccquerystringfalseNegara atau wilayah
statequerystringfalseprovinsi atau negara bagian
cityquerystringfalseKota
formatquerystringfalseDapatkan formatnya
lbquerystringfalsePemisah, hanya berlaku dalam format teks
numquerynumberfalseEkstrak kuantitas
lifequerynumberfalsePeriode penahanan adalah menit
epquerystringfalsejaringan proksi

Enumerated Values

ParameterValue
epus
ephk
epde

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"list": [
			[
				"150.109.114.72:1140",
				"150.109.114.72:1141",
				"150.109.114.72:1142",
				"150.109.114.72:1143",
				"150.109.114.72:1144",
				"150.109.114.72:1145",
				"150.109.114.72:1146",
				"150.109.114.72:1147",
				"150.109.114.72:1148",
				"150.109.114.72:1149"
			]
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» list[any]falsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Daftar kota regional dinamis V4

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dcl4?username=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dcl4

Dapatkan daftar kota berdasarkan nama pengguna, otentikasi login diperlukan, dan akun harus milik pengguna saat ini

Parameter

NamaLokasiTipeWajibDeskripsi
usernamequerystringtrueNama pengguna akun agen

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"cache": true,
		"list": [
			{
				"City": "Los Angeles",
				"Area": "US",
				"State": "California"
			}
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 sukses
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» cachebooleanfalsenoneEntah itu berasal dari cache
»» list[object]falsenonenone
»»» CitystringfalsenoneKota
»»» Areastringfalsenonedaerah
»»» StatestringfalsenoneNegara Bagian/Provinsi
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Daftar regional negara bagian/provinsi yang dinamis V4

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dsl4?username=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dsl4

Dapatkan daftar negara bagian/provinsi berdasarkan nama pengguna, otentikasi login diperlukan, dan akun harus milik pengguna saat ini

Parameter

NamaLokasiTipeWajibDeskripsi
usernamequerystringtrueNama pengguna akun agen

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"cache": true,
		"list": [
			{
				"City": "Los Angeles",
				"Area": "US",
				"State": "California"
			}
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 sukses
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» cachebooleanfalsenoneEntah itu berasal dari cache
»» list[object]falsenonenone
»»» CitystringfalsenoneKota
»»» Areastringfalsenonedaerah
»»» StatestringfalsenoneNegara Bagian/Provinsi
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Daftar fusi kota negara bagian/provinsi regional yang dinamis V4

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dal4?username=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dal4

Dapatkan daftar gabungan negara bagian/provinsi dan kota berdasarkan nama pengguna, dikelompokkan berdasarkan wilayah. Otentikasi login diperlukan, dan akun tersebut harus milik pengguna saat ini

Parameter

NamaLokasiTipeWajibDeskripsi
usernamequerystringtrueNama pengguna akun agen

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"cache": true,
		"list": [
			{
				"Area": "US",
				"states": [
					{
						"State": "California",
						"cities": ["Los Angeles"]
					}
				]
			}
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 sukses
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» cachebooleanfalsenoneEntah itu berasal dari cache
»» list[object]falsenoneDaftar wilayah
»»» Areastringfalsenonekode wilayah
»»» states[object]falsenoneDaftar Negara Bagian/Provinsi
»»»» StatestringfalsenoneNama negara bagian/provinsi
»»»» cities[string]falsenoneDaftar kota
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Daftar kota

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dynamic-citys \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dynamic-citys

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"list": [
			{
				"name_zh_cn": "Amerika Serikat",
				"name_en": "United States",
				"continent_code": "NA",
				"country_code": "US",
				"items": [
					{
						"city": "Arlington",
						"state": "alabama",
						"continent_code": "NA",
						"country_code": "US"
					}
				]
			}
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» list[object]falsenonedaftar
»»» name_zh_cnstringfalsenoneNama negara atau wilayah
»»» name_enstringfalsenoneNama negara atau wilayah
»»» continent_codestringfalsenonekode benua
»»» country_codestringfalsenoneKode negara atau wilayah
»»» items[any]falsenoneprovinsi atau negara bagian
»»»» citystringfalsenonenama kota
»»»» statestringfalsenoneKode nama provinsi atau negara bagian
»»»» continent_codestringfalsenonekode benua
»»»» country_codestringfalsenoneKode negara atau wilayah
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Pencarian kota

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dynamic-citys/search?country_code=string&state=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dynamic-citys/search

Parameter

NamaLokasiTipeWajibDeskripsi
country_codequerystringtrueKode negara atau wilayah
statequerystringtrueKode negara bagian atau provinsi

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"list": ["string"]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» list[string]falsenonedaftar
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Daftar Negara

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dynamic-states \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dynamic-states

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"list": [
			{
				"name_zh_cn": "Amerika Serikat",
				"name_en": "United States",
				"continent_code": "NA",
				"country_code": "US",
				"items": [
					{
						"state": "alabama",
						"continent_code": "NA",
						"country_code": "US"
					}
				]
			}
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» list[object]falsenonedaftar
»»» name_zh_cnstringfalsenoneNama negara atau wilayah
»»» name_enstringfalsenoneNama negara atau wilayah
»»» continent_codestringfalsenonekode benua
»»» country_codestringfalsenoneKode negara atau wilayah
»»» items[any]falsenoneprovinsi atau negara bagian
»»»» statestringfalsenoneKode nama provinsi atau negara bagian
»»»» continent_codestringfalsenonekode benua
»»»» country_codestringfalsenoneKode negara atau wilayah
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Pencarian Negara Bagian/Provinsi

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dynamic-states/search?country_code=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dynamic-states/search

Parameter

NamaLokasiTipeWajibDeskripsi
country_codequerystringtrueKode negara atau wilayah

Contoh respons

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"list": ["string"]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi.
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» list[string]falsenonedaftar
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Ekstrak daftar IP statis yang dibeli

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/get-static-ip \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/get-static-ip

Parameter

NamaLokasiTipeWajibDeskripsi
country_codequerystringfalseKode negara atau wilayah
product_typequerynumberfalseTipe Produk, 25: IP Perumahan Statis, 14: IP Pusat Data
trade_noquerystringfalseFilter IP berdasarkan nomor pesanan
pagequerynumberfalsenomor halaman
sizequerynumberfalseJumlah per halaman
statusquerynumberfalseStatus, 1: valid, 2: tidak valid, 3: akan kedaluwarsa, 4: dalam pemeliharaan

Enumerated Values

ParameterValue
product_type14
product_type25
status1 - 2 - 3 - 4

Respons

Kode statusMaknaDeskripsiModel
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Dapatkan jumlah IP statis yang dijual di wilayah tersebut

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/static-ip-region \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/static-ip-region

Parameter

NamaLokasiTipeWajibDeskripsi
ispqueryintegerfalsePemfilteran ISP, tidak ada pemfilteran jika tidak dikirimkan (defaultnya adalah 1 kecuali situs 1/4/5)
asnqueryintegerfalseApakah akan mengembalikan data paket ASN
exclusivequeryintegerfalseApakah akan menghitung berdasarkan inventaris eksklusif

Detailed descriptions

isp: Pemfilteran ISP, tidak ada pemfilteran jika tidak dikirimkan (defaultnya adalah 1 kecuali situs 1/4/5)

nilaideskripsi
0IP Statis Pusat Data (IDC)
1Beranda IP Statis (ISP)

asn: Apakah akan mengembalikan data paket ASN

nilaideskripsi
0Jangan kembalikan data paket ASN (default)
1Mengembalikan data paket ASN

exclusive: Apakah akan menghitung berdasarkan inventaris eksklusif

nilaideskripsi
0Statistik berdasarkan kaliber pengguna/grup berbagi saat ini (default)
1Kecualikan semua IP yang ditetapkan dan hanya hitung inventaris yang tersedia

Enumerated Values

ParameterValue
isp0
isp1
asn0
asn1
exclusive0
exclusive1

Contoh respons

200 Response

{
	"code": 200,
	"msg": "Permintaan berhasil",
	"data": {
		"list": [
			{
				"code": "US",
				"number": 55
			}
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 sukses
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» list[any]falsenonenone
»»» codestringfalsenoneKode negara atau wilayah
»»» numberintegerfalsenonekuantitas
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Dapatkan negara/wilayah yang didukung host_pool

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/host-pool/regions \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/host-pool/regions

Kueri daftar negara/wilayah yang didukung oleh situs layanan host_pool saat ini.

Antarmuka ini berorientasi pada skenario ekstraksi acak IP pusat data berdasarkan titik lalu lintas, dan hanya menghitung negara/wilayah berdasarkan inventaris IP pusat data yang tersedia di situs saat ini. ASN, ISP, pemfilteran inventaris eksklusif tidak didukung, dan IP tidak dikecualikan oleh catatan yang dibeli pengguna.

Contoh respons

200 Response

{
	"code": 200,
	"msg": "Permintaan berhasil",
	"data": {
		"list": [
			{
				"code": "US",
				"number": 55,
				"name_zh_cn": "Amerika Serikat",
				"name_en": "United States",
				"square_flag": "https://example.com/static/flags/us.png"
			}
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKPermintaan berhasilInline

Struktur respons

Kode status 200

NamaTipeWajibBatasanDeskripsi
» codeintegerfalsenoneKode status, 200 sukses
» msgstringfalsenonePesan status
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» codestringfalsenoneKode negara atau wilayah, ISO 3166-1 alpha-2
»»» numberintegerfalsenoneJumlah IP pusat data yang tersedia di situs saat ini
»»» name_zh_cnstringfalsenoneNama Cina negara atau wilayah
»»» name_enstringfalsenoneNama negara atau wilayah dalam bahasa Inggris
»»» square_flagstringfalsenoneURL Gambar Bendera Persegi
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Manajemen pembayaran

Dapatkan daftar metode pembayaran

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/payment/groups \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/payment/groups

Parameter

NamaLokasiTipeWajibDeskripsi
trade_noqueryundefinedfalseNomor pesanan - dapat diteruskan ketika beberapa pesanan memerlukan metode pembayaran tertentu

Contoh respons

200 Response

{
	"code": 0,
	"message": "Operasi berhasil",
	"data": {
		"list": [
			{
				"name": "string",
				"logos": ["string"],
				"items": [
					{
						"id": 0,
						"title": "string",
						"logo": "string",
						"group": "string",
						"disabled": false,
						"min": 0,
						"max": 0
					}
				]
			}
		]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKmendapatkan kesuksesanInline

Struktur respons

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Pemasaran

Rasio bonus isi ulang

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/activity/balance-recharge-gift-ratio \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/activity/balance-recharge-gift-ratio

Rasio bonus isi ulang

Contoh respons

200 Response

{
	"code": 0,
	"message": "Operasi berhasil",
	"data": {
		"list": [null]
	}
}

Respons

Kode statusMaknaDeskripsiModel
200OKOKInline

Struktur respons

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Produk

Daftar produk

Contoh kode

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/product \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/product

Dapatkan daftar paket yang tersedia untuk dibeli di situs saat ini, dan dukung pemfilteran berdasarkan jenis, masa berlaku, dan ketentuan lainnya.

Parameter

NamaLokasiTipeWajibDeskripsi
typequeryintegerfalseJenis paket, lihat deskripsi enumerasi Product.type. Jika tidak lolos, semua tipe akan dikembalikan.
parent_product_typequeryintegerfalseTipe paket induk, hanya berlaku jika tipe=19 (perpanjangan IP), digunakan untuk memfilter lini produk: 14=pusat data 25=perumahan
time_daysqueryanyfalsePemfilteran periode validitas, mendukung nilai atau larik tunggal, seperti 30 / [30,90,365]
show_typequeryanyfalsePemfilteran tipe tampilan, mendukung nilai tunggal atau array

Enumerated Values

ParameterValue
parent_product_type14
parent_product_type25

Contoh respons

200 Response

{
	"code": 0,
	"message": "Operasi berhasil",
	"data": [
		{
			"id": 0,
			"title": "string",
			"type": 0,
			"show_type": 0,
			"status": 0,
			"price": 0.1,
			"usd_price": 0.1,
			"price_hkd": 0.1,
			"original_price": 0.1,
			"original_usd_price": 0.1,
			"original_price_hkd": 0.1,
			"local_price": 0.1,
			"local_original_price": 0.1,
			"preferred_currency": "string",
			"support_currencies": "string",
			"flow_value": 0.1,
			"flow_give": 0.1,
			"balance_give": 0.1,
			"balance_value": 0.1,
			"time_validity": 0.1,
			"time_price": 0.1,
			"time_days": 0,
			"tip1": "string",
			"tip2": "string",
			"introduce": ["string"],
			"region_list_id": 0,
			"renew_product_list": "string",
			"parent_product_type": 0,
			"total_count": 0,
			"remain_count": 0,
			"extension_of_time_days": [0],
			"time_days_price_rate": 0.1,
			"desc": {
				"subtitle": "string",
				"flow_value": 0.1,
				"flow_give": 0.1,
				"balance_give": 0.1,
				"time_validity": 0.1,
				"time_price": 0.1,
				"tip1": "string",
				"tip2": "string",
				"introduce": ["string"]
			},
			"sku": {
				"bandwidth_list": [
					{
						"id": 0,
						"value": 0,
						"price": 0.1,
						"price_usd": 0.1,
						"price_hkd": 0.1
					}
				],
				"duration_list": [
					{
						"id": 0,
						"value": 0,
						"price": 0.1,
						"price_usd": 0.1,
						"price_hkd": 0.1
					}
				],
				"concurrency_list": [
					{
						"id": 0,
						"value": 0,
						"price": 0.1,
						"price_usd": 0.1,
						"price_hkd": 0.1
					}
				]
			}
		}
	]
}

Respons

Kode statusMaknaDeskripsiModel
200OKOKInline

Struktur respons

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Schemas

productTypes

9

Jenis paket, 9 paket lalu lintas perumahan dinamis, 11 IP perumahan dinamis, 14 IP pusat data statis, 25 IP perumahan statis

Properties

NamaTipeWajibBatasanDeskripsi
anonymousintegerfalsenoneJenis paket, 9 paket lalu lintas perumahan dinamis, 11 IP perumahan dinamis, 14 IP pusat data statis, 25 IP perumahan statis

Enumerated Values

PropertiNilai
anonymous9
anonymous11
anonymous14
anonymous25

apiKey

{}

Kunci otentikasi

Properties

None

responseCode

200

Kode status, 200 berhasil, 3 app_key tidak valid

Properties

NamaTipeWajibBatasanDeskripsi
anonymousintegerfalsenoneKode status, 200 berhasil, 3 app_key tidak valid

responseMsg

"success"

pesan respons

Properties

NamaTipeWajibBatasanDeskripsi
anonymousstringfalsenonepesan respons

SuccessResponse

{
	"code": 0,
	"message": "Operasi berhasil",
	"data": {}
}

Properties

NamaTipeWajibBatasanDeskripsi
codeintegerfalsenonenone
messagestringfalsenonenone
dataobjectfalsenonenone

ErrorResponse

{
	"code": 400,
	"message": "Kesalahan parameter",
	"errors": {}
}

Properties

NamaTipeWajibBatasanDeskripsi
codeintegerfalsenonenone
messagestringfalsenonenone
errorsobjectfalsenonenone

User

{
	"id": 0,
	"email": "[email protected]",
	"phone": "string",
	"balance": 0.1,
	"status": 0,
	"is_real_name": true,
	"created_at": "2019-08-24T14:15:22Z"
}

Properties

NamaTipeWajibBatasanDeskripsi
idintegerfalsenonenone
emailstring(email)falsenonenone
phonestringfalsenonenone
balancenumber(float)falsenonenone
statusintegerfalsenonenone
is_real_namebooleanfalsenonenone
created_atstring(date-time)falsenonenone

Order

{
	"id": 0,
	"trade_no": "string",
	"out_trade_no": "string",
	"product_id": 0,
	"product_type": 0,
	"amount": 0,
	"unit_price": 0.1,
	"total_fee": 0.1,
	"goods_fee": 0.1,
	"pay_fee": 0.1,
	"discount_fee": 0.1,
	"handling_fee": 0.1,
	"refund_fee": 0.1,
	"pm_id": 0,
	"pm_title": "string",
	"pm_logo": "string",
	"status": 0,
	"title": "string",
	"detail": "string",
	"region_desc": "string",
	"pay_at": "2019-08-24T14:15:22Z",
	"pay_timestamp": 0,
	"created_at": "2019-08-24T14:15:22Z",
	"pay_fee_status": 0,
	"invoice": {
		"name": "string",
		"org_name": "string",
		"first_name": "string",
		"last_name": "string",
		"phone": "string",
		"email": "[email protected]",
		"role_type": 0,
		"vat_id": "string",
		"address_country": "string",
		"address_city": "string",
		"address_line1": "string",
		"address_line2": "string",
		"address_postal_code": "string"
	}
}

Properties

| Nama | Tipe | Wajib | Batasan | Deskripsi | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | id | integer | false | none | ID Pesanan | | trade_no | string | false | none | Nomor pesanan internal | | out_trade_no | string | false | none | Nomor pesanan eksternal | | product_id | integer | false | none | ID Paket | | product_type | integer | false | none | Jenis paket, lihat enumerasi jenis produk | | amount | integer | false | none | Kuantitas pembelian | | unit_price | number(float) | false | none | harga satuan | | total_fee | number(float) | false | none | Total harga pesanan (tidak termasuk diskon dan biaya penanganan) | | goods_fee | number(float) | false | none | Harga produk (termasuk diskon, tidak termasuk biaya penanganan) | | pay_fee | number(float) | false | none | Jumlah aktual yang dibayarkan (termasuk diskon dan biaya penanganan) | | discount_fee | number(float) | false | none | Jumlah diskon | | handling_fee | number(float) | false | none | biaya penanganan | | refund_fee | number(float) | false | none | Jumlah pengembalian dana | | pm_id | integer | false | none | ID metode pembayaran (dari /titik akhir/pembayaran/daftar) | | pm_title | string | false | none | Nama metode pembayaran | | pm_logo | string | false | none | URL Logo metode pembayaran | | status | integer | false | none | Status pesanan
| nilai | deskripsi |
| --- | --- |
| 0 | Pembayaran tertunda |
| 1 | Berbayar |
| 2 | Pembatalan batas waktu |
| 3 | Dikembalikan | | | title | string | false | none | Judul paket | | detail | string | false | none | Deskripsi paket | | region_desc | string | false | none | Deskripsi spesifikasi wilayah | | pay_at | string(date-time) | false | none | waktu pembayaran | | pay_timestamp | integer | false | none | Stempel waktu pembayaran | | created_at | string(date-time) | false | none | waktu penciptaan | | pay_fee_status | integer | false | none | Status pembayaran panjang dan pendek: 0 normal 1 pembayaran panjang (lebih bayar) 2 pembayaran pendek | | invoice | object | false | none | Informasi faktur (hanya berharga untuk pesanan pembayaran online) | | » name | string | false | none | nama lengkap | | » org_name | string | false | none | Nama perusahaan | | » first_name | string | false | none | none | | » last_name | string | false | none | none | | » phone | string | false | none | none | | » email | string(email) | false | none | none | | » role_type | integer | false | none | 1 orang 2 perusahaan | | » vat_id | string | false | none | Nomor Pokok Wajib Pajak | | » address_country | string | false | none | none | | » address_city | string | false | none | none | | » address_line1 | string | false | none | none | | » address_line2 | string | false | none | none | | » address_postal_code | string | false | none | none |

OrderCheckResult

{
	"product_id": 0,
	"amount": 0,
	"discount_fee": 0.1,
	"total_fee": 0.1,
	"pay_fee": 0.1,
	"product_type": 0,
	"title": "string",
	"detail": "string",
	"ip_result": [
		{
			"ip": "string",
			"price": 0.1,
			"country_code": "string",
			"current_time": "2019-08-24T14:15:22Z",
			"renewal_time": "2019-08-24T14:15:22Z",
			"country": {
				"name_zh_cn": "string",
				"flag": "string",
				"square_flag": "string"
			}
		}
	]
}

Hasil pra-cek pesanan

Properties

NamaTipeWajibBatasanDeskripsi
product_idintegerfalsenoneID Paket
amountintegerfalsenonekuantitas
discount_feenumber(float)falsenoneJumlah diskon
total_feenumber(float)falsenoneJumlah pesanan
pay_feenumber(float)falsenoneJumlah sebenarnya yang dibayarkan
product_typeintegerfalsenoneJenis paket
titlestringfalsenoneJudul paket
detailstringfalsenoneDeskripsi paket
ip_result[object]falsenoneHasil perpanjangan batch IP (hanya dikembalikan selama perpanjangan IP)
» ipstringfalsenonenone
» pricenumber(float)falsenonenone
» country_codestringfalsenonenone
» current_timestring(date-time)falsenonenone
» renewal_timestring(date-time)falsenonenone
» countryobjectfalsenonenone
»» name_zh_cnstringfalsenonenone
»» flagstringfalsenoneURL Bendera Lingkaran
»» square_flagstringfalsenoneURL Bendera Persegi

Product

{
	"id": 0,
	"title": "string",
	"type": 0,
	"show_type": 0,
	"status": 0,
	"price": 0.1,
	"usd_price": 0.1,
	"price_hkd": 0.1,
	"original_price": 0.1,
	"original_usd_price": 0.1,
	"original_price_hkd": 0.1,
	"local_price": 0.1,
	"local_original_price": 0.1,
	"preferred_currency": "string",
	"support_currencies": "string",
	"flow_value": 0.1,
	"flow_give": 0.1,
	"balance_give": 0.1,
	"balance_value": 0.1,
	"time_validity": 0.1,
	"time_price": 0.1,
	"time_days": 0,
	"tip1": "string",
	"tip2": "string",
	"introduce": ["string"],
	"region_list_id": 0,
	"renew_product_list": "string",
	"parent_product_type": 0,
	"total_count": 0,
	"remain_count": 0,
	"extension_of_time_days": [0],
	"time_days_price_rate": 0.1,
	"desc": {
		"subtitle": "string",
		"flow_value": 0.1,
		"flow_give": 0.1,
		"balance_give": 0.1,
		"time_validity": 0.1,
		"time_price": 0.1,
		"tip1": "string",
		"tip2": "string",
		"introduce": ["string"]
	},
	"sku": {
		"bandwidth_list": [
			{
				"id": 0,
				"value": 0,
				"price": 0.1,
				"price_usd": 0.1,
				"price_hkd": 0.1
			}
		],
		"duration_list": [
			{
				"id": 0,
				"value": 0,
				"price": 0.1,
				"price_usd": 0.1,
				"price_hkd": 0.1
			}
		],
		"concurrency_list": [
			{
				"id": 0,
				"value": 0,
				"price": 0.1,
				"price_usd": 0.1,
				"price_hkd": 0.1
			}
		]
	}
}

Properties

| Nama | Tipe | Wajib | Batasan | Deskripsi | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | id | integer | false | none | ID Paket | | title | string | false | none | Judul utama paket | | type | integer | false | none | Jenis paket
| nilai | deskripsi |
| --- | --- |
| 3 | Isi ulang saldo |
| 9 | Paket lalu lintas perumahan dinamis |
| 10 | Paket paket global dinamis |
| 11 | Paket global dinamis yang disesuaikan V2 (termasuk SKU) |
| 12 | Paket trafik IDC jangka panjang |
| 13 | Paket Lalu Lintas IP Statis Perumahan |
| 14 | Paket IP statis pusat data |
| 15 | Paket lalu lintas ISP jangka panjang |
| 16 | Paket lalu lintas statis |
| 17 | Paket IP Perumahan Dinamis |
| 19 | Paket Pembaruan IP Statis |
| 20 | Kualifikasi penggantian IP statis |
| 21 | Paket IP Perumahan Statis |
| 24 | Paket tambahan lalu lintas statis |
| 25 | Paket tarif IP statis | | | show_type | integer | false | none | Tipe tampilan: 1 Biasa 2 Rekomendasi besar 3 Tidak tersedia untuk dibeli (perlu penyesuaian) 4 Uji coba | | status | integer | false | none | Status: 1 di rak 0 di luar rak | | price | number(float) | false | none | harga RMB | | usd_price | number(float) | false | none | harga dolar | | price_hkd | number(float) | false | none | harga dolar hongkong | | original_price | number(float) | false | none | Harga asli (CNY) | | original_usd_price | number(float) | false | none | Harga asli (USD) | | original_price_hkd | number(float) | false | none | Harga asli (HKD) | | local_price | number(float) | false | none | Harga yang dilokalkan (tergantung pada mata uang_pilihan) | | local_original_price | number(float) | false | none | Harga asli yang dilokalkan (tergantung pada mata uang_pilihan) | | preferred_currency | string | false | none | Disarankan untuk menampilkan mata uang, seperti usd/cny/hkd | | support_currencies | string | false | none | Daftar mata uang yang didukung, dipisahkan dengan koma, seperti usd, cny | | flow_value | number(float) | false | none | Lalu lintas default paket data (GB) | | flow_give | number(float) | false | none | Lalu lintas gratis (GB) | | balance_give | number(float) | false | none | Bonus isi ulang saldo | | balance_value | number(float) | false | none | Jumlah isi ulang | | time_validity | number(float) | false | none | Masa berlaku default paket standar | | time_price | number(float) | false | none | Harga paket standar per IP | | time_days | integer | false | none | Jumlah hari validitas, misalnya 30/90/180/365 | | tip1 | string | false | none | Deskripsi label 1 | | tip2 | string | false | none | Deskripsi label 2 | | introduce | [string] | false | none | Daftar pengenalan teks | | region_list_id | integer | false | none | ID Wilayah | | renew_product_list | string | false | none | Daftar ID paket yang dapat diperbarui (dipisahkan koma) | | parent_product_type | integer | false | none | Tipe paket induk (berlaku jika tipe=19): 14 atau 25 | | total_count | integer | false | none | Total persediaan, 0 berarti tidak ada batasan | | remain_count | integer | false | none | sisa stok | | extension_of_time_days | [integer] | false | none | Daftar kelipatan durasi. Jika kosong atau hanya berisi 1 berarti tidak didukung. | | time_days_price_rate | number(float) | false | none | Koefisien harga durasi, harga × (1 + (kalikan-1) × tarif) | | desc | object | false | none | Informasi deskripsi paket | | » subtitle | string | false | none | subjudul | | » flow_value | number(float) | false | none | none | | » flow_give | number(float) | false | none | none | | » balance_give | number(float) | false | none | none | | » time_validity | number(float) | false | none | none | | » time_price | number(float) | false | none | none | | » tip1 | string | false | none | none | | » tip2 | string | false | none | none | | » introduce | [string] | false | none | none | | sku | object | false | none | Parameter spesifikasi (dikembalikan saat tipe=11) | | » bandwidth_list | [object] | false | none | Daftar spesifikasi bandwidth | | »» id | integer | false | none | none | | »» value | integer | false | none | Nilai bandwidth (Mbps) | | »» price | number(float) | false | none | none | | »» price_usd | number(float) | false | none | none | | »» price_hkd | number(float) | false | none | none | | » duration_list | [object] | false | none | Daftar spesifikasi durasi | | »» id | integer | false | none | none | | »» value | integer | false | none | Durasi (hari) | | »» price | number(float) | false | none | none | | »» price_usd | number(float) | false | none | none | | »» price_hkd | number(float) | false | none | none | | » concurrency_list | [object] | false | none | Daftar spesifikasi konkurensi | | »» id | integer | false | none | none | | »» value | integer | false | none | Jumlah konkurensi | | »» price | number(float) | false | none | none | | »» price_usd | number(float) | false | none | none | | »» price_hkd | number(float) | false | none | none |

WhiteIp

{
	"id": 0,
	"ip": "string",
	"remark": "string",
	"created_at": "2019-08-24T14:15:22Z"
}

Properties

NamaTipeWajibBatasanDeskripsi
idintegerfalsenonenone
ipstringfalsenonenone
remarkstringfalsenonenone
created_atstring(date-time)falsenonenone

WhitelistAccount

{
	"id": 0,
	"username": "string",
	"limit": 0,
	"used": 0,
	"status": 0
}

Properties

NamaTipeWajibBatasanDeskripsi
idintegerfalsenonenone
usernamestringfalsenonenone
limitintegerfalsenonenone
usedintegerfalsenonenone
statusintegerfalsenonenone

Coupon

{
	"id": 0,
	"name": "string",
	"code": "string",
	"discount": 0.1,
	"expire_time": "2019-08-24T14:15:22Z"
}

Properties

NamaTipeWajibBatasanDeskripsi
idintegerfalsenonenone
namestringfalsenonenone
codestringfalsenonenone
discountnumber(float)falsenonenone
expire_timestring(date-time)falsenonenone

Article

{
	"id": 0,
	"title": "string",
	"content": "string",
	"created_at": "2019-08-24T14:15:22Z"
}

Properties

NamaTipeWajibBatasanDeskripsi
idintegerfalsenonenone
titlestringfalsenonenone
contentstringfalsenonenone
created_atstring(date-time)falsenonenone

Pagination

{
	"total": 0,
	"page_no": 0,
	"page_size": 0,
	"total_pages": 0
}

Properties

NamaTipeWajibBatasanDeskripsi
totalintegerfalsenonenone
page_nointegerfalsenonenone
page_sizeintegerfalsenonenone
total_pagesintegerfalsenonenone