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.200berarti berhasil; nilai lain berarti gagal.message: Pesan respons.data: Data respons.
Base URLs:
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| app_key | query | string(password) | true | Kunci 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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | responseCode | false | none | Kode status, 200 berhasil, 3 app_key tidak valid |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» list | [object] | false | none | none |
| »»» id | integer | false | none | Nomor rekening |
| »»» username | string | false | none | Nama akun agen |
| »»» password | string | false | none | Kata sandi akun agen |
| »»» created_at | string | false | none | Waktu dibuat |
| »»» remark | string | false | none | Komentar |
| »»» product_type | productTypes | false | none | Jenis paket, 9 paket lalu lintas perumahan dinamis, 11 IP perumahan dinamis, 14 IP pusat data statis, 25 IP perumahan statis |
| »»» usage_flow | integer | false | none | Lalu lintas yang digunakan, satuan: KB |
| »»» limit_flow | integer | false | none | Batas lalu lintas yang disesuaikan: unit maksimum GB adalah 102400, 0 tanpa batas |
| »»» status | integer | false | none | Status diaktifkan: 1 diaktifkan, 0 dinonaktifkan |
Enumerated Values
| Properti | Nilai |
|---|---|
| product_type | 9 |
| product_type | 11 |
| product_type | 14 |
| product_type | 25 |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| body | body | object | false | none |
| » app_key | body | string | false | Kunci otorisasi |
| » accounts | body | string | false | Password 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 (,). |
| » remark | body | string | false | Deskripsi akun agen |
| » product_type | body | productTypes | false | Jenis paket, 9 paket lalu lintas perumahan dinamis, 11 IP perumahan dinamis, 14 IP pusat data statis, 25 IP perumahan statis |
Enumerated Values
| Parameter | Value |
|---|---|
| » product_type | 9 |
| » product_type | 11 |
| » product_type | 14 |
| » product_type | 25 |
Contoh respons
200 Response
{
"code": 200,
"msg": "string",
"data": null
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | null | false | none | none |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| body | body | object | false | none |
| » app_key | body | string | false | Kunci otorisasi |
| » accounts | body | string | false | Akun 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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | null | false | none | none |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| body | body | object | false | none |
| » app_key | body | string | false | Kunci otorisasi |
| » accounts | body | string | false | Akun 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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | null | false | none | none |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| body | body | object | false | none |
| » app_key | body | string | false | Kunci otorisasi |
| » accounts | body | string | false | Akun 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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | null | false | none | none |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| body | body | object | false | none |
| » app_key | body | string | false | Kunci otorisasi |
| » account | body | string | false | Akun agen, hanya didukung angka dan huruf. |
| » password | body | string | false | Password baru akun agen, hanya support angka dan huruf saja. |
Contoh respons
200 Response
{
"code": 200,
"msg": "string",
"data": null
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | null | false | none | none |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| body | body | object | false | none |
| » app_key | body | string | false | Kunci otorisasi |
| » account | body | string | false | Akun agen, hanya didukung angka dan huruf. |
| » remark | body | string | false | Komentar baru untuk akun agensi, dalam 32 karakter China atau 64 karakter Inggris. |
Contoh respons
200 Response
{
"code": 200,
"msg": "string",
"data": null
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | null | false | none | none |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| body | body | object | false | none |
| » app_key | body | string | false | Kunci otorisasi |
| » account | body | string | false | Akun agen, hanya didukung angka dan huruf. |
| » limit | body | integer | false | Batas lalu lintas, satuan: GB, 0 berarti tidak ada batas atas |
Contoh respons
200 Response
{
"code": 200,
"msg": "string",
"data": null
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | null | false | none | none |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| body | body | object | false | none |
| » app_key | body | string | false | Kunci otorisasi |
| » account | body | string | false | Nama akun agen |
| » password | body | string | false | Kata sandi baru, 6-16 digit atau huruf; jika tidak lolos, tidak akan diubah. |
| » remark | body | string | false | Catatan baru |
| » limit | body | integer | false | Batas lalu lintas, satuan GB, 0 berarti tidak ada batas |
| » daily_limit | body | integer | false | Batas lalu lintas harian dalam GB, 0 berarti tidak ada batas |
| » status | body | integer | false | Status diaktifkan |
| » udp | body | integer | false | Switch dukungan UDP, hanya efektif untuk paket tipe 14, 16, 21, dan 25 |
Enumerated Values
| Parameter | Value |
|---|---|
| » status | 0 |
| » status | 1 |
| » udp | 0 |
| » udp | 1 |
Contoh respons
200 Response
{
"code": 200,
"msg": "string",
"data": null
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 sukses |
| » msg | string | false | none | Pesan status |
| » data | null | false | none | none |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| page_no | query | integer | false | none |
| page_size | query | integer | false | none |
| trade_no | query | string | false | nomor pesanan |
| start_time | query | string(date-time) | false | Waktu mulai (inklusif), seperti 01-01-2024 00:00:00 |
| end_time | query | string(date-time) | false | Waktu berakhir (tidak termasuk) |
| status | query | integer | false | Status pesanan |
| product_type | query | integer | false | jenis produk |
| invoice | query | integer | false | Status invoice: 0 tanpa batas 1 invoice -1 uninvoiced (dapat diterbitkan ulang) |
| pay_fee_status | query | integer | false | Penyaringan pembayaran panjang dan pendek: 1 Kelebihan pembayaran 2 Pembayaran pendek |
Detailed descriptions
status: Status pesanan
| Status | Deskripsi |
|---|---|
| 0 | Pembayaran tertunda |
| 1 | Berbayar |
| 2 | Dibatalkan karena lembur dan tidak dibayar |
| 3 | Dikembalikan |
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
| Parameter | Value |
|---|---|
| status | 0 |
| status | 1 |
| status | 2 |
| status | 3 |
| product_type | 3 |
| product_type | 9 |
| product_type | 11 |
| product_type | 12 |
| product_type | 14 |
| product_type | 16 |
| product_type | 17 |
| product_type | 18 |
| product_type | 19 |
| product_type | 21 |
| product_type | 24 |
| product_type | 25 |
| product_type | 26 |
| product_type | 27 |
| product_type | 28 |
| invoice | -1 |
| invoice | 0 |
| invoice | 1 |
| pay_fee_status | 1 |
| pay_fee_status | 2 |
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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | kesuksesan | Inline |
Struktur respons
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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Berhasil dibuat | Inline |
Struktur respons
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| body | body | object | true | none |
| » trade_no | body | string | true | none |
Contoh respons
200 Response
{
"code": 0,
"message": "Operasi berhasil",
"data": {}
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Operasi berhasil | SuccessResponse |
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
| Parameter | Value |
|---|---|
| » renew_duration | 1m |
| » renew_duration | 2m |
| » renew_duration | em |
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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Pra-penerbangan berhasil | Inline |
Struktur respons
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| app_key | query | string(password) | true | Kunci otentikasi |
| product_type | query | integer | false | Nomor 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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 sukses |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» list | [object] | false | none | none |
| »»» ip | string | false | none | IP daftar putih |
| »»» remark | string | false | none | Komentar |
| »»» product_type | integer | false | none | Jenis paket |
| »»» created_at | string | false | none | waktu penciptaan |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| body | body | object | false | none |
| » app_key | body | string | false | Kunci otorisasi |
| » ips | body | string | false | Daftar putih IP yang perlu ditambahkan, pisahkan beberapa IP dengan koma atau baris baru. |
| » remark | body | string | false | Komentar |
| » product_type | body | integer | false | Nomor jenis paket |
| » user_product_id | body | integer | false | ID paket pengguna, diperlukan bila jenis paket adalah 11 |
Contoh respons
200 Response
{
"code": 200,
"msg": "string",
"data": null
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 sukses |
| » msg | string | false | none | Pesan status |
| » data | null | false | none | none |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| body | body | object | false | none |
| » app_key | body | string | false | Kunci otorisasi |
| » ips | body | string | false | Daftar putih IP yang perlu dihapus, beberapa IP dipisahkan dengan koma |
| » verify_type | body | string | false | Jenis verifikasi: telepon, email, wechat, totp |
| » verify_code | body | string | false | Kode verifikasi |
Contoh respons
200 Response
{
"code": 200,
"msg": "string",
"data": null
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 sukses |
| » msg | string | false | none | Pesan status |
| » data | null | false | none | none |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| app_key | query | string(password) | true | Kunci otentikasi |
| start_time | query | string(Y-m-d H:i:s) | false | Waktu mulai, akurat hingga detik. Harap dicatat bahwa logging tertunda dalam 5 menit. Defaultnya adalah dalam 7 hari. |
| end_time | query | string(Y-m-d H:i:s) | false | Batas waktu, akurat hingga detik. Harap dicatat bahwa logging tertunda dalam 5 menit. Waktu default saat ini. |
| username | query | string | false | Nama 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_type | query | number | false | Jenis paket |
Contoh respons
200 Response
{
"code": 200,
"msg": "string",
"data": {
"list": [
{
"day": "2022-08-01",
"flow": 0
}
]
}
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» list | [object] | false | none | none |
| »»» day | string | false | none | tanggal |
| »»» flow | integer | false | none | Lalu lintas konsumsi, satuan KB |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| app_key | query | string(password) | true | Kunci otentikasi |
| trade_no | query | string | false | Nomor pesanan, silakan masukkan nomor pesanan secara lengkap. Pencarian fuzzy tidak didukung. |
| page | query | number | false | Paginasi, default: 1 |
| size | query | number | false | Jumlah halaman yang ditampilkan, default: 20 |
| product_type | query | number | false | Jenis 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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» list | [object] | false | none | none |
| »»» id | integer | false | none | Nomor paket |
| »»» created_at | string | false | none | Paket waktu efektif |
| »»» expired_at | string | false | none | Waktu kedaluwarsa paket. Setelah habis masa berlakunya, lalu lintas tidak dapat digunakan. |
| »»» product_type | productTypes | false | none | Jenis paket, 9 paket lalu lintas perumahan dinamis, 11 IP perumahan dinamis, 14 IP pusat data statis, 25 IP perumahan statis |
| »»» trade_no | string | false | none | Nomor transaksi pesanan |
| »»» order | object | false | none | none |
| »»»» created_at | string | false | none | Waktu pembuatan pesanan |
| »»»» pay_at | string | false | none | Waktu pembayaran pesanan |
| »»»» title | string | false | none | Deskripsi pesanan |
| »» page | integer | false | none | Halaman saat ini |
| »» page_size | integer | false | none | ukuran halaman |
| »» total_count | integer | false | none | Jumlah total catatan |
| »» total_page | integer | false | none | Jumlah total halaman |
Enumerated Values
| Properti | Nilai |
|---|---|
| product_type | 9 |
| product_type | 11 |
| product_type | 14 |
| product_type | 25 |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| app_key | query | string(password) | true | Kunci otentikasi |
| product_type | query | integer | false | Jenis produk, hanya mendukung 9 (paket lalu lintas dinamis), 12 (paket lalu lintas IDC jangka panjang) |
Enumerated Values
| Parameter | Value |
|---|---|
| product_type | 9 |
| product_type | 12 |
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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» total | integer | false | none | Lalu Lintas/Total volume IP (satuan: KB) |
| »» total_count | integer | false | none | Jumlah total paket |
| »» effective | integer | false | none | Jumlah sisa efektif (satuan: KB) |
| »» effective_count | integer | false | none | Jumlah paket yang valid |
| »» effective_total | integer | false | none | Jumlah total efektif (satuan: KB) |
| »» effective_used | integer | false | none | Jumlah efektif yang digunakan (satuan: KB) |
| »» temporary | integer | false | none | Jumlah total yang harus dibayar (jatuh tempo dalam 7 hari, satuan: KB) |
| »» temporary_count | integer | false | none | Jumlah paket yang kedaluwarsa (kedaluwarsa dalam 7 hari) |
| »» expired | integer | false | none | Sisa jumlah yang habis masa berlakunya (satuan: KB) |
| »» expired_count | integer | false | none | Jumlah paket kadaluwarsa |
| »» used | integer | false | none | Jumlah total yang digunakan (satuan: KB) |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| app_key | query | string(password) | true | kunci akses |
| cc | query | string | false | Negara atau wilayah |
| state | query | string | false | provinsi atau negara bagian |
| city | query | string | false | Kota |
| format | query | string | false | Dapatkan formatnya |
| lb | query | string | false | Pemisah, hanya berlaku dalam format teks |
| num | query | number | false | Ekstrak kuantitas |
| life | query | number | false | Periode penahanan adalah menit |
| ep | query | string | false | jaringan proksi |
Enumerated Values
| Parameter | Value |
|---|---|
| ep | us |
| ep | hk |
| ep | de |
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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» list | [any] | false | none | none |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| username | query | string | true | Nama pengguna akun agen |
Contoh respons
200 Response
{
"code": 200,
"msg": "string",
"data": {
"cache": true,
"list": [
{
"City": "Los Angeles",
"Area": "US",
"State": "California"
}
]
}
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 sukses |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» cache | boolean | false | none | Entah itu berasal dari cache |
| »» list | [object] | false | none | none |
| »»» City | string | false | none | Kota |
| »»» Area | string | false | none | daerah |
| »»» State | string | false | none | Negara Bagian/Provinsi |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| username | query | string | true | Nama pengguna akun agen |
Contoh respons
200 Response
{
"code": 200,
"msg": "string",
"data": {
"cache": true,
"list": [
{
"City": "Los Angeles",
"Area": "US",
"State": "California"
}
]
}
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 sukses |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» cache | boolean | false | none | Entah itu berasal dari cache |
| »» list | [object] | false | none | none |
| »»» City | string | false | none | Kota |
| »»» Area | string | false | none | daerah |
| »»» State | string | false | none | Negara Bagian/Provinsi |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| username | query | string | true | Nama 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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 sukses |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» cache | boolean | false | none | Entah itu berasal dari cache |
| »» list | [object] | false | none | Daftar wilayah |
| »»» Area | string | false | none | kode wilayah |
| »»» states | [object] | false | none | Daftar Negara Bagian/Provinsi |
| »»»» State | string | false | none | Nama negara bagian/provinsi |
| »»»» cities | [string] | false | none | Daftar kota |
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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» list | [object] | false | none | daftar |
| »»» name_zh_cn | string | false | none | Nama negara atau wilayah |
| »»» name_en | string | false | none | Nama negara atau wilayah |
| »»» continent_code | string | false | none | kode benua |
| »»» country_code | string | false | none | Kode negara atau wilayah |
| »»» items | [any] | false | none | provinsi atau negara bagian |
| »»»» city | string | false | none | nama kota |
| »»»» state | string | false | none | Kode nama provinsi atau negara bagian |
| »»»» continent_code | string | false | none | kode benua |
| »»»» country_code | string | false | none | Kode negara atau wilayah |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| country_code | query | string | true | Kode negara atau wilayah |
| state | query | string | true | Kode negara bagian atau provinsi |
Contoh respons
200 Response
{
"code": 200,
"msg": "string",
"data": {
"list": ["string"]
}
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» list | [string] | false | none | daftar |
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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» list | [object] | false | none | daftar |
| »»» name_zh_cn | string | false | none | Nama negara atau wilayah |
| »»» name_en | string | false | none | Nama negara atau wilayah |
| »»» continent_code | string | false | none | kode benua |
| »»» country_code | string | false | none | Kode negara atau wilayah |
| »»» items | [any] | false | none | provinsi atau negara bagian |
| »»»» state | string | false | none | Kode nama provinsi atau negara bagian |
| »»»» continent_code | string | false | none | kode benua |
| »»»» country_code | string | false | none | Kode negara atau wilayah |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| country_code | query | string | true | Kode negara atau wilayah |
Contoh respons
200 Response
{
"code": 200,
"msg": "string",
"data": {
"list": ["string"]
}
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid, 156 akun tidak diautentikasi. |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» list | [string] | false | none | daftar |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| country_code | query | string | false | Kode negara atau wilayah |
| product_type | query | number | false | Tipe Produk, 25: IP Perumahan Statis, 14: IP Pusat Data |
| trade_no | query | string | false | Filter IP berdasarkan nomor pesanan |
| page | query | number | false | nomor halaman |
| size | query | number | false | Jumlah per halaman |
| status | query | number | false | Status, 1: valid, 2: tidak valid, 3: akan kedaluwarsa, 4: dalam pemeliharaan |
Enumerated Values
| Parameter | Value |
|---|---|
| product_type | 14 |
| product_type | 25 |
| status | 1 - 2 - 3 - 4 |
Respons
| Kode status | Makna | Deskripsi | Model |
|---|
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| isp | query | integer | false | Pemfilteran ISP, tidak ada pemfilteran jika tidak dikirimkan (defaultnya adalah 1 kecuali situs 1/4/5) |
| asn | query | integer | false | Apakah akan mengembalikan data paket ASN |
| exclusive | query | integer | false | Apakah akan menghitung berdasarkan inventaris eksklusif |
Detailed descriptions
isp: Pemfilteran ISP, tidak ada pemfilteran jika tidak dikirimkan (defaultnya adalah 1 kecuali situs 1/4/5)
| nilai | deskripsi |
|---|---|
| 0 | IP Statis Pusat Data (IDC) |
| 1 | Beranda IP Statis (ISP) |
asn: Apakah akan mengembalikan data paket ASN
| nilai | deskripsi |
|---|---|
| 0 | Jangan kembalikan data paket ASN (default) |
| 1 | Mengembalikan data paket ASN |
exclusive: Apakah akan menghitung berdasarkan inventaris eksklusif
| nilai | deskripsi |
|---|---|
| 0 | Statistik berdasarkan kaliber pengguna/grup berbagi saat ini (default) |
| 1 | Kecualikan semua IP yang ditetapkan dan hanya hitung inventaris yang tersedia |
Enumerated Values
| Parameter | Value |
|---|---|
| isp | 0 |
| isp | 1 |
| asn | 0 |
| asn | 1 |
| exclusive | 0 |
| exclusive | 1 |
Contoh respons
200 Response
{
"code": 200,
"msg": "Permintaan berhasil",
"data": {
"list": [
{
"code": "US",
"number": 55
}
]
}
}
Respons
| Kode status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 sukses |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» list | [any] | false | none | none |
| »»» code | string | false | none | Kode negara atau wilayah |
| »»» number | integer | false | none | kuantitas |
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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | Permintaan berhasil | Inline |
Struktur respons
Kode status 200
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| » code | integer | false | none | Kode status, 200 sukses |
| » msg | string | false | none | Pesan status |
| » data | object | false | none | none |
| »» list | [object] | false | none | none |
| »»» code | string | false | none | Kode negara atau wilayah, ISO 3166-1 alpha-2 |
| »»» number | integer | false | none | Jumlah IP pusat data yang tersedia di situs saat ini |
| »»» name_zh_cn | string | false | none | Nama Cina negara atau wilayah |
| »»» name_en | string | false | none | Nama negara atau wilayah dalam bahasa Inggris |
| »»» square_flag | string | false | none | URL Gambar Bendera Persegi |
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| trade_no | query | undefined | false | Nomor 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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | mendapatkan kesuksesan | Inline |
Struktur respons
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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | OK | Inline |
Struktur respons
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
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| type | query | integer | false | Jenis paket, lihat deskripsi enumerasi Product.type. Jika tidak lolos, semua tipe akan dikembalikan. |
| parent_product_type | query | integer | false | Tipe paket induk, hanya berlaku jika tipe=19 (perpanjangan IP), digunakan untuk memfilter lini produk: 14=pusat data 25=perumahan |
| time_days | query | any | false | Pemfilteran periode validitas, mendukung nilai atau larik tunggal, seperti 30 / [30,90,365] |
| show_type | query | any | false | Pemfilteran tipe tampilan, mendukung nilai tunggal atau array |
Enumerated Values
| Parameter | Value |
|---|---|
| parent_product_type | 14 |
| parent_product_type | 25 |
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 status | Makna | Deskripsi | Model |
|---|---|---|---|
| 200 | OK | OK | Inline |
Struktur respons
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
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| anonymous | integer | false | none | Jenis paket, 9 paket lalu lintas perumahan dinamis, 11 IP perumahan dinamis, 14 IP pusat data statis, 25 IP perumahan statis |
Enumerated Values
| Properti | Nilai |
|---|---|
| anonymous | 9 |
| anonymous | 11 |
| anonymous | 14 |
| anonymous | 25 |
apiKey
{}
Kunci otentikasi
Properties
None
responseCode
200
Kode status, 200 berhasil, 3 app_key tidak valid
Properties
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| anonymous | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid |
responseMsg
"success"
pesan respons
Properties
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| anonymous | string | false | none | pesan respons |
SuccessResponse
{
"code": 0,
"message": "Operasi berhasil",
"data": {}
}
Properties
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| code | integer | false | none | none |
| message | string | false | none | none |
| data | object | false | none | none |
ErrorResponse
{
"code": 400,
"message": "Kesalahan parameter",
"errors": {}
}
Properties
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| code | integer | false | none | none |
| message | string | false | none | none |
| errors | object | false | none | none |
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
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| id | integer | false | none | none |
| string(email) | false | none | none | |
| phone | string | false | none | none |
| balance | number(float) | false | none | none |
| status | integer | false | none | none |
| is_real_name | boolean | false | none | none |
| created_at | string(date-time) | false | none | none |
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
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| product_id | integer | false | none | ID Paket |
| amount | integer | false | none | kuantitas |
| discount_fee | number(float) | false | none | Jumlah diskon |
| total_fee | number(float) | false | none | Jumlah pesanan |
| pay_fee | number(float) | false | none | Jumlah sebenarnya yang dibayarkan |
| product_type | integer | false | none | Jenis paket |
| title | string | false | none | Judul paket |
| detail | string | false | none | Deskripsi paket |
| ip_result | [object] | false | none | Hasil perpanjangan batch IP (hanya dikembalikan selama perpanjangan IP) |
| » ip | string | false | none | none |
| » price | number(float) | false | none | none |
| » country_code | string | false | none | none |
| » current_time | string(date-time) | false | none | none |
| » renewal_time | string(date-time) | false | none | none |
| » country | object | false | none | none |
| »» name_zh_cn | string | false | none | none |
| »» flag | string | false | none | URL Bendera Lingkaran |
| »» square_flag | string | false | none | URL 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
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| id | integer | false | none | none |
| ip | string | false | none | none |
| remark | string | false | none | none |
| created_at | string(date-time) | false | none | none |
WhitelistAccount
{
"id": 0,
"username": "string",
"limit": 0,
"used": 0,
"status": 0
}
Properties
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| id | integer | false | none | none |
| username | string | false | none | none |
| limit | integer | false | none | none |
| used | integer | false | none | none |
| status | integer | false | none | none |
Coupon
{
"id": 0,
"name": "string",
"code": "string",
"discount": 0.1,
"expire_time": "2019-08-24T14:15:22Z"
}
Properties
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| id | integer | false | none | none |
| name | string | false | none | none |
| code | string | false | none | none |
| discount | number(float) | false | none | none |
| expire_time | string(date-time) | false | none | none |
Article
{
"id": 0,
"title": "string",
"content": "string",
"created_at": "2019-08-24T14:15:22Z"
}
Properties
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| id | integer | false | none | none |
| title | string | false | none | none |
| content | string | false | none | none |
| created_at | string(date-time) | false | none | none |
Pagination
{
"total": 0,
"page_no": 0,
"page_size": 0,
"total_pages": 0
}
Properties
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| total | integer | false | none | none |
| page_no | integer | false | none | none |
| page_size | integer | false | none | none |
| total_pages | integer | false | none | none |