Reseller Public A P I
Endpoints for approved resellers of a shop. Authenticate with your <b>reseller API key</b> — generated on the shop's customer panel under Reseller — sent as a Bearer token. Seller dashboard API keys will not work here.
Dynamic Delivery Receiver
Fulfils a dynamic delivery request from your own shop out of this shop's stock, charged to your reseller balance. You normally never call this yourself: paste the per-variant delivery URL from your reseller panel into your own SellAuth shop's Dynamic URL field and it is called automatically on each sale. Requests must be signed: X-Signature = HMAC-SHA256 of the raw request body using the webhook secret you saved on the reseller panel, plus a current unix X-Timestamp (max 5 minutes old) and an Idempotency-Key. The JSON body is the standard SellAuth dynamic delivery payload; quantity is read from item.quantity. Responses are plain text: a 2xx body contains the deliverables (newline-separated), a 4xx body is the failure reason shown on your shop's checkout.
Path Parameters
tokenRequiredstringYour dynamic delivery token (embedded in the URLs from your reseller panel).
Query Parameters
product_idRequiredintegerProduct to deliver (from the panel URL).
variant_idRequiredintegerVariant to deliver (from the panel URL).
Header Parameters
X-SignaturestringX-TimestampstringIdempotency-KeystringDelivered — body contains the deliverables
List Products
The reseller catalog: enrolled products with list price, your price and stock per variant, plus your dynamic delivery URL for each variant.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Query Parameters
pageintegerPage number.
perPageintegerProducts per page, 1-100.
Get Balance
Your reseller balance, tier and lifetime stats. Top up your balance on the shop's customer panel (Balance page).
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
List Invoices
Your reseller invoices, newest first.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/jsonOptionalperPageintegerMust be at least 1. Must not be greater than 100.
Query Parameters
pageintegerPage number.
perPageintegerInvoices per page, 1-100.
Create Invoice
Creates an invoice charged to your reseller balance and delivered from stock. Serial and dynamic deliverables are returned synchronously; check pending items via Get Invoice. Optionally send an Idempotency-Key header (unique per invoice, reused on retries): if a request times out, retrying with the same key returns the original invoice instead of charging you twice.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/jsonRequireditemsRequiredarray<object>The items to order.
Header Parameters
Idempotency-KeystringGet Invoice
A reseller invoice with its delivery (keys / deliverables per item). Accepts either the numeric invoice ID or the unique_id.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Path Parameters
idRequiredstringThe invoice ID (numeric) or unique_id.