commit 76013b87e4879d12946d566f24af4c34ae7bc65b
parent 4f541207d82b1b5f16b097ba6edacd5887299783
Author: Marcello Stanisci <ms@taler.net>
Date: Fri, 8 May 2020 23:19:35 +0200
fix optional field notation
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/libeufin/api-nexus2.rst b/libeufin/api-nexus2.rst
@@ -96,7 +96,7 @@ Bank Account Management
uuid: string;
// Specify the bank transport to use for the submission.
- transport: string?;
+ transport?: string;
}
:status 404 Not Found: the unique identifier **or**
@@ -148,14 +148,15 @@ Bank Account Management
.. ts:def:: PreparedPaymentRequest
- interface PreparedPayment {
+ interface PreparedPaymentRequest {
// IBAN that will receive the payment.
iban: string;
// BIC hosting the IBAN.
bic: string;
// Legal subject that will receive the payment.
name: string;
-
+ // payment subject.
+ subject: string;
// amount, in the format CURRENCY:XX.YY
amount: string
}