{"openapi":"3.0.0","info":{"title":"Proxies.sx Reseller API","version":"1.0.0","description":"API for resellers to manage sub-accounts, pricing, webhooks, and analytics."},"servers":[{"url":"https://api.proxies.sx/v1"}],"security":[{"ApiKeyAuth":[]},{"BearerAuth":[]}],"paths":{"/reseller/customers":{"get":{"summary":"List customers","tags":["Customers"]},"post":{"summary":"Create customer","tags":["Customers"]}},"/reseller/customers/{id}":{"get":{"summary":"Get customer","tags":["Customers"]},"patch":{"summary":"Update customer","tags":["Customers"]},"delete":{"summary":"Delete customer","tags":["Customers"]}},"/reseller/customers/{id}/suspend":{"post":{"summary":"Suspend","tags":["Customers"]}},"/reseller/customers/{id}/unsuspend":{"post":{"summary":"Unsuspend","tags":["Customers"]}},"/reseller/customers/{id}/topup":{"post":{"summary":"Add balance","tags":["Customers"]}},"/reseller/customers/{id}/quota":{"put":{"summary":"Allocate quota","tags":["Customers"]}},"/reseller/customers/{id}/quota-status":{"get":{"summary":"Get quota status","tags":["Customers"]}},"/reseller/ports":{"get":{"summary":"List ports","tags":["Ports"]}},"/reseller/ports/summary":{"get":{"summary":"Port summary","tags":["Ports"]}},"/reseller/ports/expiring":{"get":{"summary":"Expiring ports","tags":["Ports"]}},"/reseller/pricebook":{"get":{"summary":"Get pricebook","tags":["Pricing"]},"put":{"summary":"Update pricebook","tags":["Pricing"]}},"/reseller/webhooks":{"get":{"summary":"List webhooks","tags":["Webhooks"]},"post":{"summary":"Create webhook","tags":["Webhooks"]}},"/reseller/webhooks/event-types":{"get":{"summary":"Get event types","tags":["Webhooks"]}},"/reseller/webhooks/{id}/test":{"post":{"summary":"Test webhook","tags":["Webhooks"]}},"/reseller/analytics/dashboard":{"get":{"summary":"Dashboard stats","tags":["Analytics"]}},"/reseller/analytics/revenue":{"get":{"summary":"Revenue summary","tags":["Analytics"]}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"BearerAuth":{"type":"http","scheme":"bearer"}}}}