commit 7feba2db0349be12482658df77773efc85f40915
parent e3eb9659f541202b05092206e3a23c0aa247dfe9
Author: Antoine A <>
Date: Thu, 14 Mar 2024 02:04:46 +0100
update corebank API
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/core/api-corebank.rst b/core/api-corebank.rst
@@ -626,6 +626,12 @@ Transactions
// query string parameter of the 'payto' field. In case it
// is given in both places, the payto_uri's takes the precedence.
amount: string;
+
+ // Nonce to make the request idempotent. Requests with the same
+ // ``request_uid`` that differ in any of the other fields
+ // are rejected.
+ // @since v4, will become mandatory in the next version.
+ request_uid?: ShortHashCode;
}
**Response:**
@@ -644,6 +650,7 @@ Transactions
* ``TALER_EC_BANK_SAME_ACCOUNT`` : creditor account is the same than ``USERNAME``.
* ``TALER_EC_BANK_UNKNOWN_CREDITOR`` : creditor account was not found.
* ``TALER_EC_BANK_UNALLOWED_DEBIT`` : the account does not have sufficient funds.
+ * ``TALER_EC_BANK_TRANSFER_REQUEST_UID_REUSED``: an operation with the same ``request_uid`` but different details has been submitted before.
**Details:**