- POST /management/wire-fee#
This request is used to configure wire fees.
Request:
The request must be a WireFeeSetupRequest.
Response:
- 204 No content:
The wire fee was successfully configured.
- 403 Forbidden:
The master signature is invalid. Returned with an error code of
TALER_EC_EXCHANGE_MANAGEMENT_WIRE_FEE_SIGNATURE_INVALID.- 409 Conflict:
The exchange has a conflicting wire fee already set up. Returned with an errro code of
TALER_EC_EXCHANGE_MANAGEMENT_WIRE_FEE_MISMATCH.- 500 Internal Server Error:
The server experienced an internal error. This response comes with a standard ErrorDetail response. Possible error codes include
TALER_EC_GENERIC_DB_FETCH_FAILEDorTALER_EC_GENERIC_DB_STORE_FAILED.
Details:
interface WireFeeSetupRequest { // 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: 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; }