Contents

POST /management/aml-officers#

Update settings for an AML Officer status.

Request:

The request must be an AmlOfficerSetup message.

Response:

204 No content:

The officer settings have been updated successfully.

403 Forbidden:

The signature is invalid. Returned with an error code of TALER_EC_EXCHANGE_MANAGEMENT_UPDATE_AML_OFFICER_SIGNATURE_INVALID

409 Conflict:

The exchange has previously received a conflicting configuration message. Returned with an error code of TALER_EC_EXCHANGE_MANAGEMENT_AML_OFFICERS_MORE_RECENT_PRESENT

413 Request entity too large:

The uploaded body is to long, it exceeds the size limit. Returned with an error code of TALER_EC_GENERIC_UPLOAD_EXCEEDS_LIMIT.

500 Internal Server Error:

The server experienced an internal error. This response comes with a standard ErrorDetail response with a code of TALER_EC_GENERIC_DB_STORE_FAILED.

Details:

interface AmlOfficerSetup {

  // Public key of the AML officer
  officer_pub: EddsaPublicKey;

  // Legal full name of the AML officer
  officer_name: string;

  // Is the account active?
  is_active: boolean;

  // Is the account read-only?
  read_only: boolean;

  // Signature by the exchange master key over a
  // TALER_MasterAmlOfficerStatusPS.
  // Must have purpose TALER_SIGNATURE_MASTER_AML_KEY.
  master_sig: EddsaSignature;

  // When will the change take effect?
  change_date: Timestamp;

}