From 7a2fe8018faa4666ff681072682f16f8fb1bfc13 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 4 May 2022 16:25:53 -0300 Subject: add age restriction option to withdraw cta --- packages/taler-wallet-webextension/src/wxApi.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/taler-wallet-webextension/src/wxApi.ts') diff --git a/packages/taler-wallet-webextension/src/wxApi.ts b/packages/taler-wallet-webextension/src/wxApi.ts index b48826645..dd4eb2cf4 100644 --- a/packages/taler-wallet-webextension/src/wxApi.ts +++ b/packages/taler-wallet-webextension/src/wxApi.ts @@ -324,10 +324,12 @@ export function preparePay(talerPayUri: string): Promise { export function acceptWithdrawal( talerWithdrawUri: string, selectedExchange: string, + restrictAge?: number, ): Promise { return callBackend("acceptBankIntegratedWithdrawal", { talerWithdrawUri, exchangeBaseUrl: selectedExchange, + restrictAge }); } @@ -340,10 +342,12 @@ export function acceptWithdrawal( export function acceptManualWithdrawal( exchangeBaseUrl: string, amount: string, + restrictAge?: number, ): Promise { return callBackend("acceptManualWithdrawal", { amount, exchangeBaseUrl, + restrictAge }); } -- cgit v1.2.3