{"openapi":"3.1.0","info":{"title":"Via Hype Reseller API","version":"2.0.0","description":"Prepaid SMM API. Request access and accept reseller terms in the dashboard. Keys appear once. Default limits: 120 requests and 20 add attempts/minute/key; 30 orders/10 minutes/account. The API uses reseller pricing, lower than website pricing. Charges are rounded up to cents, with a minimum of one cent, and frozen at order creation. Never send end-customer personal data. Use refill within the option period, at most once per 24 hours with none pending. Contact support when unavailable. Do not retry add blindly after a timeout."},"servers":[{"url":"https://viahype.store"}],"paths":{"/api/v2":{"post":{"operationId":"smm","summary":"SMM panel actions","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ServicesInput"},{"$ref":"#/components/schemas/BalanceInput"},{"$ref":"#/components/schemas/RefillInput"},{"$ref":"#/components/schemas/RefillStatusInput"},{"$ref":"#/components/schemas/CancelInput"},{"$ref":"#/components/schemas/AddInput"},{"$ref":"#/components/schemas/StatusInput"}]}},"application/x-www-form-urlencoded":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ServicesInput"},{"$ref":"#/components/schemas/BalanceInput"},{"$ref":"#/components/schemas/RefillInput"},{"$ref":"#/components/schemas/RefillStatusInput"},{"$ref":"#/components/schemas/CancelInput"},{"$ref":"#/components/schemas/AddInput"},{"$ref":"#/components/schemas/StatusInput"}]}}}},"responses":{"200":{"description":"Success or business error","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Services"},{"$ref":"#/components/schemas/Order"},{"$ref":"#/components/schemas/Status"},{"$ref":"#/components/schemas/Statuses"},{"$ref":"#/components/schemas/Balance"},{"$ref":"#/components/schemas/Refill"},{"$ref":"#/components/schemas/RefillStatus"},{"$ref":"#/components/schemas/Error"}]}}}},"401":{"description":"Invalid, revoked or blocked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or order limit","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Wait 60 seconds"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ServicesInput":{"type":"object","required":["key","action"],"additionalProperties":false,"properties":{"key":{"type":"string","writeOnly":true,"pattern":"^vh_[a-f0-9]{12}_[A-Za-z0-9_-]{43}$"},"action":{"const":"services"}}},"BalanceInput":{"type":"object","required":["key","action"],"additionalProperties":false,"properties":{"key":{"type":"string","writeOnly":true,"pattern":"^vh_[a-f0-9]{12}_[A-Za-z0-9_-]{43}$"},"action":{"const":"balance"}}},"RefillInput":{"type":"object","required":["key","action","order"],"additionalProperties":false,"properties":{"key":{"type":"string","writeOnly":true,"pattern":"^vh_[a-f0-9]{12}_[A-Za-z0-9_-]{43}$"},"action":{"const":"refill"},"order":{"type":"string","format":"uuid"}},"description":"Completed or partially delivered orders with API refill, within their refill period from completion. One request per 24 hours; no concurrent refill. Subject to review."},"RefillStatusInput":{"type":"object","required":["key","action","refill"],"additionalProperties":false,"properties":{"key":{"type":"string","writeOnly":true,"pattern":"^vh_[a-f0-9]{12}_[A-Za-z0-9_-]{43}$"},"action":{"const":"refill_status"},"refill":{"type":"string","format":"uuid"}}},"CancelInput":{"type":"object","required":["key","action"],"additionalProperties":false,"properties":{"key":{"type":"string","writeOnly":true,"pattern":"^vh_[a-f0-9]{12}_[A-Za-z0-9_-]{43}$"},"action":{"const":"cancel"},"order":{"type":"string"},"orders":{"type":"string"}}},"AddInput":{"type":"object","required":["key","action","service","link","quantity"],"additionalProperties":false,"properties":{"key":{"type":"string","writeOnly":true,"pattern":"^vh_[a-f0-9]{12}_[A-Za-z0-9_-]{43}$"},"action":{"const":"add"},"service":{"type":"integer","minimum":1},"link":{"type":"string","format":"uri"},"quantity":{"type":"integer","minimum":1},"comments":{"type":"string","description":"Required for Custom Comments. One line per comment; quantity must match."}},"description":"Insufficient balance or invalid service/link/quantity/comments returns Error. Unknown send outcome retains order ID; check status rather than repeating add."},"StatusInput":{"oneOf":[{"type":"object","required":["key","action","order"],"additionalProperties":false,"properties":{"key":{"type":"string","writeOnly":true,"pattern":"^vh_[a-f0-9]{12}_[A-Za-z0-9_-]{43}$"},"action":{"const":"status"},"order":{"type":"string","format":"uuid"}}},{"type":"object","required":["key","action","orders"],"additionalProperties":false,"properties":{"key":{"type":"string","writeOnly":true,"pattern":"^vh_[a-f0-9]{12}_[A-Za-z0-9_-]{43}$"},"action":{"const":"status"},"orders":{"type":"string","description":"1–100 comma-separated opaque order IDs","pattern":"^[^,]+(?:,[^,]+){0,99}$"}}}]},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}},"additionalProperties":false},"Refill":{"type":"object","required":["refill"],"properties":{"refill":{"type":"string","format":"uuid"}},"additionalProperties":false},"RefillStatus":{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["Pending","In progress","Completed","Rejected"]}},"additionalProperties":false},"Order":{"type":"object","required":["order"],"properties":{"order":{"type":"string","format":"uuid"}},"additionalProperties":false},"Balance":{"type":"object","required":["balance","currency"],"properties":{"balance":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$"},"currency":{"type":"string","enum":["BRL","USD"]}},"additionalProperties":false},"Status":{"type":"object","required":["charge","start_count","status","remains","currency"],"properties":{"charge":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$"},"start_count":{"type":"integer","minimum":0},"status":{"type":"string","enum":["Pending","In progress","Completed","Partial","Canceled"]},"remains":{"type":"integer","minimum":0},"currency":{"type":"string","enum":["BRL","USD"]}},"additionalProperties":false},"Statuses":{"type":"object","additionalProperties":{"oneOf":[{"$ref":"#/components/schemas/Status"},{"$ref":"#/components/schemas/Error"}]}},"Services":{"type":"array","items":{"type":"object","required":["service","name","type","category","rate","min","max","refill","cancel","contasReais"],"properties":{"service":{"type":"integer"},"name":{"type":"string","description":"English name"},"type":{"type":"string","enum":["Default","Custom Comments"]},"category":{"type":"string"},"rate":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","description":"Reseller price per 1,000 in account currency, lower than website pricing"},"min":{"type":"integer"},"max":{"type":"integer"},"refill":{"type":"boolean","description":"API refill available within the service guarantee"},"cancel":{"const":false},"contasReais":{"type":"boolean","description":"Real accounts declared by the service source"}},"additionalProperties":false}}}}}