Get School Debtors
Retrieve debtor financial transactions
GET
https://integrate.d6plus.co.za/api/v1/finplus/debtmanagement/schooldebtors/{school_login_id}
Use this endpoint to fetch the school debtor accounts.
By default, only active debtors accounts (current learners or accounts with an outstanding balance) will be returned. You can use the all_accounts
query parameter to fetch all debtor accounts (includes left learners and 0 balance accounts).
To include learners data in the response use the include_learners
query parameter.
Optionally it is possible to filter on a specific debtor_code
or accountable_person_id
.
Path Parameters
school_login_id*
Integer
The login ID of the school to retrieve data from
Headers
HTTP-X-USERNAME*
String
As provided by d6
HTTP-X-PASSWORD*
String
As provided by d6
Query Parameters
all_accounts
Boolean
Whether to include all accounts
include_learners
Boolean
Whether to include the learner data in the response
debtor_code
Integer
To filter on a specific Debtor Code
accountable_person_id
Integer
To filter on a specific Accountable Person ID
Response Examples
Code Samples
Last updated