Skip to main content

Quickstart Guide

Follow these steps to make your first API call.

Step 1: Get Your API Credentials

  1. Register at reseller.isiaja.id
  2. Complete your profile verification
  3. Go to Settings → API Keys
  4. Note your API Key and API Secret

Step 2: Top Up Your Balance

Deposit funds to your reseller account via bank transfer or e-wallet. You need a positive balance to create orders.

Step 3: Fetch the Product List

curl -X POST https://api.isiaja.id/v1/price-list \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_API_KEY",
    "sign": "MD5(api_key + api_secret + pricelist)"
  }'

Step 4: Create Your First Order

curl -X POST https://api.isiaja.id/v1/create-order \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_API_KEY",
    "ref_id": "ORDER-001",
    "product_sku": "ml-diamonds-86",
    "customer_no": "123456789",
    "sign": "MD5(api_key + api_secret + ORDER-001)"
  }'

Step 5: Check Order Status

curl -X POST https://api.isiaja.id/v1/check-order \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_API_KEY",
    "ref_id": "ORDER-001",
    "sign": "MD5(api_key + api_secret + ORDER-001)"
  }'

Full Working Example (Node.js)

const crypto = require('crypto');

const API_KEY = 'your-api-key';
const API_SECRET = 'your-api-secret';
const BASE_URL = 'https://api.isiaja.id/v1';

function generateSign(refId) {
  return crypto.createHash('md5').update(API_KEY + API_SECRET + refId).digest('hex');
}

async function apiCall(endpoint, body) {
  const res = await fetch(`${BASE_URL}/${endpoint}`, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify(body),
  });
  return res.json();
}

// Check balance
const balance = await apiCall('check-balance', {
  api_key: API_KEY,
  sign: generateSign('balance'),
});
console.log('Balance:', balance.data.balance);

// Create order
const refId = `ORD-${Date.now()}`;
const order = await apiCall('create-order', {
  api_key: API_KEY,
  ref_id: refId,
  product_sku: 'ml-diamonds-86',
  customer_no: '123456789',
  sign: generateSign(refId),
});
console.log('Order:', order);
You’re all set! Check the full API Reference for all available endpoints.