911Proxy OpenAPI
app_key Kunci otentikasi, silakan masuk dan melihatnya di beranda pusat pribadi.
Harap simpan kuncinya dengan aman. Kuncinya memiliki hak administrator akun Anda.
Metode otentikasi
Autentikasi App Key
Parameter POST:
app_key: {your_app_key}
Atau sebagai parameter query:
?app_key={your_app_key}
Format respons
Semua antarmuka mengembalikan format JSON terpadu:
{
"code": 200,
"message": "Operasi berhasil",
"data": {}
}
kode: kode status, 200 menunjukkan keberhasilan, nilai lain menunjukkan kegagalanpesan: pesan tanggapan (Cina)data: data respons
Base URLs:
Autentikasi
- HTTP Authentication, scheme: bearer
- API Key (apiKeyAuth)
- Nama parameter: app_key, in: query. Mendukung GET/POST.
Manajemen akun proxy
Daftar akun agen
Contoh kode
# You can also use wget
curl -X GET https://api.911proxy.com/api-gate-way/whitelist-account/list?app_key=pa%24%24word \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/whitelist-account/list
Parameter
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| app_key | query | string(password) | true | kunci otentikasi |
Contoh respons
200 Respons
{
"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
}
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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 proksi |
| »»» password | string | false | none | Kata sandi akun agen |
| »»» created_at | string | false | none | Tambahkan waktu |
| »»» 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 aliran yang disesuaikan: unit GB maksimum 102400, 0 tanpa batas |
| »»» status | integer | false | none | Status diaktifkan: 1 diaktifkan, 0 dinonaktifkan |
Nilai yang Dihitung
| 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.911proxy.com/api-gate-way/whitelist-account/add \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/whitelist-account/add
Parameter tubuh
{
"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 |
Nilai yang Dihitung
| Parameter | Nilai |
|---|---|
| » product_type | 9 |
| » product_type | 11 |
| » product_type | 14 |
| » product_type | 25 |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": null
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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 agen
Contoh kode
# You can also use wget
curl -X POST https://api.911proxy.com/api-gate-way/whitelist-account/delete \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/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.
Parameter tubuh
{
"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 mendukung angka dan huruf. Mendukung operasi batch, koma bahasa Inggris (,) akun agen terpisah |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": null
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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.911proxy.com/api-gate-way/whitelist-account/disable \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/whitelist-account/disable
Akan ada waktu tunggu sekitar 5 menit untuk penonaktifan, selama waktu tersebut mungkin masih dikenakan biaya.
Parameter tubuh
{
"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 mendukung angka dan huruf. Mendukung operasi batch, koma bahasa Inggris (,) akun agen terpisah |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": null
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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.911proxy.com/api-gate-way/whitelist-account/enable \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/whitelist-account/enable
Parameter tubuh
{
"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 mendukung angka dan huruf. Mendukung operasi batch, koma bahasa Inggris (,) akun agen terpisah |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": null
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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.911proxy.com/api-gate-way/whitelist-account/change-password \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/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.
Parameter tubuh
{
"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 mendukung angka dan huruf. |
| » password | body | string | false | Kata sandi baru untuk akun agen, hanya didukung angka dan huruf. |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": null
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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.911proxy.com/api-gate-way/whitelist-account/change-remark \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/whitelist-account/change-remark
Parameter tubuh
{
"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 mendukung angka dan huruf. |
| » remark | body | string | false | Komentar baru untuk akun agen, dalam 32 karakter Cina atau 64 karakter Inggris. |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": null
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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.911proxy.com/api-gate-way/whitelist-account/change-limit \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/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.
Parameter tubuh
{
"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 mendukung angka dan huruf. |
| » limit | body | integer | false | Batas lalu lintas, satuan: GB, 0 berarti tidak ada batas atas |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": null
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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.911proxy.com/api-gate-way/proxy-account/change \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/proxy-account/change
Ubah kata sandi akun proxy, keterangan, batas lalu lintas, batas lalu lintas harian, status diaktifkan, atau sakelar UDP.
Parameter tubuh
{
"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 proksi |
| » password | body | string | false | Kata sandi baru, 6-16 digit atau huruf; jika tidak lolos tidak akan diubah |
| » remark | body | string | false | komentar baru |
| » limit | body | integer | false | Batas lalu lintas, satuan GB, 0 berarti tidak ada batas |
| » daily_limit | body | integer | false | Batas lalu lintas harian, satuan GB, 0 berarti tidak ada batas |
| » status | body | integer | false | status diaktifkan |
| » udp | body | integer | false | Switch dukungan UDP, hanya efektif untuk tipe paket 14, 16, 21, 25 |
Nilai yang Dihitung
| Parameter | Nilai |
|---|---|
| » status | 0 |
| » status | 1 |
| » udp | 0 |
| » udp | 1 |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": null
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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.911proxy.com/api-gate-way/order/list \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/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 kembali) |
| 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 | Menunggu pembayaran |
| 1 | Sudah dibayar |
| 2 | Dibatalkan karena melewati batas waktu pembayaran |
| 3 | Sudah direfund |
tipe_produk: Jenis produk | Jenis produk | Deskripsi | |---|---| |3|Isi ulang saldo| |9|Paket trafik dinamis| |11|Paket waktu global dinamis V2| |12|Paket trafik IDC tahan lama| |13|Paket lalu lintas IP statis perumahan| |14|Paket IP statis pusat data| |18|pengikis web| |19|perpanjangan IP statis| |20|kuota penggantian IP statis|
Nilai yang Dihitung
| Parameter | Nilai |
|---|---|
| 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 Respons
{
"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
}
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Sukses | Inline |
Struktur respons
Buat pesanan
Contoh kode
# You can also use wget
curl -X POST https://api.911proxy.com/api-gate-way/order/create \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/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.
examples:
Perbarui IP statis
{
"pid": ID paket, // diperoleh dari antarmuka /api-gate-way/produk
"upids": "1,2,3,4,5,6", // Dapatkan kolom id yang sesuai dari antarmuka /api-gate-way/ip/get-static-ip
"pm_id": 1 // Diperoleh dari antarmuka /api-gate-way/pembayaran/daftar atau /api-gate-way/pembayaran/grup
}
Pembelian IP Perumahan Statis
{
"pid": ID paket, // diperoleh dari antarmuka /api-gate-way/produk
"pm_id": ID metode pembayaran, // diperoleh dari antarmuka /api-gate-way/pembayaran/daftar atau /api-gate-way/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 antarmuka /api-gate-way/produk
"pm_id": ID metode pembayaran, // diperoleh dari antarmuka /api-gate-way/pembayaran/daftar atau /api-gate-way/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 antarmuka /api-gate-way/produk
"pm_id": ID metode pembayaran // Diperoleh dari antarmuka /api-gate-way/pembayaran/daftar atau /api-gate-way/pembayaran/grup
}
Pembelian lalu lintas rotasi statis
{
"pid": ID paket, // diperoleh dari antarmuka /api-gate-way/produk
"pm_id": ID metode pembayaran // Diperoleh dari antarmuka /api-gate-way/pembayaran/daftar atau /api-gate-way/pembayaran/grup
}
Pembelian lalu lintas dinamis tanpa batas
{
"pid": ID paket, // diperoleh dari antarmuka /api-gate-way/produk
"pm_id": ID metode pembayaran, // diperoleh dari antarmuka /api-gate-way/pembayaran/daftar atau /api-gate-way/pembayaran/grup
"product_sku_bandwidth_id": ID spesifikasi bandwidth,
"product_sku_concurrency_id": ID spesifikasi konkurensi
}
Isi ulang saldo
{
"pid": ID paket, // diperoleh dari antarmuka /api-gate-way/produk
"pm_id": ID metode pembayaran, // diperoleh dari antarmuka /api-gate-way/pembayaran/daftar atau /api-gate-way/pembayaran/grup
"recharge_amount": jumlah isi ulang
}
Parameter tubuh
{
"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 /api-gate-way/product | | » upids | body | string | false | Daftar ID paket pembaruan (dipisahkan koma), dari kolom id yang dikembalikan oleh antarmuka /api-gate-way/user-product/list atau /api-gate-way/ip/get-static-ip | | » amount | body | number | false | Jumlah paket yang baru dibeli | | » pm_id | body | integer | true | ID metode pembayaran, dari kolom id yang dikembalikan oleh antarmuka /api-gate-way/pembayaran/daftar atau /api-gate-way/pembayaran/grup | | »daftar_wilayah | tubuh | tali | salah | Tentukan wilayah + kuantitas + nomor ASN saat membeli IP statis, format: wilayah, kuantitas, ASN | wilayah, jumlah, ASN, contoh: JP,15.333 | DE,10,444 | US,5.555 (nomor ASN 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 | Durasi perpanjangan - IP statis opsional | | » product_sku_bandwidth_id | body | integer | false | Paket 11: ID paket bandwidth | | » product_sku_concurrency_id | body | integer | false | Paket 11: ID paket konkurensi | | » product_sku_duration_id | body | integer | false | Tipe paket=11Diperlukan: ID spesifikasi durasi | | » etd | body | integer | false | Kelipatan durasi, didapat dari paket extension_of_time_days, 2 mewakili jumlah hari × 2, harga akan naik | | » recharge_amount | body | integer | false | Paket 3: Jumlah isi ulang |
Contoh respons
200 Respons
{
"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"
}
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Berhasil dibuat | Inline |
Struktur respons
Batalkan pesanan
Contoh kode
# You can also use wget
curl -X POST https://api.911proxy.com/api-gate-way/order/close \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/order/close
Parameter tubuh
{
"trade_no": "string"
}
Parameter
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| body | body | object | true | none |
| » trade_no | body | string | true | none |
Contoh respons
200 Respons
{
"code": 0,
"message": "Operasi berhasil",
"data": {}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Operasi berhasil | SuccessResponse |
Pesanan sudah dicek terlebih dahulu
Contoh kode
# You can also use wget
curl -X POST https://api.911proxy.com/api-gate-way/order/check \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/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 /api-gate-way/order/create.
Parameter tubuh
{
"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 koma | | » amount | body | integer | false | jumlah pembelian | | » pm_id | body | integer | true | ID metode pembayaran | | » region_list | body | string | false | Wilayah dan jumlah untuk pembelian IP statis, format: ID wilayah,jumlah | ID wilayah, kuantitas | | » coupon_sn | body | string | false | nomor kupon | | » renew_duration | body | string | false | Durasi perpanjangan IP: 1m=1 bulan, 2m=2 bulan, em=akhir bulan depan | | » product_sku_bandwidth_id | body | integer | false | Tipe 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 | Tipe 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 |
Nilai yang Dihitung
| Parameter | Nilai |
|---|---|
| » renew_duration | 1m |
| » renew_duration | 2m |
| » renew_duration | em |
Contoh respons
200 Respons
{
"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"
}
}
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Prapenerbangan berhasil | Inline |
Struktur respons
Daftar putih IP
Daftar daftar putih IP
Contoh kode
# You can also use wget
curl -X GET https://api.911proxy.com/api-gate-way/proxy-ip/list?app_key=pa%24%24word \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/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 Respons
{
"code": 200,
"msg": "string",
"data": {
"list": [
{
"ip": "1.1.1.1",
"remark": "string",
"product_type": 0,
"created_at": "string"
}
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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 | daftar putih IP |
| »»» remark | string | false | none | komentar |
| »»» product_type | integer | false | none | Jenis paket |
| »»» created_at | string | false | none | waktu pembuatan |
Tambahkan daftar putih IP
Contoh kode
# You can also use wget
curl -X POST https://api.911proxy.com/api-gate-way/proxy-ip/add \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/proxy-ip/add
Parameter tubuh
{
"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 akan ditambahkan, beberapa dipisahkan 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 Respons
{
"code": 200,
"msg": "string",
"data": null
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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.911proxy.com/api-gate-way/proxy-ip/delete \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /api-gate-way/proxy-ip/delete
Parameter tubuh
{
"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, dipisahkan dengan koma |
| » verify_type | body | string | false | Jenis verifikasi: telepon, email, wechat, totp |
| » verify_code | body | string | false | kode verifikasi |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": null
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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 |
Permintaan log lalu lintas
Penggunaan lalu lintas diringkas berdasarkan hari
Contoh kode
# You can also use wget
curl -X GET https://api.911proxy.com/api-gate-way/user-usage-flow/total?app_key=pa%24%24word \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/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 | Waktu berakhir, 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 Respons
{
"code": 200,
"msg": "string",
"data": {
"list": [
{
"day": "2022-08-01",
"flow": 0
}
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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 | Aliran konsumsi, satuan KB |
Permintaan paket
##Daftar paket yang dibeli
Contoh kode
# You can also use wget
curl -X GET https://api.911proxy.com/api-gate-way/user-product/list?app_key=pa%24%24word \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/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 | paging, default: 1 |
| size | query | number | false | Jumlah halaman yang ditampilkan, default: 20 |
| product_type | query | number | false | jenis paket |
Contoh respons
200 Respons
{
"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 pemula"
}
}
],
"page": 1,
"page_size": 20,
"total_count": 0,
"total_page": 0
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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 | Waktu efektif paket |
| »»» expired_at | string | false | none | Waktu kedaluwarsa paket, lalu lintas tidak dapat digunakan setelah habis masa berlakunya. |
| »»» 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 pemesanan |
| »»» 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 |
Nilai yang Dihitung
| 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.911proxy.com/api-gate-way/user-product/summary?app_key=pa%24%24word \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/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) |
Nilai yang Dihitung
| Parameter | Nilai |
|---|---|
| product_type | 9 |
| product_type | 12 |
Contoh respons
200 Respons
{
"code": 200,
"pesan": "berhasil",
"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
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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 | Total lalu lintas/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 efektif |
| »» effective_total | integer | false | none | Total jumlah efektif (satuan: KB) |
| »» effective_used | integer | false | none | Jumlah Efektif Digunakan (Satuan: KB) |
| »» temporary | integer | false | none | Total jumlah sementara (berakhir dalam 7 hari, satuan: KB) |
| »» temporary_count | integer | false | none | Jumlah paket sementara (berakhir dalam 7 hari) |
| »» expired | integer | false | none | Jumlah sisa masa berlaku (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.911proxy.com/api-gate-way/ip/v3?app_key=pa%24%24word \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/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 format |
| lb | query | string | false | pemisah, hanya valid dalam format teks |
| num | query | number | false | kuantitas ekstrak |
| life | query | number | false | periode retensi-menit |
| ep | query | string | false | jaringan proksi |
Nilai yang Dihitung
| Parameter | Nilai |
|---|---|
| ep | us |
| ep | hk |
| ep | de |
Contoh respons
200 Respons
{
"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"
]
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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.911proxy.com/api-gate-way/ip/dcl4?username=string \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/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 proxy |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": {
"cache": true,
"list": [
{
"City": "Los Angeles",
"Area": "US",
"State": "California"
}
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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 | Baik 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 negara bagian/provinsi regional dinamis V4
Contoh kode
# You can also use wget
curl -X GET https://api.911proxy.com/api-gate-way/ip/dsl4?username=string \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/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 proxy |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": {
"cache": true,
"list": [
{
"City": "Los Angeles",
"Area": "US",
"State": "California"
}
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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 | Baik 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 yang dinamis V4
Contoh kode
# You can also use wget
curl -X GET https://api.911proxy.com/api-gate-way/ip/dal4?username=string \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/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 proxy |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": {
"cache": true,
"list": [
{
"Area": "US",
"states": [
{
"State": "California",
"cities": ["Los Angeles"]
}
]
}
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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 | Baik dari cache |
| »» list | [object] | false | none | daftar wilayah |
| »»» Area | string | false | none | kode area |
| »»» 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.911proxy.com/api-gate-way/ip/dynamic-citys \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/ip/dynamic-citys
Contoh respons
200 Respons
{
"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"
}
]
}
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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.911proxy.com/api-gate-way/ip/dynamic-citys/search?country_code=string&state=string \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/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 Respons
{
"code": 200,
"msg": "string",
"data": {
"list": ["string"]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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.911proxy.com/api-gate-way/ip/dynamic-states \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/ip/dynamic-states
Contoh respons
200 Respons
{
"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"
}
]
}
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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.911proxy.com/api-gate-way/ip/dynamic-states/search?country_code=string \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/ip/dynamic-states/search
Parameter
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| country_code | query | string | true | kode negara atau wilayah |
Contoh respons
200 Respons
{
"code": 200,
"msg": "string",
"data": {
"list": ["string"]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Permintaan selesai | 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.911proxy.com/api-gate-way/ip/get-static-ip \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/ip/get-static-ip
Parameter
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| country_code | query | string | false | kode negara atau wilayah |
| product_type | query | number | false | jenis 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 | nomor per halaman |
| status | query | number | false | Status, 1: valid, 2: tidak valid, 3: akan habis masa berlakunya, 4: dalam pemeliharaan |
Nilai yang Dihitung
| Parameter | Nilai |
|---|---|
| product_type | 14 |
| product_type | 25 |
| status | 1 - 2 - 3 - 4 |
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|
Dapatkan jumlah IP statis yang dijual di wilayah tersebut
Contoh kode
# You can also use wget
curl -X GET https://api.911proxy.com/api-gate-way/ip/static-ip-region \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/ip/static-ip-region
Parameter
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| isp | query | integer | false | Pemfilteran ISP, jika tidak lolos, tidak ada pemfilteran (kecuali situs 1/4/5, defaultnya adalah 1) |
| asn | query | integer | false | Apakah akan mengembalikan data kelompok ASN |
| exclusive | query | integer | false | apakah akan menghitung inventaris eksklusif |
Detailed descriptions
isp: Pemfilteran ISP, tidak ada pemfilteran jika tidak lolos (defaultnya adalah 1 kecuali situs 1/4/5)
| Nilai | Deskripsi |
|---|---|
| 0 | IP statis data center (IDC) |
| 1 | IP statis residensial (ISP) |
asn: Apakah akan mengembalikan data paket ASN
| Nilai | Deskripsi |
|---|---|
| 0 | Jangan kembalikan data pengelompokan ASN (default) |
| 1 | Kembalikan data pengelompokan ASN |
eksklusif: Apakah akan dihitung berdasarkan inventaris eksklusif
| Nilai | Deskripsi |
|---|---|
| 0 | Statistik berdasarkan pengguna saat ini/grup bersama (default) |
| 1 | Kecualikan semua IP yang sudah dialokasikan, hanya hitung stok yang tersedia |
Nilai yang Dihitung
| Parameter | Nilai |
|---|---|
| isp | 0 |
| isp | 1 |
| asn | 0 |
| asn | 1 |
| exclusive | 0 |
| exclusive | 1 |
Contoh respons
200 Respons
{
"code": 200,
"msg": "Permintaan berhasil",
"data": {
"list": [
{
"code": "US",
"number": 55
}
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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.911proxy.com/api-gate-way/host-pool/regions \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/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 Respons
{
"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"
}
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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 untuk negara atau wilayah |
| »»» name_en | string | false | none | Nama bahasa Inggris untuk negara atau wilayah |
| »»» 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.911proxy.com/api-gate-way/payment/groups \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/payment/groups
Parameter
| Nama | Lokasi | Tipe | Wajib | Deskripsi |
|---|---|---|---|---|
| trade_no | query | undefined | false | Nomor pesanan - dapat diteruskan ketika beberapa pesanan perlu mendapatkan metode pembayaran tertentu |
Contoh respons
200 Respons
{
"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
}
]
}
]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | Berhasil diperoleh | Inline |
Struktur respons
pemasaran
Isi ulang rasio bonus
Contoh kode
# You can also use wget
curl -X GET https://api.911proxy.com/api-gate-way/activity/balance-recharge-gift-ratio \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/activity/balance-recharge-gift-ratio
Rasio bonus isi ulang
Contoh respons
200 Respons
{
"code": 0,
"message": "Operasi berhasil",
"data": {
"list": [null]
}
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 200 | OK | OK | Inline |
Struktur respons
produk
Daftar Produk
Contoh kode
# You can also use wget
curl -X GET https://api.911proxy.com/api-gate-way/product \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
GET /api-gate-way/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 hari validitas, mendukung nilai atau larik tunggal, seperti 30 / [30,90,365] |
| show_type | query | any | false | Pemfilteran tipe tampilan, mendukung nilai tunggal atau array |
Detailed descriptions
type: Jenis paket, lihat deskripsi enumerasi Product.type. Jika tidak lolos, semua tipe akan dikembalikan.
Nilai yang Dihitung
| Parameter | Nilai |
|---|---|
| parent_product_type | 14 |
| parent_product_type | 25 |
Contoh respons
200 Respons
{
"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
}
]
}
}
]
}
Tanggapan
| Kode status | Arti | Deskripsi | Model data |
|---|---|---|---|
| 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
Properti
| 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 |
Nilai yang Dihitung
| Properti | Nilai |
|---|---|
| anonymous | 9 |
| anonymous | 11 |
| anonymous | 14 |
| anonymous | 25 |
apiKey
{}
Kunci otentikasi
Properti
None
responseCode
200
Kode status, 200 berhasil, 3 app_key tidak valid
Properti
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| anonymous | integer | false | none | Kode status, 200 berhasil, 3 app_key tidak valid |
responseMsg
"success"
response message
Properti
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| anonymous | string | false | none | response message |
Respons Sukses
{
"code": 0,
"message": "Operasi berhasil",
"data": {}
}
Properti
| Nama | Tipe | Wajib | Batasan | Deskripsi |
|---|---|---|---|---|
| code | integer | false | none | none |
| message | string | false | none | none |
| data | object | false | none | none |
Respon Kesalahan
{
"code": 400,
"pesan": "Kesalahan parameter",
"errors": {}
}
Properti
| 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"
}
Properti
| 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"
}
}
Properti
| 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 pembayaran aktual (termasuk diskon, termasuk 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 /api-gate-way/pembayaran/daftar) | | pm_title | string | false | none | Nama metode pembayaran | | pm_logo | string | false | none | URL Logo metode pembayaran | | status | bilangan bulat | salah | tidak ada | 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 pembuatan | | 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 perintah pembayaran online yang memiliki nilai) | | » 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 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
Properti
| 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 total 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 pembaharuan batch IP (hanya dikembalikan pada saat pembaharuan 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 bulat |
| »» 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
}
]
}
}
Properti
| Nama | Tipe | Wajib | Batasan | Deskripsi | | ---------------------- | ------------- | ----- | ---- | --------------------------------------------------- | --- | ---- | ---- | --- | --- | ---- | --- | -------- | ---- | --- | ---------------- | ---- | --- | ---------------- | ---- | --- | ------------------------------- | ---- | --- | --------------- | ---- | --- | ------------------ | ---- | --- | ------------------ | ---- | --- | --------------- | ---- | --- | ------------ | ---- | --- | -------------- | ---- | --- | -------------- | ---- | --- | -------------- | ---- | --- | -------------- | ---- | --- | ------------------ | ---- | --- | -------------- | --- | | id | integer | false | none | ID Paket | | title | string | false | none | Judul utama paket | | ketik | bilangan bulat | salah | tidak ada | Jenis paket
| Nilai | Deskripsi |
| --- | --- |
| 3 | Isi ulang saldo |
| 9 | Paket lalu lintas perumahan dinamis |
| 10 | Paket waktu global dinamis |
| 11 | Paket waktu 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 perpanjangan 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 | Jenis tampilan: 1 Normal 2 Rekomendasi besar 3 Tidak tersedia untuk dibeli (perlu penyesuaian) 4 Uji Coba | | status | integer | false | none | Status: 1 di rak 0 dari rak | | price | number(float) | false | none | Harga RMB | | usd_price | number(float) | false | none | harga USD | | price_hkd | number(float) | false | none | Harga dolar Hong Kong | | 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 | Mata uang tampilan yang disarankan, 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 lalu lintas (GB) | | flow_give | number(float) | false | none | Aliran bebas (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, seperti 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 batas | | remain_count | integer | false | none | Sisa persediaan | | 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 + (kelipatan-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"
}
Properti
| 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
}
Properti
| 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"
}
Properti
| 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"
}
Properti
| 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
}
Properti
| 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 |