---
title: "Resellers (bayi)"
description: "Reseller end-customers, scoped keys, orders on behalf of customers and white label."
url: https://www.gyrohosting.com/developers/en/guides/reseller.html
language: en
openapi: https://www.gyrohosting.com/developers/openapi.json
api_version: 2.30.0
---

# Resellers (bayi)

Reseller accounts get `/cloud/reseller/*`: create end-customers (with your own `external_ref`), order servers for them from your
balance at your discount (`end_customer_id`), assign existing services, mint end-customer keys that only see that customer's services and
cannot reach billing, read a usage report per customer, and switch on **white label** (no operator brand in names, messages or webhook headers).

```
curl -s -X POST .../cloud/reseller/customers -H "Authorization: Bearer $RESELLER_TOKEN" -H "Content-Type: application/json" \
  -d '{"name":"Acme Ltd","external_ref":"acme-001","allow_order":true}'
curl -s -X POST .../cloud/reseller/customers/7/keys -H "Authorization: Bearer $RESELLER_TOKEN" -H "Content-Type: application/json" \
  -d '{"name":"acme-ci","scopes":["cloud_read","cloud_write","services_read","services_write"],"rate_limit":60}'
```
