API Docs

Dokumentasi API

Kirim API key lewat header Authorization: Bearer <YOUR_KEY>.

Mulai cepat
curl "https://api.axmisu.com/v1/profile" \
  -H "Authorization: Bearer YOUR_KEY"
Base URL
https://api.axmisu.com/v1

Profile

GET/profile

Info akun & saldo.

Contoh Request
curl "https://api.axmisu.com/v1/profile" \
  -H "Authorization: Bearer YOUR_KEY"
Respons Contoh Respons
{
  "success": true,
  "name": "Budi",
  "email": "budi@gmail.com",
  "saldo": 15000,
  "total_transaksi": 12,
  "total_transaksi_sukses": 11
}

Order

POST/order

Membuat order. Produk dipilih lewat type: panel, panel-renew, premium, nokos.

Parameter
typestring (panel | panel-renew | premium | nokos)bodywajib
specsstringbody

Spek panel (type panel), lihat katalog panel.

namestringbody

Nama server panel (type panel). Jika kosong, dibuat acak.

uuidstringbody

8 karakter pertama uuid server (type panel-renew).

daysintegerbody

Lama sewa panel dalam hari.

typesstring (nodejs | python | golang | rust)body
productIdintegerbody

ID produk. Type premium: id dari katalog premium. Type nokos (opsional): id dari katalog nokos-products; bila kosong dipilih produk termurah.

countrystringbody

ID negara (type nokos).

produkstringbody

Kode layanan (type nokos).

operatorstringbody
max_priceintegerbody

Opsional, type nokos tanpa productId. Batas harga dalam Rupiah.

type: panel
curl -X POST "https://api.axmisu.com/v1/order" \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "panel",
  "specs": "ultra",
  "name": "axmisu",
  "days": 5,
  "types": "nodejs"
}'

Opsional: name, days (maks 30), types (nodejs/python/golang/rust).

Respons type: panel
{
  "success": true,
  "order": {
    "order_id": "AX-PANEL-K7M2Q9XD4B",
    "panel_url": "https://panel.example.com",
    "price": 1350,
    "account": {
      "username": "axmisu",
      "password": "axmisu#a1bXY2",
      "id": 135,
      "uuid": "7b341851-28c7-42d9-8764-b3381782595b"
    }
  }
}
type: panel-renew
curl -X POST "https://api.axmisu.com/v1/order" \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "panel-renew",
  "uuid": "7b341851",
  "days": 7
}'

Sekali perpanjang maks 30 hari. Total masa aktif panel maks 45 hari. uuid adalah 8 karakter pertama uuid server dari respons panel.

Respons type: panel-renew
{
  "success": true,
  "message": "Server diperpanjang.",
  "price": 1890
}
type: premium
curl -X POST "https://api.axmisu.com/v1/order" \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "premium",
  "productId": 1
}'
Respons type: premium
{
  "success": true,
  "order": {
    "order_id": "AX-PREM-K7M2Q9XD4B",
    "product_name": "Capcut Pro 1 Bulan",
    "price": 12000,
    "status": "pending"
  }
}
type: nokos
curl -X POST "https://api.axmisu.com/v1/order" \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "nokos",
  "country": "6",
  "produk": "whatsapp",
  "operator": "any"
}'

Opsional: operator (id dari katalog nokos-operators, default any), productId (id dari katalog nokos-products).

Respons type: nokos
{
  "success": true,
  "order": {
    "order_id": "AX-NOKOS-K7M2Q9XD4B",
    "phone_number": "628123456789",
    "price": 4200,
    "expired_at": 1780000000000,
    "status": "pending"
  }
}
type: nokos (pilih produk)
curl -X POST "https://api.axmisu.com/v1/order" \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "nokos",
  "country": "6",
  "produk": "whatsapp",
  "operator": "any",
  "productId": 1369231885
}'

productId dari katalog nokos-products. Tidak bisa digabung dengan max_price.

Respons type: nokos (pilih produk)
{
  "success": true,
  "order": {
    "order_id": "AX-NOKOS-K7M2Q9XD4B",
    "phone_number": "628123456789",
    "price": 2394,
    "expired_at": 1780000000000,
    "status": "pending"
  }
}

