API Referansı
Faturalandırma
Bakiye, kullanım, maliyet tahmini ve bakiye yükleme uçları.
Bakiye, kullanım, maliyet tahmini ve bakiye yükleme uçları.
Tüm yollar
https://kaptan.isnet.net.trtabanına görecelidir. Korumalı uçlarAuthorization: Bearer <token>başlığı ister.
/
| Method | Yol | Açıklama |
|---|---|---|
| GET | /api/v1/ | Tek kayıt getir |
/billing
| Method | Yol | Açıklama |
|---|---|---|
| GET | /api/v1/billing | Listele |
| GET | /api/v1/billing/* | Tek kayıt getir |
| POST | /api/v1/billing/* | Oluştur |
| GET | /api/v1/billing/company/member-spend | Listele |
| GET | /api/v1/billing/project-budget/* | Tek kayıt getir |
| POST | /api/v1/billing/topup/callback | Oluştur |
/pricing
| Method | Yol | Açıklama |
|---|---|---|
| GET | /api/v1/pricing | Fiyatlar |
| GET | /api/v1/pricing/* | Tek kayıt getir |
Örnekler
Maliyet tahmini — POST /api/v1/billing/estimate
curl -s -X POST https://kaptan.isnet.net.tr/api/v1/billing/estimate \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"cpu_cores":2,"memory_gb":4,"storage_gb":20,"gpu_type":"mig","mig_profile":"1g.18gb"}'Yanıt
{ "success": true, "data": { "cpu_cost": 0.10, "memory_cost": 0.08, "storage_cost": 0.20, "gpu_cost": 0.84, "total_hourly": 1.22 } }Bakiye yükle (havale) — POST /api/v1/billing/topup/bank-transfer
curl -s -X POST https://kaptan.isnet.net.tr/api/v1/billing/topup/bank-transfer \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"amount":500,"accept_agreement":true}'Yanıt
{ "success": true, "data": { "order": { "reference_code": "KPT-XXXXXX", "status": "pending_review" }, "iban": "TR29 ...", "account_name": "İş Net ..." } }Bu sayfa yardımcı oldu mu?

Gao Kaptan Docs