taler-docs

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

delete-private-transfers-TID.rst (938B)


      1 .. http:delete:: [/instances/$INSTANCE]/private/transfers/$TID
      2 
      3    Here, the TID is the 'transfer_serial_id' of the transfer
      4    to delete.
      5 
      6   **Required permission:** ``transfers-write``
      7 
      8   **Response:**
      9 
     10   :http:statuscode:`204 No content`:
     11     The transfer was deleted.
     12   :http:statuscode:`400 Bad Request`:
     13     The ``$TID`` parameter is malformed.
     14     Returned with ``TALER_EC_GENERIC_PARAMETER_MALFORMED``.
     15   :http:statuscode:`401 Unauthorized`:
     16     The request is unauthorized.
     17   :http:statuscode:`404 Not found`:
     18     The transfer was already unknown.
     19     Returned with ``TALER_EC_MERCHANT_GENERIC_TRANSFER_UNKNOWN``.
     20   :http:statuscode:`409 Conflict`:
     21     The transfer cannot be deleted anymore.
     22     Returned with ``TALER_EC_MERCHANT_PRIVATE_DELETE_TRANSFERS_ALREADY_CONFIRMED``.
     23   :http:statuscode:`500 Internal Server Error`:
     24     The server experienced an internal failure.
     25     Returned with ``TALER_EC_GENERIC_DB_STORE_FAILED``.