Resellers Credits API
Retrieve credit balances for all resellers in your network
Resellers Credits API
Access the complete list of resellers and their current credit balances. Monitor financial standing across your entire reseller network.
Credit Balances
View all reseller credits.
Network Overview
Complete reseller listing.
Financial Insight
Track credit distribution.
Endpoint Overview
/graphqlRetrieve the list of all resellers with their ID, email, and current credit balance.
GraphQL Query
query getResellersCredits {
getResellersCredits {
id
email
credit
}
}HTTP Request:
curl -X POST https://api.orbnet.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"query": "query getResellersCredits { getResellersCredits { id email credit } }"
}'Response
{
"data": {
"getResellersCredits": [
{
"id": "101",
"email": "reseller1@example.com",
"credit": 5000.00
},
{
"id": "102",
"email": "reseller2@example.com",
"credit": 2500.50
},
{
"id": "103",
"email": "reseller3@example.com",
"credit": 15750.25
},
{
"id": "104",
"email": "reseller4@example.com",
"credit": 0.00
}
]
}
}{
"errors": [
{
"message": "Admin authentication required",
"path": ["getResellersCredits"],
"extensions": {
"code": "UNAUTHORIZED"
}
}
],
"data": null
}Response Fields
idID!Unique identifier for the reseller.
emailString!Email address of the reseller account.
creditFloat!Current credit balance available for the reseller.
Use Cases
Financial Dashboard
Display credit standings for all resellers.
Low Balance Alerts
Identify resellers needing credit top-up.
Revenue Analysis
Track credit distribution trends.
Bulk Operations
Process credit adjustments at scale.
Related Endpoints
Credit Management
Credits are used by resellers to provision and renew user subscriptions. Monitor balances to ensure uninterrupted service for your reseller network.
Add Reseller Credit
Top up reseller balances to keep their operations running smoothly.