Developers
Reseller access
Let businesses buy your licence keys and Delivery API products at wholesale, through their own API key, paying from their balance at your store or on payment terms you approved.
Set it up
- Under Orders → Resellers, invite a business by email and choose how it pays: from its balance at your store, or on the payment terms you approved for that address.
- Give the products you offer a wholesale price: a percentage off retail or a fixed price, with a minimum quantity. Retail customers never see these prices.
- The business opens the invitation, signs in to your store’s account with the invited address (on any device), accepts, and creates a reseller key.
- Top up a balance with ordinary store credit on the customer’s page. Limits per day (spend and orders) are optional; suspending a reseller stops its keys at once.
The reseller API
Authenticate with Authorization: Bearer sellstamp_reseller_…. A reseller key reaches only these routes; it is not an API key and opens no merchant route.
- GET /api/v1/public/reseller/catalogue
- The products offered to you, at your price, with minimum quantities.
- POST /api/v1/public/reseller/orders
- Buy. Requires Idempotency-Key; the same key replays the first order. 402 when the balance or terms do not cover it, 429 past a daily limit, 409 when stock ran out.
- GET /api/v1/public/reseller/orders
- Your orders, newest first.
- GET /api/v1/public/reseller/orders/:orderId
- One order: status, totals, and per line the keys or delivered content once it has arrived.
curl -X POST "$API/api/v1/public/reseller/orders" -H "Authorization: Bearer $RESELLER_KEY" -H "Idempotency-Key: po-1042" -H "content-type: application/json" -d '{"lines":[{"productId":"…","quantity":2}]}'A reseller order is an ordinary order: it is invoiced, refunded and fulfilled like any other. Licence keys come back in the answer; a Delivery API item comes back as processing and appears on the order when it is delivered.
Resellers can buy licence keys and Delivery API products. Downloads and shipped items cannot be resold.
Sellstamp