summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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