Cek Order

GET/order/:order_id

Cek status order (panel, premium, nomor). Status: pending, success, failed.

Parameter
order_idstringpathwajib

ID order dari respons /order.

Contoh Request
curl "https://api.axmisu.com/v1/order/AX-NOKOS-K7M2Q9XD4B" \
  -H "Authorization: Bearer YOUR_KEY"
Respons Nomor
{
  "success": true,
  "order": {
    "type": "nomor",
    "status": "success",
    "order_id": "AX-NOKOS-K7M2Q9XD4B",
    "price": 4200,
    "number": "628123456789",
    "otp": "123456",
    "expired_at": 1780000000000
  }
}
Respons Premium
{
  "success": true,
  "order": {
    "type": "premium",
    "status": "success",
    "order_id": "AX-PREM-K7M2Q9XD4B",
    "price": 12000,
    "account": {
      "username": "email@example.com",
      "password": "pass123"
    }
  }
}
Respons Panel
{
  "success": true,
  "order": {
    "type": "panel",
    "status": "success",
    "order_id": "AX-PANEL-K7M2Q9XD4B",
    "price": 1350,
    "action": "order",
    "server": "axmisu",
    "uuid": "7b341851-28c7-42d9-8764-b3381782595b"
  }
}

Katalog

GET/catalog

Daftar produk. type: panel, premium, nokos-countries, nokos-operators, nokos-services, nokos-products.

Parameter
typestringquerywajib
countrystringquery

ID negara dari nokos-countries. Wajib untuk nokos-operators, nokos-services, dan nokos-products.

produkstringquery

Kode layanan dari nokos-services. Wajib untuk nokos-operators dan nokos-products.

operatorstringquery

ID operator dari nokos-operators (default any). Hanya untuk nokos-products.

type: panel
curl "https://api.axmisu.com/v1/catalog?type=panel" \
  -H "Authorization: Bearer YOUR_KEY"
Respons type: panel
{
  "success": true,
  "types": {
    "nodejs": {
      "label": "NodeJS",
      "specs": {
        "ultra": {
          "cpu": 200,
          "ram": 4096,
          "pricePerDay": 270
        }
      }
    }
  },
  "max_days": 30,
  "max_total_days": 45
}
type: premium
curl "https://api.axmisu.com/v1/catalog?type=premium" \
  -H "Authorization: Bearer YOUR_KEY"
Respons type: premium
{
  "success": true,
  "products": [
    {
      "id": 1,
      "name": "Capcut Pro 1 Bulan",
      "description": "Fitur premium unlocked.",
      "price": 12000,
      "status": "available",
      "stock": 154
    },
    {
      "id": 2,
      "name": "Netflix Private",
      "description": "",
      "price": 35000,
      "status": "unavailable",
      "stock": 0
    }
  ]
}
type: nokos-countries
curl "https://api.axmisu.com/v1/catalog?type=nokos-countries" \
  -H "Authorization: Bearer YOUR_KEY"
Respons type: nokos-countries
{
  "success": true,
  "countries": [
    {
      "id": "6",
      "name": "Indonesia",
      "flag": "🇮🇩"
    }
  ]
}
type: nokos-operators
curl "https://api.axmisu.com/v1/catalog?type=nokos-operators&country=6&produk=whatsapp" \
  -H "Authorization: Bearer YOUR_KEY"
Respons type: nokos-operators
{
  "success": true,
  "operators": [
    {
      "id": "any",
      "name": "Random Operator"
    },
    {
      "id": "telkomsel",
      "name": "Telkomsel"
    }
  ]
}
type: nokos-services
curl "https://api.axmisu.com/v1/catalog?type=nokos-services&country=6" \
  -H "Authorization: Bearer YOUR_KEY"
Respons type: nokos-services
{
  "success": true,
  "services": [
    {
      "produk": "whatsapp",
      "provider": null,
      "service_name": "WhatsApp",
      "count": 35966,
      "rate_otp": 78.5,
      "price": 4200
    }
  ]
}
type: nokos-products
curl "https://api.axmisu.com/v1/catalog?type=nokos-products&country=6&produk=whatsapp&operator=any" \
  -H "Authorization: Bearer YOUR_KEY"
