Resellers
Reseller API
One public listing shape, the same one the storefront renders. Prices already carry your tier discount and always clear our profit floor. No supplier names, IDs, costs or raw upstream errors are ever returned.
Interactive walkthrough
Sandbox keys only work while the mock supplier is active. The walkthrough tops up a mock wallet, creates an order through the async pipeline, then reads it back.
1–2 need no wallet. Step 3 credits the mock wallet, step 4 buys one account, then read the order back below.
Send a request to see the sanitized JSON here.
Endpoints
/healthSanitized service health/categoriesList active categories and their filter schemas/categories/{slug}/listingsList wholesale listings with schema-driven filters/listings/{publicId}One listing in the unified public DTO/ordersCreate a wholesale order (idempotent)/orders/{id}Read an order and its item states/orders/{id}/cancelCancel an order while it is still queued/walletWallet balance/wallet/topupsCreate a top-up invoiceAuth: Authorization: Bearer <key>. Keys are scoped, revocable and limited per minute and per day.
Signed webhooks
Events: order.validated, order.delivered, order.failed, order.needs_review, wallet.credited. Retries use exponential backoff.
X-Signature: t=1710000000,v1=<hex>
// verify (Node)
const expected = crypto
.createHmac("sha256", secret)
.update(timestamp + "." + rawBody)
.digest("hex");
// reject when |now - timestamp| > 300sErrors
Every failure is the same shape, with the request id that also appears in the response header and your delivery log.
{
"code": "ITEM_UNAVAILABLE",
"message": "One or more items are no longer available.",
"requestId": "req_9f2c…"
}Order creation requires Idempotency-Key. Reusing a key with the same body returns the original order; a different body is rejected.