commit 09912fe3ca87f8d87a86def7391e8814fc12720f parent 1fa36edead29fac19da70a0721d3d0b5a055753e Author: Antoine A <> Date: Tue, 11 Jun 2024 09:44:11 +0200 Update corebank api Diffstat:
| M | core/api-corebank.rst | | | 13 | ++++++++++--- |
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/core/api-corebank.rst b/core/api-corebank.rst @@ -734,7 +734,6 @@ Account withdrawals .. ts:def:: BankAccountCreateWithdrawalRequest interface BankAccountCreateWithdrawalRequest { - // Amount to withdraw. If given, the wallet // cannot change the amount. // Optional since **vC2EC**. @@ -825,8 +824,16 @@ Account withdrawals status: "pending" | "selected" | "aborted" | "confirmed"; // Amount that will be withdrawn with this operation - // (raw amount without fee considerations). - amount: Amount; + // (raw amount without fee considerations). Only + // given once the amount is fixed and cannot be changed. + // Optional since **vC2EC**. + amount?: Amount; + + // Suggestion for the amount to be withdrawn with this + // operation. Given if a suggestion was made but the + // user may still change the amount. + // Optional since **vC2EC**. + suggested_amount?: Amount; // Account username username: string;