Everything you need to resell from our stock with your own API: authentication, endpoints and copy-paste examples.
Three steps to start selling in minutes.
Generate a key from your dashboard and store it somewhere safe.
Every order is drawn from your selling balance in real time.
Call the API with your key and get instant delivery.
Send your API key in the Authorization header on every request. Keep it secret.
https://clouddmarket.xyz/api/reseller/v1
Your key starts with sk_live_. Generate it in your reseller dashboard. Send it as Authorization: Bearer or x-api-key.
curl https://clouddmarket.xyz/api/reseller/v1/products \
-H "Authorization: Bearer sk_live_••••8f21"
# or, equivalently:
curl https://clouddmarket.xyz/api/reseller/v1/products \
-H "x-api-key: sk_live_••••8f21"The core endpoints of the reselling API.
Create an order and receive the delivery (keys) in the same response.
POST https://clouddmarket.xyz/api/reseller/v1/orders
Authorization: Bearer sk_live_••••8f21
Content-Type: application/json
{
"items": [
{ "product_id": "prod_abc123", "quantity": 1 }
]
}201 Created
{
"order_id": "ord_9F2K7",
"status": "completed",
"total": 8.51,
"currency": "EUR",
"discount_percent": 15,
"balance": 41.49,
"items": [
{
"product": "Spotify Premium",
"quantity": 1,
"unit_price": 8.51,
"keys": ["user:pass"],
"file_url": null
}
]
}The credential arrives in the same order response.
Your tier discount is applied automatically on every order.
Query /products for real-time availability and pricing.
Followers-panel orders appear in /orders with type:"social" and a 'social' object (service, quantity, delivered, status).