{"openapi":"3.1.0","info":{"title":"MyAPI.world Reseller API","description":"Owner-scoped customer provisioning, wholesale funding, current catalogues, usage, support and white-label operations. Documentation: https://myapi.world/api-reseller-docs. Use an active reseller System Token or a User API Key with reseller permission. Dashboard sessions are not API credentials. Customer provisioning and topups require Idempotency-Key.","version":"1.1.0"},"paths":{"/api":{"get":{"tags":["Reseller API"],"summary":"Reseller API root","description":"Discover the reseller API version, documentation, authentication method, and customer API host.","operationId":"reseller_api_root_api_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Root Api Get"}}}}}}},"/api/reseller/v1/account":{"get":{"tags":["Reseller API"],"summary":"Get reseller account","description":"Return the authenticated reseller wallet, margin, preferences, trial inventory, alerts, and onboarding status.","operationId":"reseller_api_account_api_reseller_v1_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Account Api Reseller V1 Account Get"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/products":{"get":{"tags":["Reseller API"],"summary":"List live reseller products","description":"Return the server-authoritative products currently available for new customer purchases and existing-customer topups, including the reseller cost and current wallet capacity.","operationId":"reseller_api_products_api_reseller_v1_products_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Products Api Reseller V1 Products Get"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/customers":{"get":{"tags":["Reseller Customers"],"summary":"List reseller customers","description":"List only customers issued by the authenticated reseller. Search matches username, email, or package id.","operationId":"reseller_api_customers_api_reseller_v1_customers_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Customers Api Reseller V1 Customers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]},"post":{"tags":["Reseller Customers"],"summary":"Purchase and create a customer account","description":"Debit the reseller wallet and create a new customer account from a live product. The response contains copy-ready delivery details and the new System Token. Reusing the same Idempotency-Key safely returns the original result.","operationId":"reseller_api_create_customer_api_reseller_v1_customers_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResellerIssueKeyBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Create Customer Api Reseller V1 Customers Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."},"409":{"description":"Conflicting idempotency body, unavailable product, insufficient funds or duplicate recipient."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/customers/{issued_id}":{"get":{"tags":["Reseller Customers"],"summary":"Get a reseller customer","description":"Return one reseller-owned customer and its System Token. Customers issued by other resellers are never visible.","operationId":"reseller_api_customer_api_reseller_v1_customers__issued_id__get","parameters":[{"name":"issued_id","in":"path","required":true,"schema":{"type":"integer","title":"Issued Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Customer Api Reseller V1 Customers  Issued Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/customers/{issued_id}/setup":{"get":{"tags":["Reseller Customers"],"summary":"Get personalized customer setup scripts","description":"Return every supported client installation and setup script for a reseller-owned customer. Instructions and executable scripts are separate fields. Pass an active domainId to generate fully white-label API URLs, or request one platform by its script key.","operationId":"reseller_api_customer_setup_api_reseller_v1_customers__issued_id__setup_get","parameters":[{"name":"issued_id","in":"path","required":true,"schema":{"type":"integer","title":"Issued Id"}},{"name":"domain_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Domain Id"}},{"name":"platform","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Customer Setup Api Reseller V1 Customers  Issued Id  Setup Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/customers/{issued_id}/topups":{"post":{"tags":["Reseller Customers"],"summary":"Top up an existing customer","description":"Debit the reseller wallet and add wallet credit or Unlimited Coding to an existing reseller-owned account. The customer's System Token is preserved. Trial products cannot be used for topups.","operationId":"reseller_api_customer_topup_api_reseller_v1_customers__issued_id__topups_post","parameters":[{"name":"issued_id","in":"path","required":true,"schema":{"type":"integer","title":"Issued Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResellerCustomerTopupBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Customer Topup Api Reseller V1 Customers  Issued Id  Topups Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."},"409":{"description":"Conflicting idempotency body, unavailable product, insufficient funds or duplicate recipient."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/customers/{issued_id}/usage":{"get":{"tags":["Reseller Customers"],"summary":"Get customer usage","description":"Search and paginate the reseller-owned customer's usage ledger without returning prompt or response content.","operationId":"reseller_api_customer_usage_api_reseller_v1_customers__issued_id__usage_get","parameters":[{"name":"issued_id","in":"path","required":true,"schema":{"type":"integer","title":"Issued Id"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"","title":"Model"}},{"name":"date_from","in":"query","required":false,"schema":{"type":"string","default":"","title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"type":"string","default":"","title":"Date To"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Customer Usage Api Reseller V1 Customers  Issued Id  Usage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/customers/{issued_id}/usage.csv":{"get":{"tags":["Reseller Customers"],"summary":"Download customer usage CSV","description":"Download up to 1,000 matching usage rows for a reseller-owned customer.","operationId":"reseller_api_customer_usage_csv_api_reseller_v1_customers__issued_id__usage_csv_get","parameters":[{"name":"issued_id","in":"path","required":true,"schema":{"type":"integer","title":"Issued Id"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"model","in":"query","required":false,"schema":{"type":"string","default":"","title":"Model"}},{"name":"date_from","in":"query","required":false,"schema":{"type":"string","default":"","title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"type":"string","default":"","title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/customers/{issued_id}/support-diagnostics":{"get":{"tags":["Reseller Customers"],"summary":"Download redacted support diagnostics","description":"Return a credential-safe diagnostic bundle for customer support. Passwords, raw System Tokens, prompt content, and response content are excluded.","operationId":"reseller_api_customer_diagnostics_api_reseller_v1_customers__issued_id__support_diagnostics_get","parameters":[{"name":"issued_id","in":"path","required":true,"schema":{"type":"integer","title":"Issued Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Customer Diagnostics Api Reseller V1 Customers  Issued Id  Support Diagnostics Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/customers/{issued_id}/connectivity":{"post":{"tags":["Reseller Customers"],"summary":"Test customer connectivity","description":"Run a non-billable authentication and model-discovery check using the customer's existing System Token.","operationId":"reseller_api_customer_connectivity_api_reseller_v1_customers__issued_id__connectivity_post","parameters":[{"name":"issued_id","in":"path","required":true,"schema":{"type":"integer","title":"Issued Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Customer Connectivity Api Reseller V1 Customers  Issued Id  Connectivity Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/customers/{issued_id}/spending-alert":{"put":{"tags":["Reseller Customers"],"summary":"Set customer spending alert","description":"Set or disable the reseller notification threshold for a reseller-owned customer.","operationId":"reseller_api_customer_spending_alert_api_reseller_v1_customers__issued_id__spending_alert_put","parameters":[{"name":"issued_id","in":"path","required":true,"schema":{"type":"integer","title":"Issued Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResellerIssuedKeyAlertBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Customer Spending Alert Api Reseller V1 Customers  Issued Id  Spending Alert Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/domains":{"get":{"tags":["Reseller Domains"],"summary":"List white-label custom domains","description":"List up to five domains owned by the authenticated reseller, including DNS and HTTPS activation state.","operationId":"reseller_api_domains_api_reseller_v1_domains_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Domains Api Reseller V1 Domains Get"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]},"post":{"tags":["Reseller Domains"],"summary":"Register a white-label custom domain","description":"Register a domain and return the A and TXT records required before automatic HTTPS activation.","operationId":"reseller_api_create_domain_api_reseller_v1_domains_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResellerCustomDomainBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Create Domain Api Reseller V1 Domains Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/domains/{domain_id}":{"put":{"tags":["Reseller Domains"],"summary":"Update a white-label custom domain","description":"Update branding or the hostname. Changing the hostname resets DNS and HTTPS activation.","operationId":"reseller_api_update_domain_api_reseller_v1_domains__domain_id__put","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResellerCustomDomainBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Update Domain Api Reseller V1 Domains  Domain Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]},"delete":{"tags":["Reseller Domains"],"summary":"Remove a white-label custom domain","operationId":"reseller_api_delete_domain_api_reseller_v1_domains__domain_id__delete","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Delete Domain Api Reseller V1 Domains  Domain Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/domains/{domain_id}/verify":{"post":{"tags":["Reseller Domains"],"summary":"Verify custom-domain DNS","description":"Check both required DNS records and queue the domain for automatic HTTPS activation when they are valid.","operationId":"reseller_api_verify_domain_api_reseller_v1_domains__domain_id__verify_post","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Verify Domain Api Reseller V1 Domains  Domain Id  Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/domains/{domain_id}/dns-guide":{"get":{"tags":["Reseller Domains"],"summary":"Get registrar-specific DNS guidance","description":"Return step-by-step instructions and exact A/TXT records for Cloudflare, GoDaddy, Namecheap, Route 53, cPanel, or another DNS provider.","operationId":"reseller_api_domain_dns_guide_api_reseller_v1_domains__domain_id__dns_guide_get","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}},{"name":"provider","in":"query","required":false,"schema":{"type":"string","default":"generic","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Domain Dns Guide Api Reseller V1 Domains  Domain Id  Dns Guide Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/domains/{domain_id}/logo":{"put":{"tags":["Reseller Domains"],"summary":"Upload a domain logo","description":"Upload a base64-encoded PNG, JPEG, or WebP logo up to 2 MB. The uploaded file replaces a URL-based logo.","operationId":"reseller_api_domain_logo_api_reseller_v1_domains__domain_id__logo_put","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResellerCustomDomainLogoBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Domain Logo Api Reseller V1 Domains  Domain Id  Logo Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]},"delete":{"tags":["Reseller Domains"],"summary":"Remove an uploaded domain logo","operationId":"reseller_api_domain_logo_delete_api_reseller_v1_domains__domain_id__logo_delete","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Domain Logo Delete Api Reseller V1 Domains  Domain Id  Logo Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/domains/{domain_id}/maintenance":{"put":{"tags":["Reseller Domains"],"summary":"Set a customer maintenance notice","description":"Enable, update, schedule, or remove a customer-facing notice on one white-label domain without blocking API calls.","operationId":"reseller_api_domain_maintenance_api_reseller_v1_domains__domain_id__maintenance_put","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResellerCustomDomainMaintenanceBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Domain Maintenance Api Reseller V1 Domains  Domain Id  Maintenance Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/domains/{domain_id}/analytics":{"get":{"tags":["Reseller Domains"],"summary":"Get custom-domain analytics","description":"Return privacy-safe daily request, error, latency, and identified-customer aggregates for up to 90 days. Prompts and response content are never collected.","operationId":"reseller_api_domain_analytics_api_reseller_v1_domains__domain_id__analytics_get","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Domain Analytics Api Reseller V1 Domains  Domain Id  Analytics Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/domains/{domain_id}/documentation.zip":{"get":{"tags":["Reseller Domains"],"summary":"Download branded API documentation","operationId":"reseller_api_domain_documentation_api_reseller_v1_domains__domain_id__documentation_zip_get","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/customers/{issued_id}/migration-bundle.zip":{"get":{"tags":["Reseller Customers"],"summary":"Download a customer migration bundle","description":"Download owner-authorized instructions and copy-ready setup files. The archive contains the customer System Token and is therefore never cached.","operationId":"reseller_api_customer_migration_bundle_api_reseller_v1_customers__issued_id__migration_bundle_zip_get","parameters":[{"name":"issued_id","in":"path","required":true,"schema":{"type":"integer","title":"Issued Id"}},{"name":"domain_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/customers/{issued_id}/welcome-email":{"post":{"tags":["Reseller Customers"],"summary":"Send a branded customer welcome email","operationId":"reseller_api_customer_welcome_email_api_reseller_v1_customers__issued_id__welcome_email_post","parameters":[{"name":"issued_id","in":"path","required":true,"schema":{"type":"integer","title":"Issued Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResellerWelcomeEmailBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Customer Welcome Email Api Reseller V1 Customers  Issued Id  Welcome Email Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/sandbox/models":{"get":{"tags":["Reseller Sandbox"],"summary":"List deterministic sandbox models","operationId":"reseller_api_sandbox_models_api_reseller_v1_sandbox_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Sandbox Models Api Reseller V1 Sandbox Models Get"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/sandbox/responses":{"post":{"tags":["Reseller Sandbox"],"summary":"Test an OpenAI Responses integration without billing","operationId":"reseller_api_sandbox_responses_api_reseller_v1_sandbox_responses_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/sandbox/chat/completions":{"post":{"tags":["Reseller Sandbox"],"summary":"Test a Chat Completions integration without billing","operationId":"reseller_api_sandbox_chat_api_reseller_v1_sandbox_chat_completions_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/sandbox/messages":{"post":{"tags":["Reseller Sandbox"],"summary":"Test an Anthropic Messages integration without billing","operationId":"reseller_api_sandbox_messages_api_reseller_v1_sandbox_messages_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/transactions":{"get":{"tags":["Reseller Wallet"],"summary":"List reseller wallet transactions","description":"Search and paginate reseller wallet loads, account purchases, existing-customer topups, commissions, and adjustments.","operationId":"reseller_api_transactions_api_reseller_v1_transactions_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"transaction_type","in":"query","required":false,"schema":{"type":"string","default":"","title":"Transaction Type"}},{"name":"date_from","in":"query","required":false,"schema":{"type":"string","default":"","title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"type":"string","default":"","title":"Date To"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Transactions Api Reseller V1 Transactions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/transactions.csv":{"get":{"tags":["Reseller Wallet"],"summary":"Download reseller transactions CSV","operationId":"reseller_api_transactions_csv_api_reseller_v1_transactions_csv_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"transaction_type","in":"query","required":false,"schema":{"type":"string","default":"","title":"Transaction Type"}},{"name":"date_from","in":"query","required":false,"schema":{"type":"string","default":"","title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"type":"string","default":"","title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/transactions.pdf":{"get":{"tags":["Reseller Wallet"],"summary":"Download reseller transaction statement PDF","operationId":"reseller_api_transactions_pdf_api_reseller_v1_transactions_pdf_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"transaction_type","in":"query","required":false,"schema":{"type":"string","default":"","title":"Transaction Type"}},{"name":"date_from","in":"query","required":false,"schema":{"type":"string","default":"","title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"type":"string","default":"","title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/preferences":{"put":{"tags":["Reseller API"],"summary":"Update reseller preferences","description":"Update low-balance email settings for the reseller wholesale wallet.","operationId":"reseller_api_preferences_api_reseller_v1_preferences_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResellerPreferencesBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Preferences Api Reseller V1 Preferences Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/notifications":{"get":{"tags":["Reseller API"],"summary":"List reseller notifications","operationId":"reseller_api_notifications_api_reseller_v1_notifications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Notifications Api Reseller V1 Notifications Get"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/notifications/{notification_id}/acknowledge":{"post":{"tags":["Reseller API"],"summary":"Acknowledge reseller notification","operationId":"reseller_api_notification_acknowledge_api_reseller_v1_notifications__notification_id__acknowledge_post","parameters":[{"name":"notification_id","in":"path","required":true,"schema":{"type":"integer","title":"Notification Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reseller Api Notification Acknowledge Api Reseller V1 Notifications  Notification Id  Acknowledge Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/latency-targets":{"get":{"tags":["Reseller API"],"summary":"List customer API latency targets","operationId":"reseller_api_latency_targets_api_reseller_v1_latency_targets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Latency Targets Api Reseller V1 Latency Targets Get"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/challenge":{"get":{"tags":["Reseller Wallet"],"summary":"Get reseller Daily Challenge","description":"Return the 30-day reward schedule, current claim window, and non-withdrawable promotional package balance status.","operationId":"reseller_api_challenge_api_reseller_v1_challenge_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Challenge Api Reseller V1 Challenge Get"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/challenge/claim":{"post":{"tags":["Reseller Wallet"],"summary":"Claim today's reseller challenge reward","description":"Claim exactly once in the current 24-hour window. Missing a window retires the challenge.","operationId":"reseller_api_challenge_claim_api_reseller_v1_challenge_claim_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Challenge Claim Api Reseller V1 Challenge Claim Post"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/withdrawals":{"get":{"tags":["Reseller Wallet"],"summary":"List reseller cash-wallet withdrawals","operationId":"reseller_api_withdrawals_api_reseller_v1_withdrawals_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Withdrawals Api Reseller V1 Withdrawals Get"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]},"post":{"tags":["Reseller Wallet"],"summary":"Request a reseller cash-wallet withdrawal","description":"Reserve withdrawable commission funds for manual payout in BTC, DOGE, or LTC.","operationId":"reseller_api_withdrawal_request_api_reseller_v1_withdrawals_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResellerWithdrawalBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Withdrawal Request Api Reseller V1 Withdrawals Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/wallet/checkout":{"post":{"tags":["Reseller Wallet"],"summary":"Create reseller wallet checkout","description":"Create a payer-approved PayPal checkout (default) or Paymento cryptocurrency checkout. Send amountUsd in USD and paymentMethod=paypal or paymento. Limits come from the account/portal. No payment is needed for enrollment; wholesale deposits are credited at actual paid value, without a product discount. Checkout creation is not proof of payment.","operationId":"reseller_api_wallet_checkout_api_reseller_v1_wallet_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResellerWalletCheckoutBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Wallet Checkout Api Reseller V1 Wallet Checkout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/wallet/confirm":{"post":{"tags":["Reseller Wallet"],"summary":"Confirm a historical card payment receipt","description":"Historical receipts only. New PayPal and Paymento purchases use the provider-specific wallet confirmation endpoints. Do not initiate a new card-provider checkout.","operationId":"reseller_api_wallet_confirm_api_reseller_v1_wallet_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopupConfirmBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reseller Api Wallet Confirm Api Reseller V1 Wallet Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}],"deprecated":true}},"/api/reseller/v1/wallet/paypal/confirm":{"post":{"tags":["Reseller Wallet"],"summary":"Confirm an approved PayPal reseller deposit","description":"Owner-scoped confirmation. Captures only an already approved PayPal deposit, validates the saved amount, currency and receiver, and credits the reseller wallet once.","operationId":"confirm_paypal_api_reseller_v1_wallet_paypal_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundingConfirmation"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/wallet/paymento/orders/{order_id}":{"get":{"tags":["Reseller Wallet"],"summary":"Read a reseller crypto deposit status","description":"Read the latest stored status for your reseller deposit. Use POST wallet/paymento/confirm to request provider verification. This GET never captures or credits a payment.","operationId":"paymento_status_api_reseller_v1_wallet_paymento_orders__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/wallet/paymento/confirm":{"post":{"tags":["Reseller Wallet"],"summary":"Verify and settle a Paymento reseller deposit","description":"Verifies the saved owner-bound order with Paymento. Unconfirmed funds remain pending; confirmed funds are settled exactly once under the existing reseller wallet rules.","operationId":"confirm_paymento_api_reseller_v1_wallet_paymento_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundingConfirmation"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/models":{"get":{"tags":["Reseller API"],"summary":"List current public models","description":"Current public model names, supported endpoints, capabilities and client availability. Does not reveal provider routing. Catalogue listing does not grant entitlement or bypass client restrictions.","operationId":"reseller_models_api_reseller_v1_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}},"/api/reseller/v1/catalogue":{"get":{"tags":["Reseller API"],"summary":"List customer-facing plans and models","description":"Public model catalogue, enabled customer membership and Unlimited plans, and fixed credit packs. Memberships and subscriber bundles use customer checkout; this listing does not make them wholesale issue products. Use /products for currently issuable reseller packages.","operationId":"reseller_catalogue_api_reseller_v1_catalogue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or expired credential."},"403":{"description":"Inactive reseller, insufficient key permission or IP restriction."},"429":{"description":"Rate limit reached; retry after the indicated delay."}},"security":[{"MyApiResellerBearer":[]}]}}},"components":{"schemas":{"FundingConfirmation":{"properties":{"orderId":{"type":"string","pattern":"^[A-Za-z0-9_-]{8,160}$","title":"Orderid"}},"additionalProperties":false,"type":"object","required":["orderId"],"title":"FundingConfirmation"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ResellerCustomDomainBody":{"properties":{"hostname":{"type":"string","maxLength":253,"minLength":4,"title":"Hostname"},"brandName":{"type":"string","maxLength":80,"minLength":2,"title":"Brandname"},"supportEmail":{"type":"string","maxLength":254,"minLength":3,"title":"Supportemail"},"logoUrl":{"type":"string","maxLength":500,"title":"Logourl","default":""},"primaryColor":{"type":"string","maxLength":7,"title":"Primarycolor","default":"#0b57d0"}},"type":"object","required":["hostname","brandName","supportEmail"],"title":"ResellerCustomDomainBody"},"ResellerCustomDomainLogoBody":{"properties":{"data":{"type":"string","maxLength":3000000,"minLength":32,"title":"Data"},"contentType":{"type":"string","maxLength":100,"title":"Contenttype","default":""},"fileName":{"type":"string","maxLength":180,"title":"Filename","default":""}},"type":"object","required":["data"],"title":"ResellerCustomDomainLogoBody"},"ResellerCustomDomainMaintenanceBody":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":false},"title":{"type":"string","maxLength":100,"title":"Title","default":"Scheduled maintenance"},"message":{"type":"string","maxLength":500,"title":"Message","default":""},"until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Until"}},"type":"object","title":"ResellerCustomDomainMaintenanceBody"},"ResellerCustomerTopupBody":{"properties":{"packageId":{"type":"string","maxLength":80,"minLength":3,"title":"Packageid"}},"type":"object","required":["packageId"],"title":"ResellerCustomerTopupBody"},"ResellerIssueKeyBody":{"properties":{"packageId":{"type":"string","maxLength":80,"minLength":3,"title":"Packageid"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firstname"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastname"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"spendingAlertPercent":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Spendingalertpercent","default":80},"trialSelfUse":{"type":"boolean","title":"Trialselfuse","default":false},"customDomainId":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Customdomainid"}},"type":"object","required":["packageId"],"title":"ResellerIssueKeyBody"},"ResellerIssuedKeyAlertBody":{"properties":{"spendingAlertPercent":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Spendingalertpercent","default":80},"disabled":{"type":"boolean","title":"Disabled","default":false}},"type":"object","title":"ResellerIssuedKeyAlertBody"},"ResellerPreferencesBody":{"properties":{"lowBalanceAlertsEnabled":{"type":"boolean","title":"Lowbalancealertsenabled","default":true},"lowBalanceThresholdUsd":{"anyOf":[{"type":"number","maximum":5000.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Lowbalancethresholdusd","default":"25.00"}},"type":"object","title":"ResellerPreferencesBody"},"ResellerWalletCheckoutBody":{"properties":{"amountUsd":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amountusd"},"paymentMethod":{"type":"string","enum":["paypal","paymento"],"title":"Paymentmethod","default":"paypal"}},"type":"object","required":["amountUsd"],"title":"ResellerWalletCheckoutBody"},"ResellerWelcomeEmailBody":{"properties":{"customDomainId":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Customdomainid"}},"type":"object","title":"ResellerWelcomeEmailBody"},"ResellerWithdrawalBody":{"properties":{"amountUsd":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amountusd"},"currency":{"type":"string","maxLength":4,"minLength":3,"title":"Currency"},"destinationAddress":{"type":"string","maxLength":160,"minLength":20,"title":"Destinationaddress"}},"type":"object","required":["amountUsd","currency","destinationAddress"],"title":"ResellerWithdrawalBody"},"TopupConfirmBody":{"properties":{"sessionId":{"type":"string","title":"Sessionid"}},"type":"object","required":["sessionId"],"title":"TopupConfirmBody"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"MyApiResellerBearer":{"type":"http","scheme":"bearer","bearerFormat":"MyAPI System Token or User API Key","description":"Use the active reseller account's System Token, or a User API Key with the reseller permission. Dashboard session tokens are not accepted by this API."}}},"tags":[{"name":"Reseller API","description":"Reseller account, catalog, and customer provisioning."},{"name":"Reseller Customers","description":"Owner-scoped customer operations, topups, usage, and diagnostics."},{"name":"Reseller Domains","description":"White-label domain registration, DNS verification, HTTPS activation, and branding."},{"name":"Reseller Wallet","description":"Wholesale wallet funding and transaction records."},{"name":"Reseller Sandbox","description":"Deterministic, non-billable integration contract checks."}],"servers":[{"url":"https://myapi.world","description":"Reseller management API"}]}