Respons type: nokos-products
{
  "success": true,
  "tiers": [
    {
      "id": 1370358872,
      "server_id": "1",
      "price": 2383,
      "available": 360,
      "rate_otp": 50
    },
    {
      "id": 1369231885,
      "server_id": "1",
      "price": 2394,
      "available": 362,
      "rate_otp": 67.8
    }
  ]
}

Batalkan Order

POST/cancel

Batalkan order yang masih pending (saat ini: nomor).

Parameter
order_idstringbodywajib
Contoh Request
curl -X POST "https://api.axmisu.com/v1/cancel" \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "order_id": "AX-NOKOS-K7M2Q9XD4B"
}'
Respons Contoh Respons
{
  "success": true,
  "message": "Pesanan dibatalkan."
}

Resend OTP

POST/resend

Kirim ulang SMS OTP untuk order nomor yang sudah success dan belum melewati expired_at. Gratis. Status dan OTP sebelumnya tetap dipertahankan; bila ada SMS baru, OTP diperbarui otomatis dan dikirim ke webhook.

Parameter
order_idstringbodywajib
Contoh Request
curl -X POST "https://api.axmisu.com/v1/resend" \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "order_id": "AX-NOKOS-K7M2Q9XD4B"
}'
Respons Contoh Respons
{
  "success": true,
  "resent": true,
  "message": "SMS berikutnya akan tiba secara otomatis."
}

Webhook

POSTWebhook URL di Profil

Dikirim ke Webhook URL di Profil untuk order premium dan nomor. Balas dengan status 2xx; pengiriman yang gagal diulang hingga 3 kali. Header X-Axmisu-Signature berisi HMAC-SHA256 (hex) dari body mentah, dengan Secret Webhook sebagai kunci (Dashboard → Profil → API Key).

Payload Nomor
{
  "type": "nomor",
  "status": "success",
  "order_id": "AX-NOKOS-K7M2Q9XD4B",
  "product": "Nomor Virtual whatsapp — Indonesia",
  "price": 4200,
  "number": "628123456789",
  "otp": "123456",
  "service": "whatsapp",
  "expired_at": 1780000000000
}
Payload Premium
{
  "type": "premium",
  "status": "success",
  "order_id": "AX-PREM-K7M2Q9XD4B",
  "product": "Capcut Pro 1 Bulan",
  "price": 12000,
  "account": {
    "username": "email@example.com",
    "password": "pass123"
  }
}

Kode Error

Respons kesalahan mencakup salah satu kode berikut di error.code:

Code
VALIDATION_ERROR
HTTP
400
Description
Invalid or missing parameter
Code
INSUFFICIENT_BALANCE
HTTP
400
Description
Insufficient balance
Code
NO_OFFER_AVAILABLE
HTTP
400
Description
No offer within max_price
Code
INVALID_API_KEY
HTTP
401
Description
Missing or invalid API key
Code
UNAUTHORIZED
HTTP
401
Description
Missing or invalid API token
Code
ACCOUNT_BANNED
HTTP
403
Description
Account banned
Code
FORBIDDEN
HTTP
403
Description
Access denied
Code
NOT_FOUND
HTTP
404
Description
Resource not found
Code
CONFLICT
HTTP
409
Description
Conflicting request state
Code
DUPLICATE_REQUEST
HTTP
409
Description
Idempotency key already used
Code
PRICE_CHANGED
HTTP
409
Description
Price increased since catalog fetch
Code
INPUT_TOO_LARGE
HTTP
413
Description
Input too long
Code
RATE_LIMIT_EXCEEDED
HTTP
429
Description
Too many requests
Code
INTERNAL_ERROR
HTTP
500
Description
Internal server error
Code
ORDER_PROCESSING
HTTP
503
Description
Order result pending, balance not refunded
Code
PROVIDER_ERROR
HTTP
503
Description
Provider rejected or failed
Code
SERVICE_UNAVAILABLE
HTTP
503
Description
Service unavailable
Code
MAINTENANCE
HTTP
503
Description
Under maintenance
Code
GATEWAY_TIMEOUT
HTTP
503
Description
Upstream timeout, balance refunded