commit 5aef2def3eb1ea4069d93150388793d8db8022b1
parent 787bbe5b9a37db24d34994bad346e314016d5f19
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Thu, 23 Oct 2025 10:28:26 +0200
API changes for #9148
Diffstat:
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -217,7 +217,7 @@ such as the implemented version of the protocol and the currency used.
currencies: { currency : CurrencySpecification};
// Array of exchanges trusted by the merchant.
- // Since protocol **v6**.
+ // @since **v6**.
exchanges: ExchangeConfigInfo[];
// Set when the merchant supports
@@ -229,20 +229,20 @@ such as the implemented version of the protocol and the currency used.
// extension and can thus issue donation receipts.
// Should primarily be used to control the SPA's CRUD
// functionality for Donau.
- // Since protocol **v21**
+ // @since **v21**
have_donau: boolean;
// Tan channels that are required
// to be confirmed for an instance to
// be useable.
- // Since protocol **v21**
+ // @since **v21**
mandatory_tan_channels?: TanChannel[];
// Space-separated list of enabled payment target types.
// Useful if the SPA should not show allow adding other
// types of bank accounts. "*" is used to represent no
// restriction.
- // Since protocol **v22**
+ // @since **v22**
payment_target_types: string;
// Regular expression representing further restrictions
@@ -252,9 +252,27 @@ such as the implemented version of the protocol and the currency used.
// to only Swiss bank accounts.
// Optional, no restrictions are imposed if the field is
// absent.
- // Since protocol **v22**
+ // @since **v22**
payment_target_regex? string;
+ // Default wire transfer delay for new instances.
+ // This is the default to use for new instances, see the instance value for
+ // the instance-specific default.
+ // @since **v22**
+ default_wire_transfer_delay: RelativeTime;
+
+ // Default payment delay for new instances.
+ // This is the default to use for new instances, see the instance value for
+ // the instance-specific default.
+ // @since **v22**
+ default_pay_delay: RelativeTime;
+
+ // If the frontend does NOT specify a refund deadline, how long should
+ // refunds be allowed by default?
+ // This is the default to use for new instances, see the instance value for
+ // the instance-specific default.
+ // @since **v22**
+ default_refund_delay: RelativeTime;
}
enum TanChannel {
@@ -1463,6 +1481,11 @@ Setting up instances
// offers we make be valid by default?
default_pay_delay: RelativeTime;
+ // If the frontend does NOT specify a refund deadline, how long should
+ // refunds be allowed by default?
+ // @since **v22**
+ default_refund_delay: RelativeTime;
+
}
.. http:post:: /management/instances/$INSTANCE/auth