summaryrefslogtreecommitdiff
path: root/taler-wallet.rst
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-30 16:22:33 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-30 16:22:33 +0530
commitd71b4e497b93a3f06a4b346d37dabe1351b07b7b (patch)
treef02e06e8f1461a821325983e0df6a154b84713c2 /taler-wallet.rst
parentba934cc1ef9158bf0178f6d722bab2eb911583a5 (diff)
downloaddocs-d71b4e497b93a3f06a4b346d37dabe1351b07b7b.tar.gz
docs-d71b4e497b93a3f06a4b346d37dabe1351b07b7b.tar.bz2
docs-d71b4e497b93a3f06a4b346d37dabe1351b07b7b.zip
document applyRefund api for wallet-core
Diffstat (limited to 'taler-wallet.rst')
-rw-r--r--taler-wallet.rst20
1 files changed, 18 insertions, 2 deletions
diff --git a/taler-wallet.rst b/taler-wallet.rst
index 25e4c17b..c619d430 100644
--- a/taler-wallet.rst
+++ b/taler-wallet.rst
@@ -77,8 +77,24 @@ Android Wallet
APIs and Data Formats
=====================
-*TBD.*
-
+Refunds
+-------
+
+:name: ``"applyRefund"``
+:description: Process a refund from a ``taler://refund`` URI.
+:request:
+ .. ts:def:: WalletApplyRefundRequest
+
+ interface WalletApplyRefundRequest {
+ talerRefundUri: string;
+ }
+:response:
+ .. ts:def:: WalletApplyRefundResponse
+
+ interface WalletApplyRefundResponse {
+ // Identifier for the purchase that was refunded
+ contractTermsHash: string;
+ }
Integration Test Example