summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-04-23 17:48:26 +0200
committerChristian Grothoff <christian@grothoff.org>2023-04-23 17:48:26 +0200
commit31e5e0753daccc69fccb5ae0b353969f838e0b60 (patch)
treefe5457c2c84bcbc40a73d1c8847ac35ed9965297 /core
parent9f1626c7605b6b348135ca1e6bae80b28880e4c5 (diff)
downloaddocs-31e5e0753daccc69fccb5ae0b353969f838e0b60.tar.gz
docs-31e5e0753daccc69fccb5ae0b353969f838e0b60.tar.bz2
docs-31e5e0753daccc69fccb5ae0b353969f838e0b60.zip
gone
Diffstat (limited to 'core')
-rw-r--r--core/api-exchange.rst6
-rw-r--r--core/api-merchant.rst33
2 files changed, 36 insertions, 3 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index c1a3a5d3..11a53b16 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -571,8 +571,8 @@ possibly by using HTTPS.
.. ts:def:: AccountRestriction
type AccountRestriction =
- RegexAccountRestriction |
- DenyAllAccountRestriction
+ | RegexAccountRestriction
+ | DenyAllAccountRestriction
.. ts:def:: DenyAllAccountRestriction
@@ -2070,7 +2070,7 @@ Withdraw
.. ts:def:: WithdrawPrepareResponse
- type WithdrawPrepareResponse
+ type WithdrawPrepareResponse =
| ExchangeWithdrawValue;
.. ts:def:: ExchangeWithdrawValue
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 47e6148c..d53df4ff 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1223,11 +1223,44 @@ Inspecting instances
// Salt used to compute h_wire.
salt: HashCode;
+ // URL from where the merchant can download information
+ // about incoming wire transfers to this account.
+ credit_facade_url?: string;
+
+ // Credentials to use when accessing the credit facade.
+ credit_facade_credentials?: FacadeCredentials;
+
// true if this account is active,
// false if it is historic.
active: boolean;
}
+ .. ts:def:: FacadeCredentials
+
+ type FacadeCredentials =
+ | NoFacadeCredentials
+ | BasicAuthFacadeCredentials;
+
+ .. ts:def:: NoFacadeCredentials
+
+ interface NoFacadeCredentials {
+ type: "none";
+ };
+
+ .. ts:def:: BasicFacadeCredentials
+
+ interface BasicAuthFacadeCredentials {
+ type: "basic";
+
+ // Username to use to authenticate
+ username: string;
+
+ // Password to use to authenticate
+ password: string;
+ };
+
+
+
Deleting instances
------------------