OneProvider
Reseller API

Reseller API method reference

Every reseller API endpoint in one table with its scope and idempotency flag, plus a link to the OpenAPI 3.1 specification of OneProvider, ready to import.

Every reseller API endpoint in one table with its scope and idempotency flag, plus a link to the OpenAPI 3.1 specification.

All models, capabilities, and prices Documentation index for AI agents: https://oneprovider.dev/docs/llms.txt

Base URL: https://app.oneprovider.dev/partner/v1. Machine-readable OpenAPI 3.1 specification: https://app.oneprovider.dev/partner/v1/openapi.yaml (public, no token needed).

The “Idempotency” column marks the methods that require the Idempotency-Key header. Scope “any” means any valid token, “none” means no token is needed.

API methods
MethodPathScopeIdempotencyPurpose
GET/meany-Token, scopes, reseller.
GET/balanceread-Reseller balance, reserved, free, wholesale price, top-up providers.
GET/balance/transactionsread-Balance transactions (cursor).
POST/balance/topupsbillingrequiredCreate a top-up payment, returns pay_url.
GET/balance/topups/{order_id}billing-Status of your own payment.
GET/pricingread-Wholesale price, discount, limits.
GET/modelsread-Model catalog and live status.
GET/customersread-List customers (?external_id=).
GET/customers/{id}read-A customer.
POST/customerskeys-Create a customer.
PATCH/customers/{id}keys-Edit name, note, block (blocked).
GET/keysread-List keys (?status=, ?query=, ?customer_id=).
GET/keys/{id}read-A key without the secret, with dashboard_url.
GET/keys/{id}/usageread-Daily usage (empty for now, coming soon).
POST/keyskeysrequiredIssue a key; the secret is returned once.
POST/keys/bulkkeysrequiredIssue several identical keys at once.
PATCH/keys/{id}keys-Limit, expiry (expires_days/hours) or extension (extend_days/hours), name, customer label.
DELETE/keys/{id}keys-Delete a key (200 or 202).
POST/keys/{id}/topupkeysrequiredAdd an amount to the key limit.
POST/keys/{id}/rotatekeysrequiredRotate a key: new secret, the old one stops working.
POST/keys/{id}/pausekeys-Pause a key.
POST/keys/{id}/resumekeys-Resume a key.
POST/orderskeysrequiredA paid customer order: new key or top-up.
GET/ordersread-List orders (?external_order_id=).
GET/orders/{id}read-An order.
GET/plansread-Your plans.
POST/plansplans-Create a plan.
PATCH/plans/{id}plans-Edit a plan.
DELETE/plans/{id}plans-Delete a plan.
GET/code-batchescodes-List code batches.
POST/code-batchescodesrequiredCreate a code batch.
GET/code-batches/{id}codes-A batch.
GET/code-batches/{id}/codescodes-Codes of a batch (?status=).
POST/code-batches/{id}/revokecodes-Revoke the unredeemed codes.
GET/codes/{code}codes-Status of a code.
POST/codes/{code}/redeemcodesrequiredRedeem a code into a key.
GET/statsread-Daily stats (?days=1..90).
GET/auditread-Action log (filters period, actor, action, q).
GET/botbot-The shop bot and the support bot (no tokens).
GET/payment-providersbot-Cashiers of the bot: CryptoBot, xRocket (no tokens).
GET/webhookswebhooks-List webhooks.
POST/webhookswebhooks-Create a webhook; the secret is shown once.
DELETE/webhooks/{id}webhooks-Delete a webhook.
POST/webhooks/{id}/testwebhooks-Send a test event.
GET/webhooks/{id}/deliverieswebhooks-Delivery log.
GET/openapi.yamlnone-OpenAPI 3.1 specification (public).

Shared rules (pagination, errors, limits) are described on Authorization & limits .

Last updated: 2026-10-21 Found a bug? @Oneproviderhelpbot