Note: Please read the API intructions carefully. Its your solo responsability what you add by our API.
HTTP Method | POST |
Response format | JSON |
API URL | https://dastyar365.com/api/v2 |
API Key | Your API Key |
Parameter | Description |
---|---|
key | Your API Key |
action | servers |
[ { "id": "365", "name": "Cisco", "type": "cisco", "description": "Desc", "price": "0.1", "price_per": "DAY", "sort": "0", "configs": "CiscoVPN server:port", }, { "id": "965", "name": "Openvpn", "type": "openvpn", "description": "Desc", "price": "0.15", "price_per": "DAY", "sort": "0", "configs": "VPN COnfigs HTML", } ]
Parameter | Description |
---|---|
key | Your API Key |
action | info |
{ "infos": [ { "server_id": "365", "count": "10" }, { "server_id": "965", "count": "3" } ], "balance": "175.0000", "availableBalance": 99.375 }
Parameter | Description |
---|---|
key | Your API key |
action | add |
server | Server ID |
credits | Server credits needed |
{ "status":"success", "order":69, "server_response": { "username":"U5165", "password":"20459458" }, "message":"Added successfully", "redirect":"Redirect URL" }
Parameter | Description |
---|---|
key | Your API key |
action | status |
id | Server Order ID |
{ "order_id": "69", "server_username": "U5165", "server_password": "20459458", "server_first_login": null, "server_type": "openvpn", "client_name": "James", "client_data": "+123456789", "order_status": "standby", "order_credits": "3.0000000", "order_used_credits": "0.0000000", "order_charge": "0.1980", "order_used_charge": "0.0000", "order_needed_charge": "0.1980", "order_updated": "2016-07-15 17:54:18", "order_submited": "2016-07-15 17:51:41" }
Parameter | Description |
---|---|
key | Your API key |
action | active |
id | Server Order ID |
{ "status":"standby", "used_credits":0, "needed_charge":"0.15", "first_login":null, "changed":"2016-07-15 17:41:57" }
Parameter | Description |
---|---|
key | Your API key |
action | deactive |
id | Server Order ID |
{ "status":"success", "message":"Updated successfully" }
Parameter | Description |
---|---|
key | Your API key |
action | firstlogin |
id | Server Order ID |
{ "status": "success", "firstlogin": Relative timestamp }
Parameter | Description |
---|---|
key | Your API key |
action | reset |
id | Server Order ID |
{ "status":"standby", "used_credits":0, "needed_charge":"0.15", "first_login":null, "changed":"2016-07-15 17:41:57" }
Parameter | Description |
---|---|
key | Your API key |
action | edit |
id | Server Order ID |
remain_credits | Order Remain Credits/td> |
{ "status":"success", "message":"Updated successfully" }
Install us on your home screen, and access it just like a regular app. It really is that simple!
Add to Home ScreenInstall us on your home screen, and access it just like a regular app. Open your Safari menu and tap "Add to Home Screen".
Maybe later