API Dokumentasi

HTTP Method POST
API URL http://smartpanel.web.id/api.php
Response format JSON
Example PHP Code Example

Method add (Place order)

table-hover">
Parameters Description
key Your API key
action add
service Service ID Check at price list
link Link to page
quantity Needed quantity
Example Response
IF ORDER SUCCESS

{
  "order_id":"12345"
}

IF ORDER FAIL

{
  "error":"Incorrect request"
}

Method status (Check order status)

Parameters Description
key Your API key
action status
order_id Your order id
Example Response
IF CHECK STATUS SUCCESS

{
  "charge":"10000",
  "start_count":"123",
  "status":"Success",
  "remains":"0"
}

IF CHECK STATUS FAIL

{
  "error":"Incorrect request"
}