taler-docs

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

post-management-aml-officers.rst (1070B)


      1 .. http:post:: /management/aml-officers
      2 
      3   Update settings for an AML Officer status.
      4 
      5   **Request:**
      6 
      7   The request must be an `AmlOfficerSetup` message.
      8 
      9   **Response:**
     10 
     11   :http:statuscode:`204 No content`:
     12     The officer settings have been updated successfully.
     13   :http:statuscode:`403 Forbidden`:
     14     The signature is invalid.
     15   :http:statuscode:`409 Conflict`:
     16     The exchange has previously received a conflicting configuration message.
     17 
     18   **Details:**
     19 
     20   .. ts:def:: AmlOfficerSetup
     21 
     22     interface AmlOfficerSetup {
     23 
     24       // Public key of the AML officer
     25       officer_pub: EddsaPublicKey;
     26 
     27       // Legal full name of the AML officer
     28       officer_name: string;
     29 
     30       // Is the account active?
     31       is_active: boolean;
     32 
     33       // Is the account read-only?
     34       read_only: boolean;
     35 
     36       // Signature by the exchange master key over a
     37       // `TALER_MasterAmlOfficerStatusPS`.
     38       // Must have purpose ``TALER_SIGNATURE_MASTER_AML_KEY``.
     39       master_sig: EddsaSignature;
     40 
     41       // When will the change take effect?
     42       change_date: Timestamp;
     43 
     44     }