Contents

POST /management/wire-fee#

This request is used to configure wire fees.

Request:

The request must be a WireFeeSetupMessage.

Response:

204 No content:

The wire fee was successfully configured.

403 Forbidden:

The master signature is invalid.

409 Conflict:

The exchange has a conflicting wire fee already set up.

Details:

interface WireFeeSetupMessage {

  // Wire method the fee applies to.
  wire_method: string;

  // Signature using the exchange's offline key
  // with purpose TALER_SIGNATURE_MASTER_WIRE_FEES.
  master_sig_wire: EddsaSignature;

  // When does the wire fee validity period start?
  fee_start: Timestamp;

  // When does the wire fee validity period end (exclusive).
  fee_end: Timestamp;

  // Closing fee to charge during that time period for this wire method.
  closing_fee: Amount;

  // Wire fee to charge during that time period for this wire method.
  wire_fee: Amount;

}