Contents

POST /management/partners#

Enables a partner exchange for wad transfers.

Request:

The request must be an ExchangePartnerSetupRequest message.

Response:

204 No content:

The partner has been added successfully.

403 Forbidden:

The signature is invalid.

409 Conflict:

The exchange has previously received a conflicting configuration message.

Details:

interface ExchangePartnerSetupRequest {

  // Base URL of the partner exchange
  partner_base_url: string;

  // Master (offline) public key of the partner exchange.
  partner_pub: EddsaPublicKey;

  // How frequently will wad transfers be made
  wad_frequency: RelativeTime;

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

  // When will the partner relationship start (inclusive).
  start_date: Timestamp;

  // When will the partner relationship end (exclusive).
  end_date: Timestamp;

  // Wad fee to be charged (to customers).
  wad_fee: Amount;

}