aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/headless/taler-wallet-cli.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/headless/taler-wallet-cli.ts b/src/headless/taler-wallet-cli.ts
index 5637732b3..3f116670d 100644
--- a/src/headless/taler-wallet-cli.ts
+++ b/src/headless/taler-wallet-cli.ts
@@ -521,6 +521,18 @@ advancedCli
});
advancedCli
+ .subcommand("payConfirm", "pay-confirm", {
+ help: "Confirm payment proposed by a merchant.",
+ })
+ .requiredArgument("proposalId", clk.STRING)
+ .maybeOption("sessionIdOverride", ["--session-id"], clk.STRING)
+ .action(async (args) => {
+ await withWallet(args, async (wallet) => {
+ wallet.confirmPay(args.payConfirm.proposalId, args.payConfirm.sessionIdOverride);
+ });
+ });
+
+advancedCli
.subcommand("refresh", "force-refresh", {
help: "Force a refresh on a coin.",
})