taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

get-donau.rst (533B)


      1 .. ts:op:: getDonau
      2   :read-only:
      3 
      4   Get the currently configured donation authority for this wallet.
      5 
      6   **Request:**
      7 
      8   This operation takes no arguments (an empty object).
      9 
     10   **Response:**
     11 
     12   On success, the result is a `GetDonauResponse` object.  The
     13   ``currentDonauInfo`` field is undefined if no donation authority
     14   has been configured.
     15 
     16 .. ts:def:: GetDonauResponse
     17 
     18   interface GetDonauResponse {
     19     currentDonauInfo:
     20       | {
     21           donauBaseUrl: string;
     22           taxPayerId: string;
     23         }
     24       | undefined;
     25   }