List Overdue
/admin/finance/overdueThe overdue statements of the store's own resellers; sub-resellers owe their uplines, not the store, and are left out. daysOverdue counts from the due date. A reseller cannot buy only once a statement is overdue by more than its terms' graceDays (GetReseller).
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/admin/finance/overdue"[ { "membership": { "id": "string", "account": { "id": "string", "displayName": "string" }, "upline": { "membershipId": "string", "displayName": "string" }, "depth": 1, "subResellerCount": -9007199254740991, "status": "active", "suspendedReason": "seller", "tierId": "string", "terms": { "creditLimitMinor": 0, "paymentTermsDays": 0, "billingPeriod": "weekly", "graceDays": 0, "autoSuspendAfterDays": 1 }, "balance": { "balanceMinor": -9007199254740991, "creditLimitMinor": 0, "availableMinor": -9007199254740991, "overdue": true, "purchasesBlocked": true }, "createdAt": "string", "suspendedAt": "string" }, "statement": { "id": "string", "membershipId": "string", "periodStart": "string", "periodEnd": "string", "amountDueMinor": 0, "amountPaidMinor": 0, "currency": "AED", "dueAt": "string", "status": "open", "issuedAt": "string", "writtenOffAt": "string" }, "daysOverdue": -9007199254740991 }]List Credit Variants GET
Previous Page
List Reseller Statements GET
The reseller's statements. A statement's amountDueMinor is the debt new in its period, not the balance: statements do not add up to what the reseller owes. A payment pays the oldest unpaid statement whose period ended before it, so one made during a period pays none of that period's statement. overdue is unpaid past dueAt; purchases are blocked only once one is overdue by more than the terms' graceDays.
