summaryrefslogtreecommitdiff
path: root/core/api-bank-access.rst
diff options
context:
space:
mode:
Diffstat (limited to 'core/api-bank-access.rst')
-rw-r--r--core/api-bank-access.rst20
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;
}