Retrieve Ledger Accounts
GET
https://api.mpay.com.au/ledger/v1/allAccounts
includeClosedstring<p><strong>Optional</strong>. Whether to include closed ledger accounts in the response. Defaults to false.</p>
acceptstringGenerated from available response content types
200Successful response.
400<p>Bad Request - the request was malformed or contained invalid parameters.</p>
401<p>Unauthorized - authentication failed, or the API key was missing or invalid.</p>
500<p>Internal Server Error - an unexpected error occurred while processing the request.</p>
curl --request GET \
--url 'https://api.mpay.com.au/ledger/v1/allAccounts?includeClosed=false' \
--header 'accept: application/json'