aboutsummaryrefslogtreecommitdiff
path: root/src/android
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-30 16:12:28 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-30 16:12:28 +0530
commit3fa928b949aa2f915a592d50d714871773888717 (patch)
treef535318d07042bccfab66b0babaacc2bbc66cfa6 /src/android
parentaaf950e2ad5c07d4423f9822e3a0ae9f7b8d2bdf (diff)
allow refund via Android API
Diffstat (limited to 'src/android')
-rw-r--r--src/android/index.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/android/index.ts b/src/android/index.ts
index 6e43fe317..a42b55a2c 100644
--- a/src/android/index.ts
+++ b/src/android/index.ts
@@ -218,6 +218,10 @@ class AndroidWalletMessageHandler {
args.selectedExchange,
);
}
+ case "applyRefund": {
+ const wallet = await this.wp.promise;
+ return await wallet.applyRefund(args.talerRefundUri);
+ }
case "acceptExchangeTermsOfService": {
const wallet = await this.wp.promise;
return await wallet.acceptExchangeTermsOfService(