taler-docs

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

retry-transaction.rst (880B)


      1 .. ts:op:: retryTransaction
      2 
      3   Immediately retry the transaction's underlying operation by
      4   resetting the retry timer of its background task.
      5 
      6   **Request:**
      7 
      8     The request ``args`` must be a `RetryTransactionRequest` object.
      9 
     10   **Response:**
     11 
     12     On success, the result is an empty object.
     13 
     14   **Side effects:**
     15 
     16     Immediately retries processing of the transaction; network
     17     activity is possible.
     18 
     19   **Expected errors:**
     20 
     21     The caller can handle the following errors inline:
     22     ``WALLET_TRANSACTION_NOT_FOUND``,
     23     ``WALLET_REQUEST_TRANSACTION_STATE_UNSUPPORTED``.
     24 
     25   **Details:**
     26 
     27     Retrying is only possible in states that advertise the ``retry``
     28     action (in ``txActions``); the request does not wait for the
     29     retried operation to complete.
     30 
     31 .. ts:def:: RetryTransactionRequest
     32 
     33   interface RetryTransactionRequest {
     34     transactionId: TransactionIdStr;
     35   }