taler-docs

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

withdraw-testkudos.rst (808B)


      1 .. ts:op:: withdrawTestkudos
      2 
      3   Make a withdrawal of ``TESTKUDOS:10`` from the test deployment at
      4   test.taler.net (exchange ``https://exchange.test.taler.net/`` via the
      5   corebank API at ``https://bank.test.taler.net/``).
      6 
      7   **Request:**
      8 
      9     This operation takes no arguments (an empty object).
     10 
     11   **Response:**
     12 
     13     On success, the result is a `WithdrawTestBalanceResult` object.
     14 
     15   **Side effects:**
     16 
     17     Performs a real withdrawal at the test deployment over the network
     18     and creates a withdrawal transaction in the wallet.
     19 
     20 .. ts:def:: WithdrawTestBalanceResult
     21 
     22   interface WithdrawTestBalanceResult {
     23     // Transaction ID of the newly created withdrawal transaction.
     24     transactionId: TransactionIdStr;
     25 
     26     // Account of the user registered for the withdrawal.
     27     accountPaytoUri: string;
     28   }