- GET /charities#
GET all charities. Only allowed if the request comes with the administration bearer token.
return all charities
Request:
Reponse:
Details:
interface Charities{ charities: CharitySummary[]; }
interface CharitySummary { // Unique ID of the charity within the Donau. charity_id: Integer; // Public key of the charity, used by the charity to // authorize issuing donation receipts. charity_pub: EddsaPublicKey; // Human-readable name of the charity. charity_name: string; // Maximum amount of donation receipts this charity is // allowed to issue per year. max_per_year: Amount; // Year for which receipts_to_date is given. current_year: Integer; // Total amount of donation receipts the donau has // issued for this charity so far this year. receipts_to_date: Amount; }