summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-20 14:20:00 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-20 14:20:00 +0530
commit533c1f98f15b73a639a952b7df3f82e4e2d39d32 (patch)
tree97e4ba95c300ab628c0d36f412f922e5ca5bb727
parentd3db57b0e0fbdfce4909193d33887fdac567d567 (diff)
downloaddocs-533c1f98f15b73a639a952b7df3f82e4e2d39d32.tar.gz
docs-533c1f98f15b73a639a952b7df3f82e4e2d39d32.tar.bz2
docs-533c1f98f15b73a639a952b7df3f82e4e2d39d32.zip
wallet api
-rw-r--r--taler-wallet.rst31
1 files changed, 31 insertions, 0 deletions
diff --git a/taler-wallet.rst b/taler-wallet.rst
index 4ff37db..00d7fd7 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
=================