From 533c1f98f15b73a639a952b7df3f82e4e2d39d32 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 20 Jul 2020 14:20:00 +0530 Subject: wallet api --- taler-wallet.rst | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/taler-wallet.rst b/taler-wallet.rst index 4ff37dbb..00d7fd78 100644 --- a/taler-wallet.rst +++ b/taler-wallet.rst @@ -615,6 +615,37 @@ Withdrawal: Get Manual Withdrawal Info paytoUris: string[]; } +Payments: Prepare Pay +--------------------- + +:Name: ``"preparePay"`` +:Description: + Fetch information about a payment request from a merchant. + +Payments: Confirm Payment +------------------------- + +:Name: ``"confirmPay"`` +:Description: + Confirm making a payment. +:CLI: + ``taler-wallet-cli advanced pay-confirm $proposalId [ --session-id=$sessionId ]`` +:Request: + .. ts:def:: GetManualWithdrawalDetailsRequest + + interface ConfirmPayRequest { + proposalId: string; + sessionIdOverride?: string; + } +:Response: + .. ts:def:: ConfirmPayResult + + interface ConfirmPayResult { + // Fulfillment URL augmented with order ID + // or a special taler://fulfillment-success URL + nextUrl: string; + } + Integration Tests ================= -- cgit v1.2.3