| Parameter |
Explanation |
| key |
Your API Key |
| action |
add |
| service |
Service ID |
| link |
Service connection |
| quantity |
Quantity |
| runs (optionally) |
Runs to deliver |
| interval (optionally) |
Interval in minutes |
Sample Return
{
"order": 23501
}
Order Status
| Parameter |
Explanation |
| key |
Your API Key |
| action |
status |
| order |
Order ID |
Sample Return
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
Multiple orders status
| Parameters |
Description |
| key | Your API key |
| action | status |
| orders | Order IDs separated by a comma (up to 100) |
Example response
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
},
"100": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10",
"currency": "USD"
}
}
Create refill
| Parameters |
Description |
| key | Your API key |
| action | refill |
| order | Order ID |
Example response
{
"refill": "1"
}
Create multiple refill
| Parameters |
Description |
| key | Your API key |
| action | refill |
| orders | Order IDs separated by a comma (up to 100) |
Example response
[
{
"order": 1,
"refill": 1
},
{
"order": 2,
"refill": 2
},
{
"order": 3,
"error": "Incorrect order ID"
}
]
Get refill status
| Parameters |
Description |
| key | Your API key |
| action | refill_status |
| refill | Refill ID |
Example response
{
"status": "Completed"
}
Get multiple refill status
| Parameters |
Description |
| key | Your API key |
| action | refill_status |
| refills | Refill IDs separated by a comma (up to 100) |
Example response
[
{
"1": {
"status": "Completed"
}
},
{
"2": {
"status": "In progress"
}
},
{
"3": {
"error": "Incorrect refill ID"
}
}
]
Cancel orders
| Parameters |
Description |
| key | Your API key |
| action | cancel |
| orders | Order IDs separated by a comma (up to 100) |
Example response
[
{
"order": 1,
"cancel": {
"status": true,
"error": ""
}
},
{
"order": 2,
"cancel": {
"status": false,
"error": "Incorrect order ID"
}
}
]
User Balance
| Parameter |
Explanation |
| key |
Your API Key |
| action |
balance |
Sample Return
{
"balance": "100.84292",
"currency": "USD"
}
Sample PHP File