Total Resellers Credit API
Retrieve the total sum of credit across all reseller accounts
Total Resellers Credit API
Get the aggregate sum of credit balances across all reseller accounts. Monitor the total credit distribution in your reseller network.
Aggregate Total
Sum of all credits.
Financial Insight
Network credit health.
Quick Metric
Single value response.
Endpoint Overview
/graphqlRetrieve the total sum of credit available across all reseller accounts in the system.
GraphQL Query
query totalResellersCredit {
totalResellersCredit
}HTTP Request:
curl -X POST https://api.orbnet.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"query": "query totalResellersCredit { totalResellersCredit }"
}'Response
{
"data": {
"totalResellersCredit": 125750.50
}
}{
"errors": [
{
"message": "Admin authentication required",
"path": ["totalResellersCredit"],
"extensions": {
"code": "UNAUTHORIZED"
}
}
],
"data": null
}Response Fields
totalResellersCreditFloat!The sum of all credit balances across all reseller accounts.
Use Cases
Dashboard Widget
Display total network credit.
Financial Reports
Include in business analytics.
Liability Tracking
Monitor outstanding credits.
Trend Analysis
Track credit changes over time.
Related Endpoints
Credit Liability
Total reseller credit represents the sum of prepaid credits in your system. This is a key financial metric for understanding your credit liability to resellers.
View Credit Distribution
See how credits are distributed across individual resellers.