API

HTTP methodPOST
API URLhttps://heysmm.com/api/v2
API keyAvailable on the Account page
Response formatJSON

Send form parameters with each request. Generate your key on the Account page.

Service list

ParameterDescription
keyYour API key
actionservices

Example response

[
  {
    "service": 1,
    "name": "Example service",
    "type": "Default",
    "category": "Example category",
    "rate": "0.90",
    "min": "50",
    "max": "10000",
    "refill": true,
    "cancel": true
  }
]

Add order

ParameterDescription
keyYour API key
actionadd
serviceService ID
linkLink to the target page
quantityRequested quantity within the service limits
runs (optional)Number of deliveries for a drip-feed service
interval (optional)Minutes between deliveries

Example response

{
  "order": 23501
}

Order status

ParameterDescription
keyYour API key
actionstatus
orderOne order ID

Example response

{
  "charge": "0.27819",
  "start_count": "3572",
  "status": "Partial",
  "remains": "157",
  "currency": "USD"
}

Multiple orders status

ParameterDescription
keyYour API key
actionstatus
ordersUp to 100 comma-separated order IDs

Example response

{
  "1": {
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Partial",
    "remains": "157",
    "currency": "USD"
  },
  "10": {
    "error": "Incorrect order ID"
  }
}

Create refill

ParameterDescription
keyYour API key
actionrefill
orderOne order ID

Example response

{
  "refill": "1"
}

Create multiple refill

ParameterDescription
keyYour API key
actionrefill
ordersUp to 100 comma-separated order IDs

Example response

[
  {
    "order": 1,
    "refill": 1
  },
  {
    "order": 3,
    "refill": {
      "error": "Incorrect order ID"
    }
  }
]

Refill status

ParameterDescription
keyYour API key
actionrefill_status
refillOne refill ID

Example response

{
  "status": "Completed"
}

Multiple refill status

ParameterDescription
keyYour API key
actionrefill_status
refillsUp to 100 comma-separated refill IDs

Example response

[
  {
    "refill": 1,
    "status": "Completed"
  },
  {
    "refill": 3,
    "status": {
      "error": "Refill not found"
    }
  }
]

Create cancel

ParameterDescription
keyYour API key
actioncancel
ordersUp to 100 comma-separated order IDs

Example response

[
  {
    "order": 9,
    "cancel": {
      "error": "Incorrect order ID"
    }
  },
  {
    "order": 2,
    "cancel": 1
  }
]

User balance

ParameterDescription
keyYour API key
actionbalance

Example response

{
  "balance": "100.84292",
  "currency": "USD"
}
Download code example