Use Masdika's white-label Reseller API to provision and manage high-performance Virtual Machines programmatically. Set your own markup and keep 100% of the profit.

Straightforward endpoints with predictable JSON responses and full OpenAPI reference.
No Masdika branding, custom PTR records, and completely invisible upstream provider.
Top up via QRIS or Virtual Account with automatic hourly & monthly billing deduction.
Automate create, reboot, rebuild, ISO reinstall, and noVNC access programmatically.
Deliver uncompromised cloud performance to your end clients. All virtual machines are backed by enterprise-grade Dell PowerEdge R630 servers, Intel Xeon processors, and high-IOPS SSD/HDD storage located in Sidoarjo Datacenter.
Scale your hosting business, SaaS platform, or digital agency without upfront hardware capital.
Automate VPS ordering, instant provisioning, automated renewals, and terminations directly inside your billing portal or WHMCS module.
Spin up dedicated, isolated Linux or Windows environments programmatically for enterprise clients or on-demand customer sandboxes.
Offer reliable cloud hosting, staging environments, and database servers under your agency brand with 100% markup retention.
Create your secure API token in your reseller dashboard and fund your master wallet via QRIS or Virtual Account.
Connect your web app, billing portal, or WHMCS with standard cURL, Node.js, Python, or PHP using our OpenAPI specs.
Set your own retail pricing, bill your customers, and let Masdika handle hypervisors, hardware, and network uptime.
Send a single POST request with desired CPU cores, RAM, and OS image. Our hypervisors provision storage, attach network interfaces, and boot the instance automatically.
Explore API DocumentationSimulating real-time automated infrastructure allocation...
POST /api/v1/instances (plan: vps-1gb, os: ubuntu-22.04)
Bearer token validated. Master deposit balance deducted.
Allocating KVM hypervisor slot in Sidoarjo Data Center...
Cloning OS image template to enterprise SSD storage...
Attaching vmbr1 network bridge, configuring NAT & firewall...
Powering on virtual machine and initial health checks...
{"success":true,"status":"RUNNING","id":142}Choose from leading Linux distributions or Windows Server images ready in seconds via the os parameter.
Standard HTTP REST requests with Bearer Token authentication. Copy-paste working examples in your favorite language.
Comprehensive specifications for virtual machine provisioning, power controls, console tickets, and automated deposit billing.
Welcome to the Masdika Reseller API! You can use our API to provision and manage cloud infrastructure such as Virtual Machines programmatically.
All endpoints are RESTful, consume and produce JSON, and require secure authentication via an API key.
Masdika API uses token-based authentication. You must include your API key in the Authorization header for every request.
You can generate a new API token at the Reseller API Dashboard after registering an account. Keep your token secure, as it carries full privileges to provision servers and deduct from your master balance.
Create and provision a new VPS instance directly onto the Public Network (vmbr1). The upfront monthly cost will be deducted from your master balance automatically.
| Parameter | Type | Description |
|---|---|---|
| hostname | String | Required. Valid FQDN for the server. |
| os | String | Required. OS template (e.g., ubuntu-22.04). |
| plan | String | Required. Plan slug (e.g., vps-1gb). |
| password | String | Required. Root password for the server. |
Manage the power state of your VPS instance. Valid actions are 'start', 'stop', 'shutdown', and 'reboot'.
| Parameter | Type | Description |
|---|---|---|
| id | Integer | Required. The unique ID of the instance. |
| action | String | Required. Must be start, stop, shutdown, or reboot. |
Reinstall the operating system of the VPS. Warning: This will destroy all data currently on the disk.
| Parameter | Type | Description |
|---|---|---|
| id | Integer | Required. The unique ID of the instance. |
| os | String | Required. The new OS template. |
| password | String | Required. The new root password. |
Open a remote VNC console session to the VPS instance. Returns a secure one-time session URL and ticket that can be used to connect via noVNC in a browser. The session expires after 30 minutes.
| Parameter | Type | Description |
|---|---|---|
| id | Integer | Required. The unique ID of the instance. |
Permanently destroy a VPS instance. Data cannot be recovered after this action. No refunds are provided for early termination of reseller instances.
| Parameter | Type | Description |
|---|---|---|
| id | Integer | Required. The unique ID of the instance. |
Create a top-up request to add funds to your reseller balance. This endpoint returns a secure payment URL (Duitku) and payment identifiers (Virtual Account / QR string) for automated customer flows. Note: Both /api/v1/billing/topup and /api/v1/billing/deposit are supported.
| Parameter | Type | Description |
|---|---|---|
| amount | Integer | Required. Top-up amount in IDR (Minimum: 50,000, Maximum: 50,000,000). |
| paymentMethodCode | String | Required. Code of the payment method to use. Available channel codes: SQNusapay QRISSAShopee Pay AppsOVOVODADANALALinkAjaM2Mandiri VAI1BNI VAB1CIMB Niaga VABRBRIVABVBSI VAVAMaybank VABTPermata Bank VANCBank Neo Commerce/BNCAGBank Artha GrahaDMDanamon VAS1Bank Sahabat SampoernaA1ATM BersamaFTPegadaian/ALFA/Pos |
| voucherCode | String | Optional. Promo / discount voucher code if available. |
Retrieve available active payment channels and deposit limits, or verify the payment settlement status of an existing top-up invoice using the ?invoiceNumber parameter. Note: Both /api/v1/billing/topup and /api/v1/billing/deposit are supported.
| Parameter | Type | Description |
|---|---|---|
| invoiceNumber | String | Optional. Query param to look up a specific top up invoice (e.g. ?invoiceNumber=TOPUP-1710000000000-AB12). If omitted, returns active payment channels and limits. |
Masdika operates on a prepaid wholesale model. You top up your balance on Masdika, then provision VPS instances via the API. The wholesale cost is deducted from your balance automatically.
You handle your own customer billing using any payment gateway of your choice (Xendit, Midtrans, Duitku, Stripe, etc). Masdika only deducts the wholesale VPS cost — you keep all the profit from your markup.
Customer places order on your website and pays via your payment gateway.
Your server receives payment webhook confirming successful payment.
Call GET /api/v1/billing to verify your Masdika balance is sufficient.
Call POST /api/v1/instances to provision the VPS. Masdika deducts the wholesale cost.
Your profit = Customer payment − Masdika wholesale cost. You set your own markup freely.
Important: You must maintain a sufficient balance to cover the monthly renewals of all your active instances.
SUSPENDED.Join hosting providers, software agencies, and SaaS companies powered by Masdika Cloud infrastructure. Keep 100% of your retail margins.