ProPass ProPass Reseller API v1 REST

ProPass Reseller REST API

Integrate automated digital subscription fulfillment directly into your Telegram bot, website, or reseller platform. Real-time stock, wholesale reseller pricing, atomic wallet billing, and instant 24/7 delivery.

Primary Base URL
https://api.propass.store/v1
Mirror Base URL
https://propass.store/api/reseller/v1
Rate Limit & Currency
60 req / min ยท USD Wallet

๐Ÿ” Authentication & Onboarding

Reseller API access is approval-gated. Open @digi_propass_bot, tap ๐Ÿ”— Reseller API โ†’ ๐Ÿ“ Request Access. Once approved by Admin, generate your pp_live_... API key and top up your wallet via instant KHQR (no minimum).

HeaderRequiredFormat
Authorization Yes (or X-API-Key) Authorization: Bearer pp_live_YOUR_API_KEY
X-API-Key Alternative X-API-Key: pp_live_YOUR_API_KEY
Idempotency-Key Recommended on POST /orders Unique order reference (e.g. myshop_order_10482). Prevents duplicate charges on retries.
Content-Type Yes on POST application/json
Security Rule: Never pass your API key in URL query parameters (e.g. ?api_key=...) โ€” requests with keys in the query string are rejected with HTTP 400. Always send keys via HTTP headers over HTTPS.

๐Ÿ“ก API Endpoints

GET /v1/account

Retrieve your reseller account status, wallet balance, 30-day spend, and rate limits.

{
  "ok": true,
  "account": {
    "id": "rsl_m8x9k2",
    "status": "approved",
    "handle": "@yourhandle",
    "balance": 42.50,
    "currency": "USD",
    "extraDiscountPercent": 0,
    "totalApiOrders": 18,
    "spend30d": 64.20,
    "rateLimitPerMinute": 60,
    "apiKeyMasked": "pp_live_a8f12c...9d04e1"
  }
}
GET /v1/balance

Fast check for your current available USD wallet balance.

{
  "ok": true,
  "balance": 42.50,
  "currency": "USD",
  "totalOrders": 18,
  "spend30d": 64.20
}
GET /v1/products

List all products enabled for your reseller account with live stock counts and your wholesale reseller price.

{
  "ok": true,
  "count": 2,
  "currency": "USD",
  "products": [
    {
      "id": "prod_mvzfpcnm",
      "name": "500$ API Claude 30D",
      "category": "๐Ÿค– AI & Chat",
      "description": "500$ API Claude - 30 days...",
      "price": 8.50,
      "retailPrice": 12.50,
      "currency": "USD",
      "stock": 4,
      "inStock": true,
      "deliveryType": "instant"
    }
  ]
}
GET /v1/products/:id

Fetch live stock and current wholesale price for a single product ID before placing an order.

POST /v1/orders

Place an automated order deducted from your USD wallet. Always include a unique Idempotency-Key header per customer order so network retries never double-charge.

// Request Body
{
  "productId": "prod_mvzfpcnm",
  "quantity": 1
}

// 200 OK โ€” Instant Delivery Response
{
  "ok": true,
  "order": {
    "orderCode": "ORRS-48291034",
    "productId": "prod_mvzfpcnm",
    "productName": "500$ API Claude 30D",
    "quantity": 1,
    "unitPrice": 8.50,
    "total": 8.50,
    "currency": "USD",
    "status": "completed",
    "items": ["YOUR_DELIVERED_KEY_OR_LINK"],
    "value": "YOUR_DELIVERED_KEY_OR_LINK",
    "idempotencyKey": "myshop_1001",
    "refunded": false,
    "createdAt": "2026-11-26T05:30:00.000Z",
    "completedAt": "2026-11-26T05:30:02.150Z"
  },
  "balanceAfter": 34.00
}
Auto-Refund & Async Delivery Guarantee: If an upstream product fails or runs out of stock during fulfillment, your wallet is refunded immediately ("refunded": true). For async products (HTTP 202, "status": "pending"), simply poll GET /v1/orders/:orderCode every 10โ€“15 seconds until "status": "completed".
GET /v1/orders & GET /v1/orders/:orderCode

List your order history (?limit=25&offset=0&status=completed) or fetch a single order by orderCode or your Idempotency-Key.

โšก Quick Start Examples

# 1. Check live reseller catalog & wholesale prices
curl -H "Authorization: Bearer pp_live_YOUR_KEY" \
  "https://api.propass.store/v1/products"

# 2. Place an order with Idempotency-Key
curl -X POST "https://api.propass.store/v1/orders" \
  -H "Authorization: Bearer pp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order_10001" \
  -d '{"productId":"prod_mvzfpcnm","quantity":1}'
const API_KEY = process.env.PROPASS_API_KEY;
const BASE = 'https://api.propass.store/v1';

// Place order (Node 18+ native fetch)
const res = await fetch(`${BASE}/orders`, {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${API_KEY}`,
    'Content-Type': 'application/json',
    'Idempotency-Key': `my_order_${Date.now()}`
  },
  body: JSON.stringify({ productId: 'prod_mvzfpcnm', quantity: 1 })
});
const data = await res.json();
if (data.ok && data.order.status === 'completed') {
  console.log('Delivered:', data.order.items);
}
import requests

API_KEY = "pp_live_YOUR_KEY"
HEADERS = {
    "Authorization": f"Bearer {API_KEY}",
    "Content-Type": "application/json",
    "Idempotency-Key": "my_order_10001"
}

r = requests.post(
    "https://api.propass.store/v1/orders",
    headers=HEADERS,
    json={"productId": "prod_mvzfpcnm", "quantity": 1},
    timeout=30
)
data = r.json()
print(data)
<?php
$ch = curl_init('https://api.propass.store/v1/orders');
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => [
    'Authorization: Bearer pp_live_YOUR_KEY',
    'Content-Type: application/json',
    'Idempotency-Key: my_order_10001'
  ],
  CURLOPT_POSTFIELDS => json_encode(['productId' => 'prod_mvzfpcnm', 'quantity' => 1])
]);
$response = json_decode(curl_exec($ch), true);
print_r($response);

โš ๏ธ Error Codes

HTTPError CodeMeaning
400invalid_product_id / invalid_quantity / key_in_query_forbiddenInvalid request payload or API key placed in URL query string.
401missing_api_key / invalid_api_keyMissing, invalid, or rotated API key.
402insufficient_balanceWallet balance is below order total. Top up via KHQR in @digi_propass_bot.
403reseller_not_activeAccount pending approval or suspended.
404product_not_found / order_not_foundProduct disabled/unknown or order not found.
409out_of_stockRequested quantity exceeds live stock (wallet automatically refunded if debited).
429rate_limit_exceededExceeded 60 requests/minute per key. Check Retry-After header.
502fulfillment_failedUpstream supplier error โ€” wallet is automatically refunded (refunded: true).