Reseller Level Coefficients API

Retrieve the scoring coefficients used to calculate reseller levels and performance metrics

Credit Score

Reseller Level Coefficients API

Access the coefficients that determine reseller level calculations. Understand how credit percentages, sales data, and activity metrics influence reseller scores.

Scoring Factors

All coefficient values.

Max Thresholds

Upper limits per metric.

Configurable

Adjustable scoring system.


Endpoint Overview

QUERY/graphql

Retrieve the complete set of coefficients used to calculate reseller scores and level progression.

Authentication:Bearer Token
Required scopes:admin

GraphQL Query

query getResellerLevelCoefficients {
  getResellerLevelCoefficients {
    monthCreditPercent
    monthCreditMax
    currentCreditPercent
    currentCreditMax
    activeSubscriptionPercent
    activeSubscriptionMax
    membershipDurationPercent
    membershipDurationMax
    depositIntervalManualDays
    depositIntervalMax
    totalSalePercent
    totalSaleMax
    monthSalePercent
    monthSaleMax
  }
}

HTTP Request:

curl -X POST https://api.orbnet.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -d '{
    "query": "query getResellerLevelCoefficients { getResellerLevelCoefficients { monthCreditPercent monthCreditMax currentCreditPercent currentCreditMax activeSubscriptionPercent activeSubscriptionMax membershipDurationPercent membershipDurationMax totalSalePercent totalSaleMax monthSalePercent monthSaleMax } }"
  }'

Response

200Coefficients Retrieved Successfully
{
  "data": {
    "getResellerLevelCoefficients": {
      "monthCreditPercent": 15,
      "monthCreditMax": 500,
      "currentCreditPercent": 10,
      "currentCreditMax": 300,
      "activeSubscriptionPercent": 20,
      "activeSubscriptionMax": 1000,
      "membershipDurationPercent": 10,
      "membershipDurationMax": 200,
      "depositIntervalManualDays": 30,
      "depositIntervalMax": 150,
      "totalSalePercent": 25,
      "totalSaleMax": 2000,
      "monthSalePercent": 20,
      "monthSaleMax": 800
    }
  }
}
401Unauthorized
{
  "errors": [
    {
      "message": "Admin authentication required",
      "path": ["getResellerLevelCoefficients"],
      "extensions": {
        "code": "UNAUTHORIZED"
      }
    }
  ],
  "data": null
}

Response Fields

monthCreditPercentInt!

Percentage weight for monthly credit purchases in score calculation.

monthCreditMaxInt!

Maximum score points from monthly credit activity.

currentCreditPercentInt!

Percentage weight for current credit balance.

currentCreditMaxInt!

Maximum score points from current credit balance.

activeSubscriptionPercentInt!

Percentage weight for active subscription count.

activeSubscriptionMaxInt!

Maximum score points from active subscriptions.

membershipDurationPercentInt!

Percentage weight for reseller membership duration.

membershipDurationMaxInt!

Maximum score points from membership tenure.

depositIntervalManualDaysInt!

Number of days between manual deposit intervals.

depositIntervalMaxInt!

Maximum score points from deposit consistency.

totalSalePercentInt!

Percentage weight for total lifetime sales.

totalSaleMaxInt!

Maximum score points from total sales volume.

monthSalePercentInt!

Percentage weight for current month sales.

monthSaleMaxInt!

Maximum score points from monthly sales.


Scoring Categories

Credit Activity

Points from credit purchases and balance.

Sales Performance

Points from monthly and total sales.

Subscription Count

Points from active user subscriptions.

Tenure & Consistency

Points from membership and deposit patterns.



Score Calculation

Reseller scores are calculated by multiplying each metric by its percentage weight, capped at the maximum value. The total score determines the reseller's tier level.

Customize Your Scoring System

Adjust coefficients to align reseller incentives with your business goals.

Update Coefficients