API
← Shop

Reseller API

Order Discord decorations, nameplates & bundles programmatically. Orders are charged to your account balance and delivered as discord.gift links.

API access is granted to reseller accounts. Need a key? Message @chamanog on Telegram.
Base URLhttps://salta7.store
FormatJSON over HTTPS
BillingDeducted from balance per order

Authentication

Send your reseller key in the X-API-Key header on every request. Find it in your dashboard → API access.

# header on every request X-API-Key: deco_xxxxxxxxxxxxxxxxxxxxxxxx
POST/api/v1/quote

Quote

Price one or more shop links at your reseller rate. No charge, no order created.

curl -X POST https://salta7.store/api/v1/quote \ -H "X-API-Key: deco_..." \ -H "Content-Type: application/json" \ -d '{"links": "https://discord.com/shop#itemSkuId=1207048049571139584"}'
200 OK
{ "items": [{ "sku": "1207048049571139584", "name": "Earth", "price": 1.18 }], "total": 1.18, "errors": [] }
POST/api/v1/order

Create order

Charges your balance and queues the gift(s). Mix any decorations, nameplates or bundles — one link per line.

curl -X POST https://salta7.store/api/v1/order \ -H "X-API-Key: deco_..." \ -H "Content-Type: application/json" \ -d '{"links": "1207048049571139584\n1341506443693522944"}'
200 OK
{ "order_id": "a1b2c3d4e5f6", "total": 2.36, "status": "paid" }
402 — balance too low
{ "err": "insufficient balance", "needed": 2.36 }
GET/api/v1/order/{order_id}

Order status

Poll until the status is delivered, then read the gift links from codes.

curl https://salta7.store/api/v1/order/a1b2c3d4e5f6 \ -H "X-API-Key: deco_..."
200 OK
{ "id": "a1b2c3d4e5f6", "status": "delivered", "codes": ["https://discord.gift/xxxxxxxxxxxxxxxx"], "total": 2.36 }

Order statuses

Charged, waiting in the queue.
processingBeing bought on-device now (~1 min each).
deliveredDone — gift links in codes.
failedCouldn't buy — balance auto-refunded.
Orders fulfil one at a time through a single queue; each item takes about a minute. Questions? @chamanog.