[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: added supportedCurrencies in CheckPa
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: added supportedCurrencies in CheckPayTemplateReponse |
Date: |
Tue, 21 May 2024 19:15:30 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new e787cda2 added supportedCurrencies in CheckPayTemplateReponse
e787cda2 is described below
commit e787cda20315b1ed4a82f83d04824b5836d5ac72
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue May 21 14:15:24 2024 -0300
added supportedCurrencies in CheckPayTemplateReponse
---
wallet/wallet-core.md | 58 ++++++++++++++++++++++++++++++---------------------
1 file changed, 34 insertions(+), 24 deletions(-)
diff --git a/wallet/wallet-core.md b/wallet/wallet-core.md
index 56388f82..affec99d 100644
--- a/wallet/wallet-core.md
+++ b/wallet/wallet-core.md
@@ -758,28 +758,12 @@ export type GetWithdrawalDetailsForUriOp = {
```typescript
export interface GetWithdrawalDetailsForUriRequest {
talerWithdrawUri: string;
+ /**
+ * @deprecated not used
+ */
restrictAge?: number;
}
-```
-```typescript
-export interface WithdrawUriInfoResponse {
- operationId: string;
- status: WithdrawalOperationStatus;
- confirmTransferUrl?: string;
- amount: AmountString;
- defaultExchangeBaseUrl?: string;
- possibleExchanges: ExchangeListItem[];
-}
-
-```
-```typescript
-export type WithdrawalOperationStatus =
- | "pending"
- | "selected"
- | "aborted"
- | "confirmed";
-
```
### PrepareBankIntegratedWithdrawalOp
@@ -798,15 +782,14 @@ export type PrepareBankIntegratedWithdrawalOp = {
```typescript
export interface PrepareBankIntegratedWithdrawalRequest {
talerWithdrawUri: string;
- exchangeBaseUrl: string;
- forcedDenomSel?: ForcedDenomSel;
- restrictAge?: number;
+ selectedExchange?: string;
}
```
```typescript
export interface PrepareBankIntegratedWithdrawalResponse {
- transactionId: string;
+ transactionId?: string;
+ info: WithdrawUriInfoResponse;
}
```
@@ -827,6 +810,10 @@ export type ConfirmWithdrawalOp = {
```typescript
export interface ConfirmWithdrawalRequest {
transactionId: string;
+ exchangeBaseUrl: string;
+ amount: AmountString;
+ forcedDenomSel?: ForcedDenomSel;
+ restrictAge?: number;
}
```
@@ -960,7 +947,7 @@ export interface SharePaymentResult {
export type CheckPayForTemplateOp = {
op: WalletApiOperation.CheckPayForTemplate;
request: CheckPayTemplateRequest;
- response: TalerMerchantApi.WalletTemplateDetails;
+ response: CheckPayTemplateReponse;
};
// CheckPayForTemplate = "checkPayForTemplate"
@@ -970,6 +957,12 @@ export interface CheckPayTemplateRequest {
talerPayTemplateUri: string;
}
+```
+```typescript
+export type CheckPayTemplateReponse = TalerMerchantApi.WalletTemplateDetails &
{
+ supportedCurrencies: string[];
+};
+
```
```typescript
export interface WalletTemplateDetails {
@@ -4027,6 +4020,23 @@ export interface AbortTransactionRequest {
}
```
```typescript
+export interface WithdrawUriInfoResponse {
+ operationId: string;
+ status: WithdrawalOperationStatus;
+ confirmTransferUrl?: string;
+ amount: AmountString;
+ defaultExchangeBaseUrl?: string;
+ possibleExchanges: ExchangeListItem[];
+}
+```
+```typescript
+export type WithdrawalOperationStatus =
+ | "pending"
+ | "selected"
+ | "aborted"
+ | "confirmed";
+```
+```typescript
/**
* Info about an exchange entry in the wallet.
*/
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: added supportedCurrencies in CheckPayTemplateReponse,
gnunet <=