Smvaults Logo
User Avatar
Sign In

API Documentation & Developer Integration

Home/API Document

DEVELOPER & RESELLER API INTEGRATION

Your Personal API Key
Guest
Please sign in to access and generate your personal API Key.Sign In
GET/api/v1/reseller/me

Check your account balance and currency for automation bots.

// Headers
X-API-KEY: YOUR_SECRET_API_KEY

// Response 200 OK
{
  "success": true,
  "message": "Reseller balance retrieved successfully",
  "data": {
    "username": "reseller_user",
    "email": "user@example.com",
    "balance": 50.00,
    "currency": "USD"
  }
}
GET/api/v1/reseller/products

Retrieve the live product catalog with real-time stock counts and prices.

// Headers
X-API-KEY: YOUR_SECRET_API_KEY

// Response 200 OK
{
  "success": true,
  "data": [
    {
      "productId": "cuid_product_123",
      "title": "Facebook Aged 2018-2022 USA + 2FA",
      "slug": "fb-aged-2018-2022-usa",
      "category": "Facebook Accounts",
      "priceUSD": 2.50,
      "priceNGN": 3875,
      "stock": 142,
      "format": "UID|PASS|2FA|MAIL|MAILPASS"
    }
  ]
}
POST/api/v1/reseller/buy

Instantly claim and purchase accounts. Delivers credential lines in response.

// Headers
Content-Type: application/json
X-API-KEY: YOUR_SECRET_API_KEY

// Request Body (JSON)
{
  "productId": "cuid_product_123",
  "quantity": 2,
  "couponCode": "WELCOME10" // optional promo code
}

// Response 200 OK
{
  "success": true,
  "message": "Accounts purchased and delivered successfully",
  "data": {
    "orderNumber": "ORD-882914",
    "productId": "cuid_product_123",
    "quantity": 2,
    "totalAmount": 4.50,
    "discountAmount": 0.50,
    "remainingBalance": 45.50,
    "currency": "USD",
    "accounts": [
      "100084729184719|Pass#8291|JBSWY3DPEHPK3PXP|user1@hotmail.com|MailPass#1",
      "100084729184720|Pass#8292|JBSWY3DPEHPK3PXP|user2@hotmail.com|MailPass#2"
    ]
  }
}
HomeOrdersProfile