diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-09-03 15:37:44 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-09-03 15:37:44 +0200 |
commit | 8df41796f811da622416055e92b6ad5552cfb835 (patch) | |
tree | df1ebb20a81f9e259e4db268b94a596ccc869456 /core/api-bank-access.rst | |
parent | 898e01993f2401bd1737d791229ecbc35433428d (diff) | |
download | docs-8df41796f811da622416055e92b6ad5552cfb835.tar.gz docs-8df41796f811da622416055e92b6ad5552cfb835.tar.bz2 docs-8df41796f811da622416055e92b6ad5552cfb835.zip |
fix API spec for #7300
Diffstat (limited to 'core/api-bank-access.rst')
-rw-r--r-- | core/api-bank-access.rst | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/core/api-bank-access.rst b/core/api-bank-access.rst index 62c99fd4..06ee980a 100644 --- a/core/api-bank-access.rst +++ b/core/api-bank-access.rst @@ -52,7 +52,7 @@ Accounts and Withdrawals balance: string; // The account name _and_ the username of the // Sandbox customer that owns such a bank account. - accountLabel: string; + account_label: string; } The following endpoints require HTTP "Basic" authentication with the account @@ -216,13 +216,13 @@ Transactions interface BankAccountTransactionInfo { - creditorIban: string; - creditorBic: string; // Optional - creditorName: string; + creditor_iban: string; + creditor_bic: string; // Optional + creditor_name: string; - debtorIban: string; - debtorBic: string; - debtorName: string; + debtor_iban: string; + debtor_bic: string; + debtor_name: string; amount: number; currency: string; @@ -232,7 +232,7 @@ Transactions // $transaction_id from the URI. uid: string; direction: "DBIT" | "CRDT"; - date: string; // milliseconds since the Unix epoch + date: Timestamp; } @@ -248,7 +248,7 @@ Transactions // Address in the Payto format of the wire transfer receiver. // It needs at least the 'message' query string parameter. - paytoUri: string; + payto_uri: string; // Transaction amount (in the $currency:x.y format), optional. // However, when not given, its value must occupy the 'amount' @@ -293,7 +293,7 @@ Registration (Testing) // Name of the person who owns the account being made. name?: string; // Indicates whether the account is public or not. Defaults to false - isPublic?: boolean; + is_public?: boolean; } |