Get Reseller Statement Document
/admin/statements/{statementId}/documentThe statement as a print-ready HTML document, the same one the reseller gets. Print it to PDF from a browser.
Path Parameters
^([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
text/html
application/json
application/json
application/json
curl -X GET "https://example.com/admin/statements/string/document""string"Get Reseller Ledger GET
The entries that moved the reseller's balance, newest first. amountMinor is positive for a credit and negative for a debit, and the balance is their sum. A purchase_hold is what a purchase cost, kept for good unless a purchase_release gives back what was not minted; action_charge is a paid support action; topup and bonus are payments in; topup_reversal takes one back after a refund in core. A sub-reseller's balance is with its upline, not the store. Each entry's amount is in its own `currency`, the store's when it was written: entries from before the store changed its currency keep the one they were written in, so never add amounts of different currencies.
Get Settings GET
The store's reseller settings. refundPolicy is what a reseller gets back for an unused key it revokes. defaultTerms are the terms an invite offers as it is sent: changing them changes no existing reseller's terms (SetResellerTerms). subResellerLevels is how many levels of sub-resellers may buy below the store's own resellers.
