novinzodevelopers
Your store's APIApps referenceReseller finance

List Reseller Statements

GET/admin/resellers/{membershipId}/statements

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.

Path Parameters

membershipId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/admin/resellers/string/statements"
[  {    "id": "string",    "membershipId": "string",    "periodStart": "string",    "periodEnd": "string",    "amountDueMinor": 0,    "amountPaidMinor": 0,    "currency": "AED",    "dueAt": "string",    "status": "open",    "issuedAt": "string",    "writtenOffAt": "string"  }]