taler-docs

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

get-submit.rst (651B)


      1 .. http:get:: /submit
      2 
      3   Obtains a list of the orders that can be used.
      4 
      5   **Response:**
      6 
      7   :http:statuscode:`200 OK`:
      8     The server responds with a `ListSubmitOrders` object.
      9   :http:statuscode:`401 Unauthorized`:
     10     Invalid or missing credentials.
     11   :http:statuscode:`403 Forbidden`:
     12     Missing rights.
     13 
     14   **Details:**
     15 
     16   .. ts:def:: ListSubmitOrders
     17 
     18     interface ListSubmitOrders {
     19       orders: SubmitOrder[];
     20     }
     21 
     22   .. ts:def:: SubmitOrder
     23 
     24     interface SubmitOrder {
     25       // EBICS order id to uniquely identify this order
     26       id: string;
     27 
     28       // EBICS order description provided by the EBICS server
     29       description: string;
     30     }